Skip to content
Claude Desktop

UniFi for Claude Desktop

io.github.mattoddie/unifi-mcp

Manage a Ubiquiti UniFi network: devices, clients, WiFi, firewall and VPN. Read-only by default.

client:Claude Desktop transport:stdio runtime:oci

Install UniFi in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "unifi-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mattoddie/unifi-mcp:0.6.2"
      ],
      "env": {
        "MCP_TRANSPORT": "<MCP_TRANSPORT>",
        "UNIFI_URL": "<UNIFI_URL>",
        "UNIFI_API_KEY": "<UNIFI_API_KEY>",
        "UNIFI_USERNAME": "<UNIFI_USERNAME>",
        "UNIFI_PASSWORD": "<UNIFI_PASSWORD>",
        "UNIFI_TLS_FINGERPRINT": "<UNIFI_TLS_FINGERPRINT>",
        "UNIFI_VERIFY_SSL": "<UNIFI_VERIFY_SSL>",
        "UNIFI_SITE": "<UNIFI_SITE>",
        "UNIFI_ALLOW_WRITES": "<UNIFI_ALLOW_WRITES>",
        "UNIFI_ALLOW_DELETES": "<UNIFI_ALLOW_DELETES>",
        "UNIFI_TOOLSETS": "<UNIFI_TOOLSETS>",
        "UNIFI_AUDIT_LOG": "<UNIFI_AUDIT_LOG>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

UniFi in other clients