Manage UniFi Protect cameras, events, recordings, and smart detections via MCP.
uvx unifi-protect-mcp{
"UNIFI_HOST": "YOUR_VALUE_HERE",
"UNIFI_USERNAME": "YOUR_SECRET_VALUE",
"UNIFI_PASSWORD": "YOUR_SECRET_VALUE",
"UNIFI_API_KEY": "YOUR_SECRET_VALUE",
"UNIFI_PORT": "443",
"UNIFI_VERIFY_SSL": "false"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-sirkirby-unifi-protect-mcp": {
"command": "uvx",
"args": [
"unifi-protect-mcp"
],
"env": {
"UNIFI_HOST": "YOUR_VALUE_HERE",
"UNIFI_USERNAME": "YOUR_SECRET_VALUE",
"UNIFI_PASSWORD": "YOUR_SECRET_VALUE",
"UNIFI_API_KEY": "YOUR_SECRET_VALUE",
"UNIFI_PORT": "443",
"UNIFI_VERIFY_SSL": "false"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
UniFi Protect MCP is an MCP server for Manage UniFi Protect cameras, events, recordings, and smart detections via MCP.. It supports STDIO transport.
Use the generated config in Install. This server runs with uvx unifi-protect-mcp; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for uvx unifi-protect-mcp. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for uvx unifi-protect-mcp. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for uvx unifi-protect-mcp. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for uvx unifi-protect-mcp. Add required environment variables before starting Cursor or VS Code.
UniFi Protect MCP uses STDIO transport. Use the package or command config in Install.
UniFi Protect MCP inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
UniFi Protect MCP is marked with Auth required by registry metadata auth. You may need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
unifi-protect-mcpstdio | pypi | 0.1.6 | Env: UNIFI_HOST required Env: UNIFI_USERNAME required secret Env: UNIFI_PASSWORD required secret Env: UNIFI_API_KEY secret Env: UNIFI_PORT Env: UNIFI_VERIFY_SSL |