SkillsLLM
CategoriesBlogAI NewsAbout
HomeMCP Serversunifi-mcp

unifi-mcp

by sirkirby

Pending

MCP server implementation for the UniFi network application

198stars
41forks
Python
Added 3/17/2026
View on GitHubDownload ZIP
MCP Servershome-automationmcp-serverunifiunifi-network
Installation
# Add to your Claude Code skills
git clone https://github.com/sirkirby/unifi-mcp
README.md

UniFi MCP

MCP servers that expose UniFi controller functionality as structured tools for LLMs, agents, and automation platforms.

PyPI License: MIT Python 3.13+

Servers

| Server | Status | Tools | Package | |--------|--------|-------|---------| | Network | Stable | 91 | unifi-network-mcp | | Protect | Coming Soon | — | — | | Access | Planned | — | — |

What is this?

UniFi MCP is a collection of Model Context Protocol servers that let AI assistants and automation tools interact with Ubiquiti UniFi controllers. Each server targets a specific UniFi application (Network, Protect, Access) and exposes its functionality as MCP tools — queryable, composable, and safe by default.

Quick Start

The fastest way to run the Network server:

# Using uvx (recommended)
uvx unifi-network-mcp

# Using Docker
docker run -i --rm \
  -e UNIFI_HOST=192.168.1.1 \
  -e UNIFI_USERNAME=admin \
  -e UNIFI_PASSWORD=secret \
  ghcr.io/sirkirby/unifi-network-mcp:latest

For Claude Desktop, add to your claude_desktop_config.json:

{
  "mcpServers": {
    "unifi": {
      "command": "uvx",
      "args": ["unifi-network-mcp"],
      "env": {
        "UNIFI_HOST": "192.168.1.1",
        "UNIFI_USERNAME": "admin",
        "UNIFI_PASSWORD": "your-password"
      }
    }
  }
}

Configuration

Set these environment variables (or use a .env file):

| Variable | Required | Description | |----------|----------|-------------| | UNIFI_HOST | Yes | Controller IP or hostname | | UNIFI_USERNAME | Yes | Local admin username | | UNIFI_PASSWORD | Yes | Admin password | | UNIFI_API_KEY | No | Official UniFi API key (dual auth) |

For the full configuration reference including permissions, transports, and advanced options, see the Network server docs.

Architecture

This is a monorepo with shared packages:

apps/
  network/          # UniFi Network MCP server (stable, 91 tools)
packages/
  unifi-core/       # Shared UniFi connectivity (auth, detection, retry)
  unifi-mcp-shared/ # Shared MCP patterns (permissions, confirmation, lazy loading)
docs/               # Ecosystem-level documentation

Each server in apps/ is an independent Python package that depends on the shared packages. The shared packages ensure consistent behavior across all servers — same permission model, same confirmation flow, same lazy tool loading.

See docs/ARCHITECTURE.md for details.

Roadmap

Protect and Access servers are planned for future phases. See the ecosystem design spec for the full roadmap.

Contrib...

Comments (0)
to leave a comment.

No comments yet. Be the first to share your thoughts!

Related Skills

n8n

by n8n-io

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
179,495
55,855
TypeScript
MCP Serversaiapis
View details
gemini-cli

by google-gemini

An open-source AI agent that brings the power of Gemini directly into your terminal.
98,015
12,330
TypeScript
AI Agentsaiai-agents
View details
context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
49,341
2,329
TypeScript
MCP Serversllmmcp
View details
TrendRadar

by sansan0

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
49,108
22,670
Python
MCP Serversaibark
View details
Scrapling

by D4Vinci

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
30,370
2,352
Python
MCP Serversaiai-scraping
View details
chrome-devtools-mcp

by ChromeDevTools

Chrome DevTools for coding agents
29,554
1,749
TypeScript
AI Agentsbrowserchrome
View details