L'Agora
MCPLocal

UniFi Protect MCP

io.github.sirkirby/unifi-protect-mcp

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

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by sirkirby

Repository
github.com/sirkirby/unifi-mcp
Version
0.1.6
Author
sirkirby (namespace verified by the registry)
Source
Official MCP registry (updated Mar 24, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

Variables to fill in: UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD, UNIFI_API_KEY, UNIFI_PORT, UNIFI_VERIFY_SSL.

On your machine

Claude Code

The server runs on your machine (pypi package). In a terminal:

claude mcp add unifi-protect-mcp -e UNIFI_HOST=YOUR_UNIFI_HOST -e UNIFI_USERNAME=YOUR_UNIFI_USERNAME -e UNIFI_PASSWORD=YOUR_UNIFI_PASSWORD -e UNIFI_API_KEY=YOUR_UNIFI_API_KEY -e UNIFI_PORT=YOUR_UNIFI_PORT -e UNIFI_VERIFY_SSL=YOUR_UNIFI_VERIFY_SSL -- uvx [email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "unifi-protect-mcp": {
      "command": "uvx",
      "args": [
        "[email protected]"
      ],
      "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": "YOUR_UNIFI_PORT",
        "UNIFI_VERIFY_SSL": "YOUR_UNIFI_VERIFY_SSL"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "unifi-protect-mcp": {
      "command": "uvx",
      "args": [
        "[email protected]"
      ],
      "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": "YOUR_UNIFI_PORT",
        "UNIFI_VERIFY_SSL": "YOUR_UNIFI_VERIFY_SSL"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "unifi-protect-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "[email protected]"
      ],
      "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": "YOUR_UNIFI_PORT",
        "UNIFI_VERIFY_SSL": "YOUR_UNIFI_VERIFY_SSL"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

UniFi Protect MCP · L’Agora

[UniFi Protect MCP — L’Agora](https://lagora.dev/en/entry/io.github.sirkirby/unifi-protect-mcp)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.sirkirby/unifi-protect-mcp on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.sirkirby/unifi-protect-mcp on L’Agora](https://lagora.dev/badge/io.github.sirkirby/unifi-protect-mcp.svg?lang=en)](https://lagora.dev/en/entry/io.github.sirkirby/unifi-protect-mcp)

HTML

<a href="https://lagora.dev/en/entry/io.github.sirkirby/unifi-protect-mcp"><img src="https://lagora.dev/badge/io.github.sirkirby/unifi-protect-mcp.svg?lang=en" alt="io.github.sirkirby/unifi-protect-mcp on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

UniFi Access MCP Local

UniFi Network MCP Local

Report this entry