{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.mattoddie/unifi-mcp",
  "slug": "io.github.mattoddie.unifi-mcp",
  "title": "UniFi",
  "summary": "Manage a Ubiquiti UniFi network: devices, clients, WiFi, firewall and VPN.",
  "version": "0.10.0",
  "serverKey": "unifi-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.mattoddie.unifi-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.mattoddie.unifi-mcp/install.md",
  "trust": {
    "score": 78,
    "grade": "B",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T20:47:56.537479569Z"
  },
  "methods": [
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "UNIFI_URL",
        "ghcr.io/mattoddie/unifi-mcp:0.10.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add unifi-mcp -e 'UNIFI_URL=<UNIFI_URL>' -- docker run -i --rm -e UNIFI_URL ghcr.io/mattoddie/unifi-mcp:0.10.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"unifi-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"UNIFI_URL\",\n        \"ghcr.io/mattoddie/unifi-mcp:0.10.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"UNIFI_URL\": \"<UNIFI_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"unifi-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"UNIFI_URL\",\n        \"ghcr.io/mattoddie/unifi-mcp:0.10.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"UNIFI_URL\": \"<UNIFI_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"UNIFI_URL\",\n      \"id\": \"unifi-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"unifi-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"UNIFI_URL\",\n        \"ghcr.io/mattoddie/unifi-mcp:0.10.0\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"UNIFI_URL\": \"${input:unifi-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.unifi-mcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"UNIFI_URL\", \"ghcr.io/mattoddie/unifi-mcp:0.10.0\"]\nenv = { \"UNIFI_URL\" = \"<UNIFI_URL>\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "MCP_TRANSPORT",
      "required": false,
      "secret": false,
      "description": "The image serves HTTP by default; this runs it over stdio.",
      "help": "The image serves HTTP by default; this runs it over stdio.",
      "placeholder": "<MCP_TRANSPORT>"
    },
    {
      "name": "UNIFI_URL",
      "required": true,
      "secret": false,
      "description": "Address of your UniFi console. For a legacy self-hosted Network application, include the port.",
      "help": "Address of your UniFi console. For a legacy self-hosted Network application, include the port.",
      "placeholder": "<UNIFI_URL>"
    },
    {
      "name": "UNIFI_API_KEY",
      "required": false,
      "secret": true,
      "description": "API key from UniFi Network → Settings → Control Plane → Integrations. Or use a username and password.",
      "help": "API key from UniFi Network → Settings → Control Plane → Integrations. Or use a username and password.",
      "placeholder": "<UNIFI_API_KEY>"
    },
    {
      "name": "UNIFI_USERNAME",
      "required": false,
      "secret": false,
      "description": "A local (not Ubiquiti cloud) account, used instead of an API key. Required for legacy controllers.",
      "help": "A local (not Ubiquiti cloud) account, used instead of an API key. Required for legacy controllers.",
      "placeholder": "<UNIFI_USERNAME>"
    },
    {
      "name": "UNIFI_PASSWORD",
      "required": false,
      "secret": true,
      "description": "The local account's password, used with the username.",
      "help": "The local account's password, used with the username.",
      "placeholder": "<UNIFI_PASSWORD>"
    },
    {
      "name": "UNIFI_TLS_FINGERPRINT",
      "required": false,
      "secret": false,
      "description": "Recommended for an https controller with a self-signed certificate: its SHA-256 fingerprint, to pin it.",
      "help": "Recommended for an https controller with a self-signed certificate: its SHA-256 fingerprint, to pin it.",
      "placeholder": "<UNIFI_TLS_FINGERPRINT>"
    },
    {
      "name": "UNIFI_VERIFY_SSL",
      "required": false,
      "secret": false,
      "description": "Leave empty when you set a fingerprint. true: publicly trusted certificate. false: skip the check (insecure).",
      "help": "Leave empty when you set a fingerprint. true: publicly trusted certificate. false: skip the check (insecure).",
      "placeholder": "<UNIFI_VERIFY_SSL>"
    },
    {
      "name": "UNIFI_SITE",
      "required": false,
      "secret": false,
      "description": "The site's short name, used when a request doesn't name a site.",
      "help": "The site's short name, used when a request doesn't name a site.",
      "default": "default",
      "placeholder": "default"
    },
    {
      "name": "UNIFI_ALLOW_WRITES",
      "required": false,
      "secret": false,
      "description": "Allow changes: restart devices, block clients, edit WiFi, firewall and networks. Off means read-only.",
      "help": "Allow changes: restart devices, block clients, edit WiFi, firewall and networks. Off means read-only.",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "UNIFI_ALLOW_DELETES",
      "required": false,
      "secret": false,
      "description": "Also allow deleting configuration and forgetting clients. Needs UNIFI_ALLOW_WRITES.",
      "help": "Also allow deleting configuration and forgetting clients. Needs UNIFI_ALLOW_WRITES.",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "UNIFI_ALLOW_SECRETS",
      "required": false,
      "secret": false,
      "description": "Allow unredacted passwords and keys (include_secrets) and the WiFi QR tool. Off keeps all output redacted.",
      "help": "Allow unredacted passwords and keys (include_secrets) and the WiFi QR tool. Off keeps all output redacted.",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "UNIFI_TOOLSETS",
      "required": false,
      "secret": false,
      "description": "Optional comma-separated list to expose fewer tools, e.g. overview,devices,clients. Empty means all except raw, which has to be listed by name.",
      "help": "Optional comma-separated list to expose fewer tools, e.g. overview,devices,clients. Empty means all except raw, which has to be listed by name.",
      "placeholder": "<UNIFI_TOOLSETS>"
    },
    {
      "name": "UNIFI_RAW_ALLOWED_PATHS",
      "required": false,
      "secret": false,
      "description": "Optional comma-separated API path prefixes, e.g. /api/s/default/stat, that limit the raw API tool (toolset raw) to those paths. Empty allows any path.",
      "help": "Optional comma-separated API path prefixes, e.g. /api/s/default/stat, that limit the raw API tool (toolset raw) to those paths. Empty allows any path.",
      "placeholder": "<UNIFI_RAW_ALLOWED_PATHS>"
    },
    {
      "name": "UNIFI_AUDIT_LOG",
      "required": false,
      "secret": false,
      "description": "Set to stderr to log every change the assistant makes or previews as JSON lines. Off when empty.",
      "help": "Set to stderr to log every change the assistant makes or previews as JSON lines. Off when empty.",
      "placeholder": "<UNIFI_AUDIT_LOG>"
    }
  ],
  "agentSteps": [
    "Ask the user for: UNIFI_URL. 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.",
    "If it fails, check that the required runtime is installed (Docker) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:47:56.537479569Z"
}
