Best for
- Home-automation users with a local UniFi controller
- Users who want an AI assistant to query Protect cameras, recordings, and detection events
- UniFi Protect deployments that can provide a local administrator or service account
The source identifies this server as focused on UniFi Protect and using stdio transport; its PyPI package is unifi-protect-mcp 0.7.5. The repository also contains Network and Access servers, whose tools must not be attributed to this server.
Strongest · Documentation 15/20 Weakest · Reliability 11/20
Static review · not runListed 2026-08-14
Read the FMRS scoring method →Runtime:Python 3.13+
UNIFI_PROTECT_HOST
IP or hostname of the UniFi Protect controller, e.g. 192.168.1.1; takes priority over shared UNIFI_HOST.
UNIFI_PROTECT_USERNAME
Local admin/service account username; do not use a Ubiquiti SSO cloud account.
UNIFI_PROTECT_PASSWORD
Password for that local account; takes priority over shared UNIFI_PASSWORD.
UNIFI_HOST
Shared fallback: controller IP or hostname, used when the server-specific var is unset.
UNIFI_USERNAME
Shared fallback: local admin username.
UNIFI_PASSWORD
Shared fallback: local admin password.
UNIFI_PROTECT_API_KEY
Optional UniFi API key for selected capabilities such as some Protect settings updates (experimental); overrides UNIFI_API_KEY.
UNIFI_API_KEY
Shared fallback: optional UniFi API key.
UNIFI_PROTECT_PORT
Controller HTTPS port, default 443; overrides UNIFI_PORT.
UNIFI_PORT
Shared fallback: controller HTTPS port, default 443.
UNIFI_PROTECT_VERIFY_SSL
Whether to verify SSL certificates, default false; overrides UNIFI_VERIFY_SSL.
UNIFI_VERIFY_SSL
Shared fallback: whether to verify SSL certificates, default false.
UNIFI_PROTECT_MCP_CONTENT_MODE
Overrides the global response-size mode for this server; set to compat or compact.
UNIFI_PROTECT_REDACT_SENSITIVE_FIELDS
Set to false to disable ***REDACTED*** masking of secret fields; only for trusted local admin workflows.
Run unifi-protect-mcp@latest with uvx and configure UNIFI_PROTECT_HOST, UNIFI_PROTECT_USERNAME, and UNIFI_PROTECT_PASSWORD. The shared UNIFI_HOST, UNIFI_USERNAME, and UNIFI_PASSWORD variables are also supported. UNIFI_PORT defaults to 443 and UNIFI_VERIFY_SSL defaults to false; UNIFI_API_KEY is optional and experimental.
{"mcpServers":{"unifi-protect":{"command":"uvx","args":["unifi-protect-mcp@latest"],"env":{"UNIFI_PROTECT_HOST":"192.168.1.1","UNIFI_PROTECT_USERNAME":"admin","UNIFI_PROTECT_PASSWORD":"your-password"}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"unifi-protect": {
"command": "uvx",
"args": [
"unifi-protect-mcp@latest"
],
"env": {
"UNIFI_PROTECT_HOST": "192.168.1.1",
"UNIFI_PROTECT_USERNAME": "admin",
"UNIFI_PROTECT_PASSWORD": "your-password"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add unifi-protect -e UNIFI_PROTECT_HOST=192.168.1.1 -e UNIFI_PROTECT_USERNAME=admin -e UNIFI_PROTECT_PASSWORD=your-password -- uvx unifi-protect-mcp@latest
Run it in a terminal; replace any <…> placeholders with your own values first.
After connecting, run tools/list — the server's tools should appear (in lazy mode the *_tool_index meta-tools appear first); or ask "List my Protect cameras" and a camera list proves the connection.
Once connected, you can ask your AI assistant things like:
Listed from the project's documentation, not tested by this site.
UniFi Protect MCP is a stdio MCP server for managing UniFi Protect cameras, events, recordings, and smart detections. It is part of a repository containing multiple UniFi MCP servers; this profile covers only the Protect server. Version 0.7.5 provides 61 tools.
Manage your Hevy workout data from AI assistants via MCP.
Firecrawl's official MCP server for web search, scraping, and structured extraction for AI agents
One binary. One grammar. Evidence from the biomedical sources you already trust.
Encrypted, fully offline long-term memory for AI agents
Source revision fbd083c62ec8 Data synced 2026-10-19 Read the FMRS scoring method