Skip to content
ReviewRamble

The weekly brief

AI, reviewed, in your inbox.

  • New reviews of tools, models, MCP servers and repos, with the verdict up front
  • Re-checked prices and ratings when something changes
  • New analysis pieces as they are published

Models, agents, MCP servers and the tools actually worth your time.

One email a week. Unsubscribe with the link in any brief. How we use your email

UniFi MCP

Community suite of MCP servers for UniFi Network, Protect and Access, with preview-then-confirm on every change and secrets redacted.

Reviewed by ReviewRamble editors · Updated

Setup docs Open source

Share this page:XLinkedInFacebookRedditWhatsAppEmail

Our rating

4.4/5

The UniFi server to install, because it treats your firewall like something that can break: every change is previewed, every secret is masked, and the tool list loads only as needed.

What is UniFi MCP?

UniFi MCP, from the GitHub user sirkirby, is a set of MCP servers for Ubiquiti's UniFi applications: Network (217 tools for clients, devices, firewall policies, VLANs, Wi-Fi, VPN and traffic flows), Protect (68 tools for cameras and events), Access (38 tools for doors and credentials), and beta servers for the cloud Site Manager API and InnerSpace floor plans. It also ships Claude Code, Codex and OpenClaw plugins with agent skills, a REST and GraphQL API server, and an optional Cloudflare-hosted relay for remote access.

It is the most-starred UniFi MCP project, at about 1,129 stars, MIT-licensed and written in Python 3.13+. It is not from Ubiquiti. Releases are frequent: Network v0.50.3 shipped on 24 November 2026, and PyPI counts about 20,104 downloads of unifi-network-mcp in the last week.

How to install UniFi MCP

uvx unifi-network-mcp@latest

Is UniFi MCP worth it?

UniFi MCP's safety model is the reason to choose it. In the default confirm mode, any tool that creates, updates or deletes returns a preview of the change first, and nothing reaches the controller until the agent calls again to confirm. Policy gates such as UNIFI_POLICY_NETWORK_FIREWALL_POLICIES_DELETE=false turn off whole classes of change per category. Wi-Fi passphrases, VPN keys, imported WireGuard configs, SNMP strings and Access PINs come back as ***REDACTED***, and passing that marker back in an update is rejected so it can never overwrite a real secret.

Scale is handled as carefully. Network alone has 217 tools, so the default lazy mode exposes a handful of meta-tools for searching the index, executing and batching, and loads domain tools as a task needs them. Confirmed writes to a controller run one at a time, in order, and reads are capped at 8 concurrent calls, which keeps a busy agent from hammering a small gateway. The servers refuse to load .env or YAML files from the working directory, because an MCP client may launch them inside an untrusted project.

The catch: the console servers need a local UniFi admin account, and Network does not support accounts with SSO MFA or local 2FA, so the documented route is a dedicated local admin with no MFA. That is a real credential to guard. HTTP transport is off by default but unauthenticated when switched on unless you set a bearer token, and the Site Manager server's single key reads every console on the account through Ubiquiti's cloud. The project moves fast enough that the README has an upgrade guide for its own plugins.

Our take: for anyone running a UniFi gateway, this is closer to a well-run admin tool than a demo. The serious rival is enuno's unifi-mcp-server, at about 383 stars, with 365 tools, Protect support and a fleet mode for many controllers; sirkirby's has far more users and also covers UniFi Access.

Where it earns its place

  • A homelab owner with a UniFi Dream Machine and 60 clients

    Audit firewall policies for redundant or conflicting rules

    Install the unifi-network plugin in Claude Code, keep confirm mode on and ask for an audit. The agent reads every policy and proposes fixes as previews; nothing changes until you confirm. Free.

  • An office manager at a 25-person firm with UniFi Protect cameras

    Find when a delivery van arrived yesterday and who opened the side door

    Run the Protect and Access servers together and ask the agent to match camera events with door unlock logs for the time window. Read-only queries need no confirmation and stay on the local network.

  • An MSP technician looking after a dozen client sites

    Check which consoles are offline or behind on firmware

    Give the Site Manager server one read-only API key and ask for an account-wide inventory with WAN health. It reads through api.ui.com, so the key should live in a file only the technician can read.

Before you commit

Setup
In Claude Code, /plugin marketplace add sirkirby/unifi-mcp, install unifi-network@unifi-plugins and run its setup command; other clients run uvx unifi-network-mcp@latest with the console host, a local admin username and a password, ideally through a file or command credential provider.
Integrations
UniFi Network, Protect and Access on a local console; Site Manager cloud API (beta, 9 read-only tools); InnerSpace floor plans (beta); plugins for Claude Code, Codex and OpenClaw; unifi-api-server with REST and GraphQL; optional OTLP tracing.
Data and privacy
Console servers talk only to your console unless you add the Cloud Relay, which routes through a Cloudflare Worker you deploy. Site Manager requests always go to api.ui.com. Known secret fields are redacted by default. HTTP mode binds to 127.0.0.1 and accepts a bearer token of at least 32 characters.
Cost at scale
Free under MIT. Cloud Relay runs on your Cloudflare account at that account's rates.
Limits
UNIFI_WRITE_HOLD_SECONDS defaults to 120 and reads are capped at 8 concurrent calls per server process. Drive server not yet released. About 34 open issues at the time of checking.

What’s good

  • Preview-then-confirm on every mutation by default
  • Secrets redacted, and the marker cannot be written back
  • Lazy tool loading across 217 Network tools
  • Network, Protect and Access in one project

What’s not

  • Needs a local admin account without MFA
  • HTTP transport unauthenticated unless a token is set
  • Site Manager key reads the whole UI account
  • Fast release pace means frequent upgrades

Best for

Homelab owners, small offices and MSPs on UniFi gateways who want an agent to audit firewall rules, find clients and review camera events, with every change confirmed first.

UniFi MCP alternatives

UniFi MCP: common questions

Is UniFi MCP worth it?
The UniFi server to install, because it treats your firewall like something that can break: every change is previewed, every secret is masked, and the tool list loads only as needed. We rate it 4.4 out of 5.
How much does UniFi MCP cost?
Free and open source (MIT). The optional Cloud Relay runs on your own Cloudflare account.
What are the downsides of UniFi MCP?
Needs a local admin account without MFA; hTTP transport unauthenticated unless a token is set; site Manager key reads the whole UI account; fast release pace means frequent upgrades.
Who is UniFi MCP best for?
Homelab owners, small offices and MSPs on UniFi gateways who want an agent to audit firewall rules, find clients and review camera events, with every change confirmed first.
How much does UniFi MCP cost for a team or in production?
Free under MIT. Cloud Relay runs on your Cloudflare account at that account's rates.
Is UniFi MCP safe for company data?
Console servers talk only to your console unless you add the Cloud Relay, which routes through a Cloudflare Worker you deploy. Site Manager requests always go to api.ui.com. Known secret fields are redacted by default. HTTP mode binds to 127.0.0.1 and accepts a bearer token of at least 32 characters.
What are the best UniFi MCP alternatives?
The closest alternatives we have reviewed are Tailscale MCP Server and Home Assistant MCP Server.

Answers checked Nov 25, 2026.

Make UniFi MCP? Show this rating on your siteUniFi MCP rated 4.4 out of 5 on ReviewRamble