Unifi MCP Server
by us-allio.github.us-all/unifiv1.13.3
UniFi semantic-analysis MCP — fleet health, anomaly detection, cross-site analytics
context tax
queued
security
queued
cold start
queued
freshness
Slowing3mo ago
Install Unifi MCP server
Install in Claude Code
claude mcp add unifi-us-all -e UNIFI_API_KEY='<unifi-api-key>' -e UNIFI_API_KEY_OWNER='<unifi-api-key-owner>' -e UNIFI_LOCAL_PASS='<unifi-local-pass>' -- npx -y @us-all/unifi-mcpInstall in Cursor
{
"mcpServers": {
"unifi-us-all": {
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp"
],
"env": {
"UNIFI_API_KEY": "<unifi-api-key>",
"UNIFI_API_KEY_OWNER": "<unifi-api-key-owner>",
"UNIFI_LOCAL_PASS": "<unifi-local-pass>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"unifi-us-all": {
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp"
],
"env": {
"UNIFI_API_KEY": "<unifi-api-key>",
"UNIFI_API_KEY_OWNER": "<unifi-api-key-owner>",
"UNIFI_LOCAL_PASS": "<unifi-local-pass>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"unifi-us-all": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp"
],
"env": {
"UNIFI_API_KEY": "<unifi-api-key>",
"UNIFI_API_KEY_OWNER": "<unifi-api-key-owner>",
"UNIFI_LOCAL_PASS": "<unifi-local-pass>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"unifi-us-all": {
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp"
],
"env": {
"UNIFI_API_KEY": "<unifi-api-key>",
"UNIFI_API_KEY_OWNER": "<unifi-api-key-owner>",
"UNIFI_LOCAL_PASS": "<unifi-local-pass>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| UNIFI_API_KEY | yes | yes | UniFi Site Manager API key (https://unifi.ui.com). |
| UNIFI_API_URL | — | — | UniFi Site Manager API base URL (default: https://api.ui.com). |
| UNIFI_API_KEY_OWNER | — | yes | Owner-role API key — enables 33 Cloud Connector tools for per-device/per-client deep data. |
| UNIFI_TOOLS | — | — | Comma-separated category allowlist. Default: all categories enabled. |
| UNIFI_DISABLE | — | — | Comma-separated category disablelist. |
| UNIFI_LOCAL_URL | — | — | Local controller URL (e.g. https://10.10.1.1). Enables 2 local-only tools (get-port-errors, list-port-flap-summary) that surface per-port errors + SFP DDM the Cloud API does not expose. Requires LAN reachability. |
| UNIFI_LOCAL_USER | — | — | Controller local account username (required when UNIFI_LOCAL_URL set). Viewer/Limited-Admin role is sufficient. |
| UNIFI_LOCAL_PASS | — | yes | Controller local account password (required when UNIFI_LOCAL_URL set). |
| UNIFI_LOCAL_SITE | — | — | Site slug for legacy /api/s/{site}/* (default: default). |
| UNIFI_LOCAL_INSECURE | — | — | Set to 'true' to accept self-signed cert from the local controller (typical for UDM Pro). |
Freshness
Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-10 · 3mo ago · GitHub
Latest release
2026-06-19 · 4mo ago · GitHub · v1.13.3
Package published
no data · npm/PyPI
Registry entry updated
2026-06-19 · 4mo ago · official registry · v1.13.3
FAQ
›How do I install the Unifi MCP server in Claude Code?
Run: claude mcp add unifi-us-all -e UNIFI_API_KEY='<unifi-api-key>' -e UNIFI_API_KEY_OWNER='<unifi-api-key-owner>' -e UNIFI_LOCAL_PASS='<unifi-local-pass>' -- npx -y @us-all/unifi-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Unifi require an API key?
Yes. It expects UNIFI_API_KEY, UNIFI_API_KEY_OWNER, UNIFI_LOCAL_PASS, of which 3 are secrets.
›Can I use Unifi as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Unifi in the official MCP registry?
Yes, as io.github.us-all/unifi.
Alternatives to Unifi
Other data & analytics MCP servers.