
UniFi Protect MCP Server
by sirkirbyio.github.sirkirby/unifi-protect-mcpv0.1.6
Manage UniFi Protect cameras, events, recordings, and smart detections via MCP.
context tax
not measurable
security
100/100
cold start
pending
freshness
Active32d ago
Our reading of UniFi Protect, from the data
UniFi Protect is an MCP server from sirkirby, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 32 days ago (2026-10-18).
It runs locally on your machine over stdio and needs 3 secrets (UNIFI_USERNAME, UNIFI_PASSWORD, UNIFI_API_KEY); use a scoped, least-privilege key.
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-mcpInstall in Cursor
{
"mcpServers": {
"protect-sirkirby": {
"command": "uvx",
"args": [
"unifi-protect-mcp"
],
"env": {
"UNIFI_HOST": "<unifi-host>",
"UNIFI_USERNAME": "<unifi-username>",
"UNIFI_PASSWORD": "<unifi-password>",
"UNIFI_API_KEY": "<unifi-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"protect-sirkirby": {
"command": "uvx",
"args": [
"unifi-protect-mcp"
],
"env": {
"UNIFI_HOST": "<unifi-host>",
"UNIFI_USERNAME": "<unifi-username>",
"UNIFI_PASSWORD": "<unifi-password>",
"UNIFI_API_KEY": "<unifi-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"protect-sirkirby": {
"type": "stdio",
"command": "uvx",
"args": [
"unifi-protect-mcp"
],
"env": {
"UNIFI_HOST": "<unifi-host>",
"UNIFI_USERNAME": "<unifi-username>",
"UNIFI_PASSWORD": "<unifi-password>",
"UNIFI_API_KEY": "<unifi-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"protect-sirkirby": {
"command": "uvx",
"args": [
"unifi-protect-mcp"
],
"env": {
"UNIFI_HOST": "<unifi-host>",
"UNIFI_USERNAME": "<unifi-username>",
"UNIFI_PASSWORD": "<unifi-password>",
"UNIFI_API_KEY": "<unifi-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test pypi:unifi-protect-mcp --env UNIFI_HOST --env UNIFI_USERNAME --env UNIFI_PASSWORD
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| UNIFI_HOST | yes | — | Controller IP/hostname |
| UNIFI_USERNAME | yes | yes | Admin username |
| UNIFI_PASSWORD | yes | yes | Admin password |
| UNIFI_API_KEY | — | yes | API key (optional, experimental) |
| UNIFI_PORT | — | — | Controller HTTPS port |
| UNIFI_VERIFY_SSL | — | — | SSL certificate verification |
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 32d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-18 · 32d ago · GitHub
Latest release
2026-10-18 · 32d ago · GitHub · api/v0.22.0
Package published
no data · npm/PyPI
Registry entry updated
2026-03-24 · 8mo 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.
Sources and method
- Official MCP Registry entry
- updated 2026-03-24
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.