PluginBench
MCP Server

io.github.us-all/unifi MCP Server

io.github.us-all/unifi

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.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • UNIFI_API_KEY
    required
    secret

    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
    secret

    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
    secret

    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).

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "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>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "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 Code
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-mcp

Related 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 →