mcpbeat Sign in

UniFi Protect MCP Server

local only

UniFi Protect MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 3 218 installs a week from pypi. Last commit 2 Nov 2026.

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

Installs per day peak 1 492 · avg 556 · -6% w/w
a month agotoday
3 218
Installs / week
pypi · unifi-protect-mcp
980
Stars
12 open issues
2 Nov 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 2 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

File ships in the package but is absent from the source [пакет] src/unifi_protect_mcp/_version.py:1
этот файл ставится пользователю, но в репозитории его нет
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add unifi-protect-mcp -e 'UNIFI_HOST=<UNIFI_HOST>' -e 'UNIFI_USERNAME=<UNIFI_USERNAME>' -e 'UNIFI_PASSWORD=<UNIFI_PASSWORD>' -- uvx unifi-protect-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "unifi-protect-mcp": {
      "command": "uvx",
      "args": [
        "unifi-protect-mcp"
      ],
      "env": {
        "UNIFI_HOST": "<UNIFI_HOST>",
        "UNIFI_PASSWORD": "<UNIFI_PASSWORD>",
        "UNIFI_USERNAME": "<UNIFI_USERNAME>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.unifi-protect-mcp]
command = "uvx"
args = ["unifi-protect-mcp"]
env = { UNIFI_HOST = "<UNIFI_HOST>", UNIFI_USERNAME = "<UNIFI_USERNAME>", UNIFI_PASSWORD = "<UNIFI_PASSWORD>" }
.cursor/mcp.json
{
  "mcpServers": {
    "unifi-protect-mcp": {
      "command": "uvx",
      "args": [
        "unifi-protect-mcp"
      ],
      "env": {
        "UNIFI_HOST": "<UNIFI_HOST>",
        "UNIFI_PASSWORD": "<UNIFI_PASSWORD>",
        "UNIFI_USERNAME": "<UNIFI_USERNAME>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "unifi-protect-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "unifi-protect-mcp"
      ],
      "env": {
        "UNIFI_HOST": "<UNIFI_HOST>",
        "UNIFI_PASSWORD": "<UNIFI_PASSWORD>",
        "UNIFI_USERNAME": "<UNIFI_USERNAME>"
      }
    }
  }
}

Put your own values in place of <UNIFI_HOST> (Controller IP/hostname), <UNIFI_USERNAME> (Admin username), <UNIFI_PASSWORD> (Admin password). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: UNIFI_API_KEY (API key (optional, experimental)), UNIFI_PORT (Controller HTTPS port), UNIFI_VERIFY_SSL (SSL certificate verification).

Alternatives to UniFi Protect MCP

same job, measured the same way
UniFi Access MCP
by sirkirby

Manage UniFi Access doors, credentials, policies, visitors, and events via MCP.

1 904 installs/wk local only
Hetzner DNS
by ni-c

Manage DNS zones and records (zonefiles, RRSets, TTL, protection) via the Hetzner Cloud API

96 installs/wk local only
Reason
by reason-machines

Start and manage Reason cloud coding agents, projects and sessions from any MCP client.

answering
Lystbot
by touraround

Smart lists and reminders your AI can use. Manage lists, categories, and reminders via MCP.

338 installs/wk local only
UniFi Network MCP
by sirkirby

Manage UniFi Network devices, clients, firewall, VLANs, VPNs, and more via MCP.

16 176 installs/wk local only
Ntfy MCP Server
by cyanheads

Send, manage, and replay ntfy push notifications via MCP.

424 installs/wk local only
Numeral MCP by usefulapi
by usefulapi

Calculate sales tax & VAT, record transactions and refunds, manage products and customers.

11 tools answering
Smaregi MCP by usefulapi
by usefulapi

Read Smaregi stores, products, customers, stock and transactions; manage customers, products, stock.

20 tools answering

UniFi Protect MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for UniFi Protect MCP?
UniFi Protect MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package unifi-protect-mcp was installed 3 218 times last week.
How do I connect UniFi Protect MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls unifi-protect-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use UniFi Protect MCP?
The pypi package unifi-protect-mcp was installed 3 218 times in the last week. Week over week that is -6%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is UniFi Protect MCP open source?
Yes — it is published under the MIT licence, written in Python, 980 stars on GitHub and 12 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.