NestDaddy

UniFi Protect MCP

io.github.sirkirby/unifi-protect-mcp · v0.1.6

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

Connect Runs on your machine

Terminal
claude mcp add unifi-protect-mcp -e UNIFI_HOST=<UNIFI_HOST> -e UNIFI_USERNAME=<UNIFI_USERNAME> -e UNIFI_PASSWORD=<UNIFI_PASSWORD> -e UNIFI_API_KEY=<UNIFI_API_KEY> -e UNIFI_PORT=<UNIFI_PORT> -e UNIFI_VERIFY_SSL=<UNIFI_VERIFY_SSL> -- uvx unifi-protect-mcp==0.1.6
claude_desktop_config.json
{
  "mcpServers": {
    "unifi-protect-mcp": {
      "command": "uvx",
      "args": [
        "unifi-protect-mcp==0.1.6"
      ],
      "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "unifi-protect-mcp": {
      "command": "uvx",
      "args": [
        "unifi-protect-mcp==0.1.6"
      ],
      "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "unifi-protect-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "unifi-protect-mcp==0.1.6"
      ],
      "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>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
UNIFI_HOST
Required
Controller IP/hostname
UNIFI_USERNAME
Required, secret
Admin username
UNIFI_PASSWORD
Required, secret
Admin password
UNIFI_API_KEY
Optional, secret
API key (optional, experimental)
UNIFI_PORT
Optional
Controller HTTPS port
UNIFI_VERIFY_SSL
Optional
SSL certificate verification

Details

Package[email protected] (PYPI, stdio)
First published24 Mar 2026
Last updated24 Mar 2026
Registry nameio.github.sirkirby/unifi-protect-mcp

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.