Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

UniFi Protect MCP

MCP server by sirkirby Community

Manage UniFi Protect cameras, events, recordings and smart detections from an AI assistant. It connects to a Protect console on your local network and is aimed at UniFi Protect owners.

  • Score 88
  • 1.2k stars
  • MIT
  • Updated

Install UniFi Protect MCP

Built from the published package, never by AI.

claude mcp add unifi-protect-mcp -e UNIFI_HOST=YOUR_UNIFI_HOST -e UNIFI_USERNAME=YOUR_UNIFI_USERNAME -e UNIFI_PASSWORD=YOUR_UNIFI_PASSWORD -- uvx unifi-protect-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install UniFi Protect MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the unifi-protect-mcp block.

About

UniFi Protect MCP is the Protect server from the UniFi MCP project, published by sirkirby. It is an MCP server that lets AI assistants and automation tools interact with a UniFi Protect console. The source lists 68 tools for the Protect server and marks it as stable. The declared description covers cameras, events, recordings and smart detections.

The server talks directly to the Protect console you name on your network, so it is local-first. Nothing leaves your network unless you add the optional Cloud Relay. It can be run from the PyPI package unifi-protect-mcp, with uvx or Docker, and a Protect plugin is available from the Claude Code, Codex and OpenClaw marketplaces.

It suits people who run UniFi Protect and want an AI assistant to query and manage their cameras and recordings. The source does not list the individual Protect tool names in the text reviewed.

Written from the project's README and checked against it.

What you need

  • A UniFi Protect console on your local network
  • Python, to run the unifi-protect-mcp PyPI package
  • uvx or Docker, as alternative ways to run the server
SettingNeededWhat it is
UNIFI_HOSTEnvironment variableRequiredController IP/hostname
UNIFI_USERNAMEEnvironment variable, secretRequiredAdmin username
UNIFI_PASSWORDEnvironment variable, secretRequiredAdmin password
UNIFI_API_KEYEnvironment variable, secretOptionalAPI key (optional, experimental)
UNIFI_PORTEnvironment variableOptionalController HTTPS port Default: 443
UNIFI_VERIFY_SSLEnvironment variableOptionalSSL certificate verification Default: false

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • List the cameras on my UniFi Protect console
  • Show recent events from my Protect cameras
  • Find smart detections from the last 24 hours

Good to know

  • MCP HTTP is unauthenticated by default and meant for trusted local clients
  • Remote access requires an authenticated proxy or the optional Cloud Relay
  • The Cloud Relay is in beta

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Reviewing camera events
  • Checking Protect recordings
  • Managing cameras on a UniFi Protect console

Alternatives to UniFi Protect MCP

All alternatives →
Agentmesh MCP Proxy microsoft
94

Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.

AAA Local 6.6k
Bla qybaihe
94

Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.

AAA Local 7.3k
Bla Agents qybaihe
94

Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.

AAC Local 37k/wk

Compare with Agentmesh MCP Proxy, Bla or Bla Agents

UniFi Protect MCP: common questions

Does UniFi Protect MCP work with a local console?

Yes. The source says the Protect server connects to a console you name on your network. Nothing leaves your network unless you add the optional Cloud Relay.

How many tools does the Protect server provide?

The source lists 68 tools for the Protect server, and marks it as stable.

Is the HTTP transport secured?

MCP HTTP is unauthenticated by default and meant for trusted local clients. Setting UNIFI_MCP_HTTP_AUTH_TOKEN requires a bearer token on every HTTP request.

How do I install UniFi Protect MCP?

In Claude Code run claude mcp add unifi-protect-mcp -e UNIFI_HOST=YOUR_UNIFI_HOST -e UNIFI_USERNAME=YOUR_UNIFI_USERNAME -e UNIFI_PASSWORD=YOUR_UNIFI_PASSWORD -- uvx unifi-protect-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is UniFi Protect MCP the official server?

UniFi Protect MCP is a community project by sirkirby, not verified by a company domain.

Is UniFi Protect MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is UniFi Protect MCP safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to UniFi Protect MCP?

Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.

Does UniFi Protect MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

UniFi Protect MCP Install

Add to stack

Loading.