Skip to content
mcp/skillhub

UniFi Protect MCP Server

by sirkirbyio.github.sirkirby/unifi-protect-mcpv0.1.6

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

874Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active2d ago

Install UniFi Protect MCP server

Install in Claude Code

claude mcp add protect-sirkirby -e UNIFI_HOST='<unifi-host>' -e UNIFI_USERNAME='<unifi-username>' -e UNIFI_PASSWORD='<unifi-password>' -e UNIFI_API_KEY='<unifi-api-key>' -- uvx unifi-protect-mcp

Configuration

VariableRequiredSecretDescription
UNIFI_HOSTyes—Controller IP/hostname
UNIFI_USERNAMEyesyesAdmin username
UNIFI_PASSWORDyesyesAdmin password
UNIFI_API_KEY—yesAPI key (optional, experimental)
UNIFI_PORT——Controller HTTPS port
UNIFI_VERIFY_SSL——SSL certificate verification

Freshness

Active — last maintenance signal 2d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-08 · 2d ago · GitHub

  2. Latest release

    2026-10-08 · 2d ago · GitHub · api/v0.20.5

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-03-24 · 7mo ago · official registry · v0.1.6

FAQ

›How do I install the UniFi Protect MCP server in Claude Code?

Run: claude mcp add protect-sirkirby -e UNIFI_HOST='<unifi-host>' -e UNIFI_USERNAME='<unifi-username>' -e UNIFI_PASSWORD='<unifi-password>' -e UNIFI_API_KEY='<unifi-api-key>' -- uvx unifi-protect-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does UniFi Protect require an API key?

Yes. It expects UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD, UNIFI_API_KEY, of which 3 are secrets.

›Can I use UniFi Protect as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is UniFi Protect in the official MCP registry?

Yes, as io.github.sirkirby/unifi-protect-mcp.