Skip to content
Claude Code

UniFi Protect MCP for Claude Code

io.github.sirkirby/unifi-protect-mcp

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

client:Claude Code transport:stdio runtime:pypi

Install UniFi Protect MCP in Claude Code

run in your project directory

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

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

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

UniFi Protect MCP in other clients