{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.us-all/unifi",
  "slug": "io.github.us-all.unifi",
  "title": "unifi",
  "summary": "UniFi semantic-analysis MCP — fleet health, anomaly detection, cross-site analytics",
  "version": "1.13.3",
  "serverKey": "unifi",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.us-all.unifi",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.us-all.unifi/install.md",
  "trust": {
    "score": 84,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T17:02:23.118939412Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@us-all/unifi-mcp@1.13.3"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add unifi -e 'UNIFI_API_KEY=<UNIFI_API_KEY>' -- npx -y @us-all/unifi-mcp@1.13.3"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"unifi\": {\n      \"args\": [\n        \"-y\",\n        \"@us-all/unifi-mcp@1.13.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"UNIFI_API_KEY\": \"<UNIFI_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"unifi\": {\n      \"args\": [\n        \"-y\",\n        \"@us-all/unifi-mcp@1.13.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"UNIFI_API_KEY\": \"<UNIFI_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"UNIFI_API_KEY\",\n      \"id\": \"unifi-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"unifi\": {\n      \"args\": [\n        \"-y\",\n        \"@us-all/unifi-mcp@1.13.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"UNIFI_API_KEY\": \"${input:unifi-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.unifi]\ncommand = \"npx\"\nargs = [\"-y\", \"@us-all/unifi-mcp@1.13.3\"]\nenv = { \"UNIFI_API_KEY\" = \"<UNIFI_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "UNIFI_API_KEY",
      "required": true,
      "secret": true,
      "description": "UniFi Site Manager API key (https://unifi.ui.com).",
      "help": "UniFi Site Manager API key (https://unifi.ui.com).",
      "placeholder": "<UNIFI_API_KEY>"
    },
    {
      "name": "UNIFI_API_URL",
      "required": false,
      "secret": false,
      "description": "UniFi Site Manager API base URL (default: https://api.ui.com).",
      "help": "UniFi Site Manager API base URL (default: https://api.ui.com).",
      "default": "https://api.ui.com",
      "placeholder": "https://api.ui.com"
    },
    {
      "name": "UNIFI_API_KEY_OWNER",
      "required": false,
      "secret": true,
      "description": "Owner-role API key — enables 33 Cloud Connector tools for per-device/per-client deep data.",
      "help": "Owner-role API key — enables 33 Cloud Connector tools for per-device/per-client deep data.",
      "placeholder": "<UNIFI_API_KEY_OWNER>"
    },
    {
      "name": "UNIFI_TOOLS",
      "required": false,
      "secret": false,
      "description": "Comma-separated category allowlist. Default: all categories enabled.",
      "help": "Comma-separated category allowlist. Default: all categories enabled.",
      "placeholder": "<UNIFI_TOOLS>"
    },
    {
      "name": "UNIFI_DISABLE",
      "required": false,
      "secret": false,
      "description": "Comma-separated category disablelist.",
      "help": "Comma-separated category disablelist.",
      "placeholder": "<UNIFI_DISABLE>"
    },
    {
      "name": "UNIFI_LOCAL_URL",
      "required": false,
      "secret": false,
      "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.",
      "help": "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.",
      "placeholder": "<UNIFI_LOCAL_URL>"
    },
    {
      "name": "UNIFI_LOCAL_USER",
      "required": false,
      "secret": false,
      "description": "Controller local account username (required when UNIFI_LOCAL_URL set). Viewer/Limited-Admin role is sufficient.",
      "help": "Controller local account username (required when UNIFI_LOCAL_URL set). Viewer/Limited-Admin role is sufficient.",
      "placeholder": "<UNIFI_LOCAL_USER>"
    },
    {
      "name": "UNIFI_LOCAL_PASS",
      "required": false,
      "secret": true,
      "description": "Controller local account password (required when UNIFI_LOCAL_URL set).",
      "help": "Controller local account password (required when UNIFI_LOCAL_URL set).",
      "placeholder": "<UNIFI_LOCAL_PASS>"
    },
    {
      "name": "UNIFI_LOCAL_SITE",
      "required": false,
      "secret": false,
      "description": "Site slug for legacy /api/s/{site}/* (default: default).",
      "help": "Site slug for legacy /api/s/{site}/* (default: default).",
      "default": "default",
      "placeholder": "default"
    },
    {
      "name": "UNIFI_LOCAL_INSECURE",
      "required": false,
      "secret": false,
      "description": "Set to 'true' to accept self-signed cert from the local controller (typical for UDM Pro).",
      "help": "Set to 'true' to accept self-signed cert from the local controller (typical for UDM Pro).",
      "placeholder": "<UNIFI_LOCAL_INSECURE>"
    }
  ],
  "expectedTools": [
    "list-sites-overview",
    "analyze-site-health",
    "detect-recent-reboots",
    "compare-sites",
    "firmware-inventory",
    "wan-uptime-trend",
    "top-clients-by-bandwidth",
    "list-hosts",
    "get-host",
    "list-sites",
    "list-devices",
    "get-isp-metrics",
    "query-isp-metrics",
    "list-sdwan-configs",
    "get-sdwan-config",
    "get-sdwan-config-status",
    "summarize-site",
    "site-health-timeline",
    "search-tools"
  ],
  "agentSteps": [
    "Ask the user for: UNIFI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: list-sites-overview, analyze-site-health, detect-recent-reboots, compare-sites, firmware-inventory, wan-uptime-trend, top-clients-by-bandwidth, list-hosts, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T17:02:23.118939412Z"
}
