UniFi MCP
A community-driven MCP server providing 54 tools for UniFi network infrastructure monitoring and analysis. It leverages the official Site Manager API and Cloud Connector to offer fleet health checks, anomaly detection, cross-site analytics, and severity verdicts. Features include pre-flight diagnostics, token-efficient schemas, and optional local controller access for detailed port error counters and SFP DDM data not exposed by the cloud API.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Monitor fleet health and detect anomalies across multiple UniFi sites
- Analyze WAN uptime trends and bandwidth usage by client
- Perform firmware inventory audits and rollout planning
- Investigate port instability and SFP module diagnostics via local controller
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@us-all/unifi-mcp 1.13.3
{
"version": "1.13.3",
"transport": "stdio",
"identifier": "@us-all/unifi-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "UNIFI_API_KEY",
"isRequired": true,
"description": "UniFi Site Manager API key (https://unifi.ui.com)."
},
{
"name": "UNIFI_API_URL",
"default": "https://api.ui.com",
"description": "UniFi Site Manager API base URL (default: https://api.ui.com)."
},
{
"name": "UNIFI_API_KEY_OWNER",
"description": "Owner-role API key — enables 33 Cloud Connector tools for per-device/per-client deep data."
},
{
"name": "UNIFI_TOOLS",
"description": "Comma-separated category allowlist. Default: all categories enabled."
},
{
"name": "UNIFI_DISABLE",
"description": "Comma-separated category disablelist."
},
{
"name": "UNIFI_LOCAL_URL",
"description": "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."
},
{
"name": "UNIFI_LOCAL_USER",
"description": "Controller local account username (required when UNIFI_LOCAL_URL set). Viewer/Limited-Admin role is sufficient."
},
{
"name": "UNIFI_LOCAL_PASS",
"description": "Controller local account password (required when UNIFI_LOCAL_URL set)."
},
{
"name": "UNIFI_LOCAL_SITE",
"default": "default",
"description": "Site slug for legacy /api/s/{site}/* (default: default)."
},
{
"name": "UNIFI_LOCAL_INSECURE",
"description": "Set to 'true' to accept self-signed cert from the local controller (typical for UDM Pro)."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"unifi-mcp-us-all-unifi-mcp": {
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp@1.13.3"
],
"env": {
"UNIFI_API_KEY": "<YOUR_UNIFI_API_KEY>",
"UNIFI_API_URL": "<YOUR_UNIFI_API_URL>",
"UNIFI_API_KEY_OWNER": "<YOUR_UNIFI_API_KEY_OWNER>",
"UNIFI_TOOLS": "<YOUR_UNIFI_TOOLS>",
"UNIFI_DISABLE": "<YOUR_UNIFI_DISABLE>",
"UNIFI_LOCAL_URL": "<YOUR_UNIFI_LOCAL_URL>",
"UNIFI_LOCAL_USER": "<YOUR_UNIFI_LOCAL_USER>",
"UNIFI_LOCAL_PASS": "<YOUR_UNIFI_LOCAL_PASS>",
"UNIFI_LOCAL_SITE": "<YOUR_UNIFI_LOCAL_SITE>",
"UNIFI_LOCAL_INSECURE": "<YOUR_UNIFI_LOCAL_INSECURE>"
}
}
}
}Cline
{
"mcpServers": {
"unifi-mcp-us-all-unifi-mcp": {
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp@1.13.3"
],
"env": {
"UNIFI_API_KEY": "<YOUR_UNIFI_API_KEY>",
"UNIFI_API_URL": "<YOUR_UNIFI_API_URL>",
"UNIFI_API_KEY_OWNER": "<YOUR_UNIFI_API_KEY_OWNER>",
"UNIFI_TOOLS": "<YOUR_UNIFI_TOOLS>",
"UNIFI_DISABLE": "<YOUR_UNIFI_DISABLE>",
"UNIFI_LOCAL_URL": "<YOUR_UNIFI_LOCAL_URL>",
"UNIFI_LOCAL_USER": "<YOUR_UNIFI_LOCAL_USER>",
"UNIFI_LOCAL_PASS": "<YOUR_UNIFI_LOCAL_PASS>",
"UNIFI_LOCAL_SITE": "<YOUR_UNIFI_LOCAL_SITE>",
"UNIFI_LOCAL_INSECURE": "<YOUR_UNIFI_LOCAL_INSECURE>"
}
}
}
}VS Code
{
"servers": {
"unifi-mcp-us-all-unifi-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp@1.13.3"
],
"env": {
"UNIFI_API_KEY": "<YOUR_UNIFI_API_KEY>",
"UNIFI_API_URL": "<YOUR_UNIFI_API_URL>",
"UNIFI_API_KEY_OWNER": "<YOUR_UNIFI_API_KEY_OWNER>",
"UNIFI_TOOLS": "<YOUR_UNIFI_TOOLS>",
"UNIFI_DISABLE": "<YOUR_UNIFI_DISABLE>",
"UNIFI_LOCAL_URL": "<YOUR_UNIFI_LOCAL_URL>",
"UNIFI_LOCAL_USER": "<YOUR_UNIFI_LOCAL_USER>",
"UNIFI_LOCAL_PASS": "<YOUR_UNIFI_LOCAL_PASS>",
"UNIFI_LOCAL_SITE": "<YOUR_UNIFI_LOCAL_SITE>",
"UNIFI_LOCAL_INSECURE": "<YOUR_UNIFI_LOCAL_INSECURE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"unifi-mcp-us-all-unifi-mcp": {
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp@1.13.3"
],
"env": {
"UNIFI_API_KEY": "<YOUR_UNIFI_API_KEY>",
"UNIFI_API_URL": "<YOUR_UNIFI_API_URL>",
"UNIFI_API_KEY_OWNER": "<YOUR_UNIFI_API_KEY_OWNER>",
"UNIFI_TOOLS": "<YOUR_UNIFI_TOOLS>",
"UNIFI_DISABLE": "<YOUR_UNIFI_DISABLE>",
"UNIFI_LOCAL_URL": "<YOUR_UNIFI_LOCAL_URL>",
"UNIFI_LOCAL_USER": "<YOUR_UNIFI_LOCAL_USER>",
"UNIFI_LOCAL_PASS": "<YOUR_UNIFI_LOCAL_PASS>",
"UNIFI_LOCAL_SITE": "<YOUR_UNIFI_LOCAL_SITE>",
"UNIFI_LOCAL_INSECURE": "<YOUR_UNIFI_LOCAL_INSECURE>"
}
}
}
}Let your agent find its tools
Find servers like UniFi MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.