UniFi Protect MCP

io.github.sirkirby/unifi-protect-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "unifi-protect-mcp": {
      "command": "uvx",
      "args": [
        "unifi-protect-mcp"
      ],
      "env": {
        "UNIFI_HOST": "<your UNIFI_HOST>",
        "UNIFI_USERNAME": "<your UNIFI_USERNAME>",
        "UNIFI_PASSWORD": "<your UNIFI_PASSWORD>",
        "UNIFI_API_KEY": "<your UNIFI_API_KEY>",
        "UNIFI_PORT": "443",
        "UNIFI_VERIFY_SSL": "false"
      }
    }
  }
}
Environment variables
  • UNIFI_HOSTrequiredController IP/hostname
  • UNIFI_USERNAMErequiredsecretAdmin username
  • UNIFI_PASSWORDrequiredsecretAdmin password
  • UNIFI_API_KEYsecretAPI key (optional, experimental)
  • UNIFI_PORTController HTTPS port
  • UNIFI_VERIFY_SSLSSL certificate verification

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.6
Registry
active
Published
3/24/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that UniFi Protect MCP is listed here — it’s also the link we check for a free listing.

UniFi Protect MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-sirkirby-unifi-protect-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="UniFi Protect MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![UniFi Protect MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-sirkirby-unifi-protect-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.