L'Agora
MCPLocal

UniFi Site Manager and Network (unofficial)

io.github.mguttmann/the-real-unifi-mcp

Unofficial MCP server for the UniFi Site Manager and Network cloud APIs, with a write-confirm guard.

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 mguttmann

Repository
github.com/mguttmann/the-real-unifi-mcp
Website
github.com/mguttmann/the-real-unifi-mcp#readme
Version
0.4.0
Author
mguttmann (namespace verified by the registry)
Source
Official MCP registry (updated Oct 27, 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_API_KEY, UNIFI_CONFIRM_WRITES, UNIFI_API_BASE, UNIFI_TIMEOUT_MS, UNIFI_LOG_LEVEL, UNIFI_CONSOLE_ID, UNIFI_NETWORK_SITE_ID, UNIFI_SITE_MANAGER_SITE_ID, UNIFI_READ_ONLY, UNIFI_REDACT_SECRETS, UNIFI_MAX_RESULT_BYTES.

On your machine

Claude Code

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

claude mcp add the-real-unifi-mcp -e UNIFI_API_KEY=YOUR_UNIFI_API_KEY -e UNIFI_CONFIRM_WRITES=YOUR_UNIFI_CONFIRM_WRITES -e UNIFI_API_BASE=YOUR_UNIFI_API_BASE -e UNIFI_TIMEOUT_MS=YOUR_UNIFI_TIMEOUT_MS -e UNIFI_LOG_LEVEL=YOUR_UNIFI_LOG_LEVEL -e UNIFI_CONSOLE_ID=YOUR_UNIFI_CONSOLE_ID -e UNIFI_NETWORK_SITE_ID=YOUR_UNIFI_NETWORK_SITE_ID -e UNIFI_SITE_MANAGER_SITE_ID=YOUR_UNIFI_SITE_MANAGER_SITE_ID -e UNIFI_READ_ONLY=YOUR_UNIFI_READ_ONLY -e UNIFI_REDACT_SECRETS=YOUR_UNIFI_REDACT_SECRETS -e UNIFI_MAX_RESULT_BYTES=YOUR_UNIFI_MAX_RESULT_BYTES -- npx -y [email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "the-real-unifi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "UNIFI_API_KEY": "YOUR_UNIFI_API_KEY",
        "UNIFI_CONFIRM_WRITES": "YOUR_UNIFI_CONFIRM_WRITES",
        "UNIFI_API_BASE": "YOUR_UNIFI_API_BASE",
        "UNIFI_TIMEOUT_MS": "YOUR_UNIFI_TIMEOUT_MS",
        "UNIFI_LOG_LEVEL": "YOUR_UNIFI_LOG_LEVEL",
        "UNIFI_CONSOLE_ID": "YOUR_UNIFI_CONSOLE_ID",
        "UNIFI_NETWORK_SITE_ID": "YOUR_UNIFI_NETWORK_SITE_ID",
        "UNIFI_SITE_MANAGER_SITE_ID": "YOUR_UNIFI_SITE_MANAGER_SITE_ID",
        "UNIFI_READ_ONLY": "YOUR_UNIFI_READ_ONLY",
        "UNIFI_REDACT_SECRETS": "YOUR_UNIFI_REDACT_SECRETS",
        "UNIFI_MAX_RESULT_BYTES": "YOUR_UNIFI_MAX_RESULT_BYTES"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "the-real-unifi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "UNIFI_API_KEY": "YOUR_UNIFI_API_KEY",
        "UNIFI_CONFIRM_WRITES": "YOUR_UNIFI_CONFIRM_WRITES",
        "UNIFI_API_BASE": "YOUR_UNIFI_API_BASE",
        "UNIFI_TIMEOUT_MS": "YOUR_UNIFI_TIMEOUT_MS",
        "UNIFI_LOG_LEVEL": "YOUR_UNIFI_LOG_LEVEL",
        "UNIFI_CONSOLE_ID": "YOUR_UNIFI_CONSOLE_ID",
        "UNIFI_NETWORK_SITE_ID": "YOUR_UNIFI_NETWORK_SITE_ID",
        "UNIFI_SITE_MANAGER_SITE_ID": "YOUR_UNIFI_SITE_MANAGER_SITE_ID",
        "UNIFI_READ_ONLY": "YOUR_UNIFI_READ_ONLY",
        "UNIFI_REDACT_SECRETS": "YOUR_UNIFI_REDACT_SECRETS",
        "UNIFI_MAX_RESULT_BYTES": "YOUR_UNIFI_MAX_RESULT_BYTES"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "the-real-unifi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "UNIFI_API_KEY": "YOUR_UNIFI_API_KEY",
        "UNIFI_CONFIRM_WRITES": "YOUR_UNIFI_CONFIRM_WRITES",
        "UNIFI_API_BASE": "YOUR_UNIFI_API_BASE",
        "UNIFI_TIMEOUT_MS": "YOUR_UNIFI_TIMEOUT_MS",
        "UNIFI_LOG_LEVEL": "YOUR_UNIFI_LOG_LEVEL",
        "UNIFI_CONSOLE_ID": "YOUR_UNIFI_CONSOLE_ID",
        "UNIFI_NETWORK_SITE_ID": "YOUR_UNIFI_NETWORK_SITE_ID",
        "UNIFI_SITE_MANAGER_SITE_ID": "YOUR_UNIFI_SITE_MANAGER_SITE_ID",
        "UNIFI_READ_ONLY": "YOUR_UNIFI_READ_ONLY",
        "UNIFI_REDACT_SECRETS": "YOUR_UNIFI_REDACT_SECRETS",
        "UNIFI_MAX_RESULT_BYTES": "YOUR_UNIFI_MAX_RESULT_BYTES"
      }
    }
  }
}
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 Site Manager and Network (unofficial) · L’Agora

[UniFi Site Manager and Network (unofficial) — L’Agora](https://lagora.dev/en/entry/io.github.mguttmann/the-real-unifi-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.mguttmann/the-real-unifi-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.mguttmann/the-real-unifi-mcp on L’Agora](https://lagora.dev/badge/io.github.mguttmann/the-real-unifi-mcp.svg?lang=en)](https://lagora.dev/en/entry/io.github.mguttmann/the-real-unifi-mcp)

HTML

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

Promote

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

By the same author

Snipe-IT (unofficial) Local

Bitwarden Public API and Secrets Manager (unofficial) Local

Hetzner Cloud (unofficial) Local

Action1 RMM (unofficial) Local

Report this entry