What is the io.github.us-all/unifi MCP server?
UniFi semantic-analysis MCP — fleet health, anomaly detection, cross-site analytics
How to install io.github.us-all/unifi
Copy-paste configuration for popular MCP clients.
UNIFI_API_KEYrequiredsecretUniFi Site Manager API key (https://unifi.ui.com).
UNIFI_API_URLUniFi Site Manager API base URL (default: https://api.ui.com).
UNIFI_API_KEY_OWNERsecretOwner-role API key — enables 33 Cloud Connector tools for per-device/per-client deep data.
UNIFI_TOOLSComma-separated category allowlist. Default: all categories enabled.
UNIFI_DISABLEComma-separated category disablelist.
UNIFI_LOCAL_URLLocal 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_USERController local account username (required when UNIFI_LOCAL_URL set). Viewer/Limited-Admin role is sufficient.
UNIFI_LOCAL_PASSsecretController local account password (required when UNIFI_LOCAL_URL set).
UNIFI_LOCAL_SITESite slug for legacy /api/s/{site}/* (default: default).
UNIFI_LOCAL_INSECURESet to 'true' to accept self-signed cert from the local controller (typical for UDM Pro).
{
"mcpServers": {
"unifi": {
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp"
],
"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>"
}
}
}
}{
"mcpServers": {
"unifi": {
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp"
],
"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>"
}
}
}
}{
"mcpServers": {
"unifi": {
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp"
],
"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>"
}
}
}
}{
"servers": {
"unifi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@us-all/unifi-mcp"
],
"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 mcp add unifi --env UNIFI_API_KEY=<YOUR_UNIFI_API_KEY> --env UNIFI_API_URL=<YOUR_UNIFI_API_URL> --env UNIFI_API_KEY_OWNER=<YOUR_UNIFI_API_KEY_OWNER> --env UNIFI_TOOLS=<YOUR_UNIFI_TOOLS> --env UNIFI_DISABLE=<YOUR_UNIFI_DISABLE> --env UNIFI_LOCAL_URL=<YOUR_UNIFI_LOCAL_URL> --env UNIFI_LOCAL_USER=<YOUR_UNIFI_LOCAL_USER> --env UNIFI_LOCAL_PASS=<YOUR_UNIFI_LOCAL_PASS> --env UNIFI_LOCAL_SITE=<YOUR_UNIFI_LOCAL_SITE> --env UNIFI_LOCAL_INSECURE=<YOUR_UNIFI_LOCAL_INSECURE> -- npx -y @us-all/unifi-mcpRelated MCP servers
Airflow MCP — list DAGs/runs/task instances, tail logs, trigger and clear (write-gated)
View repository →Android MCP — ADB-based device, apps, UI, logcat, emulator, files, system, debug
View repository →Datadog MCP — 165 tools for metrics, monitors, logs, APM, RUM, incidents, CI/CD, fleet
View repository →dbt MCP — manifest/run_results/sources/catalog parsing + DQ result tables (BigQuery/Postgres)
View repository →Google Drive + Workspace MCP — Docs, Sheets, Slides, Shared Drives, Labels, Approvals, DWD
View repository →MLflow MCP — experiments, runs, registered models, versions, traces, assessments (MLflow 3)
View repository →