Skip to content
Claude Desktop

UniFi Protect MCP for Claude Desktop

io.github.sirkirby/unifi-protect-mcp

Manage UniFi Protect cameras, events, recordings, and smart detections via MCP.

client:Claude Desktop transport:stdio runtime:pypi

Install UniFi Protect MCP 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-protect-mcp": {
      "command": "uvx",
      "args": [
        "unifi-protect-mcp"
      ],
      "env": {
        "UNIFI_HOST": "<UNIFI_HOST>",
        "UNIFI_USERNAME": "<UNIFI_USERNAME>",
        "UNIFI_PASSWORD": "<UNIFI_PASSWORD>",
        "UNIFI_API_KEY": "<UNIFI_API_KEY>",
        "UNIFI_PORT": "<UNIFI_PORT>",
        "UNIFI_VERIFY_SSL": "<UNIFI_VERIFY_SSL>"
      }
    }
  }
}

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

UniFi Protect MCP in other clients