UniFi Protect MCP
local MCP serverInstallation
Terminal
claude mcp add unifi-protect-mcp -e UNIFI_HOST=... -e UNIFI_USERNAME=... -e UNIFI_PASSWORD=... -e UNIFI_API_KEY=... -e UNIFI_PORT=... -e UNIFI_VERIFY_SSL=... -- uvx unifi-protect-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"unifi-protect-mcp": {
"command": "uvx",
"args": [
"unifi-protect-mcp"
],
"env": {
"UNIFI_HOST": "...",
"UNIFI_USERNAME": "...",
"UNIFI_PASSWORD": "...",
"UNIFI_API_KEY": "...",
"UNIFI_PORT": "...",
"UNIFI_VERIFY_SSL": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
Manage UniFi Protect cameras, events, recordings, and smart detections via MCP.
Questions
UniFi Protect MCP is a local MCP server distributed as the pypi package unifi-protect-mcp.
Run: claude mcp add unifi-protect-mcp -e UNIFI_HOST=... -e UNIFI_USERNAME=... -e UNIFI_PASSWORD=... -e UNIFI_API_KEY=... -e UNIFI_PORT=... -e UNIFI_VERIFY_SSL=... -- uvx unifi-protect-mcp
Run: codex mcp add unifi-protect-mcp --env UNIFI_HOST=... --env UNIFI_USERNAME=... --env UNIFI_PASSWORD=... --env UNIFI_API_KEY=... --env UNIFI_PORT=... --env UNIFI_VERIFY_SSL=... -- uvx unifi-protect-mcp
Similar MCP servers
NameStars
- UniFi Access MCPio.github.sirkirby/unifi-access-mcp853
- Agent-Native Calendario.github.BuilderIO/agent-native-calendar6,874
- Jitsucom.jitsu/mcp5,094
- UniFi Network MCPio.github.sirkirby/unifi-network-mcp853
- wemoio.github.qrussell/wemo52
- datadogcom.mcparmory/datadog31
- posthogcom.mcparmory/posthog31
- rootlycom.mcparmory/rootly31