UniFi Protect MCP
MCP server exposing UniFi Protect tools for LLMs, agents, and automation platforms. Query cameras, events, smart detections, Find Anything detection search, recordings, lights, sensors, chimes, Known Faces, license plates, and the Alarm Manager -- with safe-by-default permissions and preview-before-confirm for all mutations.
People connecting automation tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.
VERIFIED ACTIVE
LAST COMMIT 2026-08-25 · ★ 743 · #5 OF 194 MAINTAINED AUTOMATION · VERIFIED 2026-08-25
MIT · Python servers · how we verify → /methodology
01 · Install UniFi Protect MCP
before you install - you'll need
Set UNIFI_PROTECT_HOST, UNIFI_PROTECT_USERNAME, UNIFI_PROTECT_PASSWORD before connecting.
Claude Code
claude mcp add sirkirby-unifi-mcp-apps-protect -- uvx unifi-protect-mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"sirkirby-unifi-mcp-apps-protect": {
"command": "uvx",
"args": [
"unifi-protect-mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
pypi package unifi-protect-mcp - check the name against the project README before installing (PyPI has no namespace ownership)
registry namespace io.github.sirkirby is GitHub-verified and matches the repo owner
03 · What UniFi Protect MCP can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Latest releases
relay/v0.3.9 · 2026-08-22
Install or upgrade: · bash · pip install unifi-mcp-relay==0.3.9 ·  by @davidkmiller · _Omitted 3 unrelated monorepo commits from these notes._…
access/v0.5.8 · 2026-08-22
Install or upgrade: · bash · uvx unifi-access-mcp==0.5.8 · 
- registry
- io.github.sirkirby/unifi-protect-mcp (active, first published 2026-03-24)
- packages
- pypi:unifi-protect-mcp
06 · UniFi Protect MCP FAQ
What is UniFi Protect MCP?
MCP server exposing UniFi Protect tools for LLMs, agents, and automation platforms. Query cameras, events, smart detections, Find Anything detection search, recordings, lights, sensors, chimes, Known Faces, license plates, and the Alarm Manager -- with safe-by-default permissions and preview-before-confirm for all mutations.
Is UniFi Protect MCP still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-25 and it shipped 10+ releases in the last 90 days. We re-verify nightly.
How do I install UniFi Protect MCP?
Run `uvx unifi-protect-mcp`. The README documents 3 environment variables (UNIFI_PROTECT_HOST, UNIFI_PROTECT_USERNAME, UNIFI_PROTECT_PASSWORD) to set first. Set UNIFI_PROTECT_HOST, UNIFI_PROTECT_USERNAME, UNIFI_PROTECT_PASSWORD before connecting. You can also paste the ready-made client config above.
Does UniFi Protect MCP run locally?
Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to UniFi Protect MCP
Alternatives to UniFi Protect MCP
Maintained automation servers if UniFi Protect MCP isn't the fit.
- Claude Flow AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev. ★ 69,309 · 2026-08-24
- GitHub Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language. ★ 32,478 · 2026-08-25
- Windows MCP An MCP Server for computer-use in Windows OS ★ 6,808 · 2026-08-22
- Ha MCP Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants. ★ 4,503 · 2026-08-24
- Stripe Agent Toolkit MCP server integrating with Stripe - tools for customers, products, payments, and more. ★ 1,760 · 2026-08-22
- Tooluniverse 2,500+ scientific tools for AI scientists: life science, research, literature, and more. ★ 1,655 · 2026-08-20
More automation MCP servers · Skillsmith · Govtoolspro MCP Server · Odoo Surface MCP · Vibe SEO
More Python MCP servers · Magg · Reversecore MCP · M3 Memory · SAST MCP Server · OeBB (Austrian Railways) · see all