UniFi Network MCP
UniFi Network MCP is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Manage UniFi Network devices, clients, firewall, VLANs, VPNs, and more via MCP. It has 1,076 GitHub stars, is released under the MIT license and runs locally with uvx unifi-network-mcp.
github.com/sirkirby/unifi-mcp (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install UniFi Network MCP
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"unifi-network-mcp": {
"command": "uvx",
"args": [
"unifi-network-mcp"
],
"env": {
"UNIFI_HOST": "your-value",
"UNIFI_USERNAME": "your-value",
"UNIFI_PASSWORD": "your-value",
"UNIFI_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env UNIFI_HOST=your-value --env UNIFI_USERNAME=your-value --env UNIFI_PASSWORD=your-value --env UNIFI_API_KEY=your-value --transport stdio unifi-network-mcp -- uvx unifi-network-mcpCursor
{
"mcpServers": {
"unifi-network-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"unifi-network-mcp"
],
"env": {
"UNIFI_HOST": "your-value",
"UNIFI_USERNAME": "your-value",
"UNIFI_PASSWORD": "your-value",
"UNIFI_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "unifi_username",
"description": "UNIFI_USERNAME",
"password": true
},
{
"type": "promptString",
"id": "unifi_password",
"description": "UNIFI_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "unifi_api_key",
"description": "UNIFI_API_KEY",
"password": true
}
],
"servers": {
"unifi-network-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"unifi-network-mcp"
],
"env": {
"UNIFI_HOST": "your-value",
"UNIFI_USERNAME": "${input:unifi_username}",
"UNIFI_PASSWORD": "${input:unifi_password}",
"UNIFI_API_KEY": "${input:unifi_api_key}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
UNIFI_HOST | Yes | Controller IP/hostname |
UNIFI_USERNAMEsecret | Yes | Admin username |
UNIFI_PASSWORDsecret | Yes | Admin password |
UNIFI_API_KEYsecret | No | API key (optional, experimental) |
UNIFI_PORT | No | Controller HTTPS port |
UNIFI_VERIFY_SSL | No | SSL certificate verification |
UNIFI_SITE | No | UniFi site name |
About UniFi Network MCP
MCP server exposing 210 UniFi Network Controller tools for AI assistants and other MCP-capable clients. Query clients, devices, firewall rules, VLANs, VPNs, Traffic Flows, stats, and more with safe-by-default permissions and preview-before-confirm for all mutations.
- mcp-server
- unifi
- home-automation
- unifi-network
- unifi-access
- unifi-controller
- unifi-protect
- agentic-ai
Similar MCP servers
More other MCP servers
Reddit MCP Buddy
karanb192/reddit-mcp-buddy
Search, browse, and analyze Reddit; optional posting.
Active · last commit Nov 14, 2026
OtherTypeScriptTryPost
trypostit/trypost
Run social media with agents. Connect over MCP to plan, write, and post to every network.
Active · last commit Nov 14, 2026
OfficialOtherPHPScaleway MCP server
scaleway/scaleway-cli
Scaleway MCP server for interacting with the Scaleway APIs.
Active · last commit Nov 13, 2026
OfficialOtherGoHyper MCP
hyper-mcp-rs/hyper-mcp
📦️ A fast, secure MCP server that extends its capabilities through WebAssembly plugins.
Maintained · last commit Jul 7, 2026
OtherRustUnreal Engine MCP
ChiR24/Unreal_mcp
EngineWire: drive the Unreal Editor (UE 5.0-5.8): levels, Blueprints, UI, materials, VFX and more.
Active · last commit Nov 10, 2026
OtherC++Glean
LeslieLeung/glean
A self-hosted RSS reader and personal knowledge management tool.
Active · last commit Nov 16, 2026
OtherPython
How do I install the UniFi Network MCP MCP server?
Add the command uvx unifi-network-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is UniFi Network MCP free?
The server is open source under the MIT license, so running it is free. It needs credentials (UNIFI_USERNAME, UNIFI_PASSWORD and UNIFI_API_KEY) for the service it connects to, which may require a paid account.
Is UniFi Network MCP actively maintained?
The most recent commit was on Nov 15, 2026. The latest release is api/v0.29.0, published Nov 15, 2026. appsgit only lists MCP servers with a commit in the last six months.