Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Unifi MCP Server

by enunoversion 0.2.0i★ –iRuns on your computer
Registry nameio.github.enuno/unifi-mcp-server

Install

Overview

Description from the maker (original English)

An MCP server that leverages official UniFi API

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Other
  • You need to fill in: UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD, UNIFI_PORT, UNIFI_VERIFY_SSL, UNIFI_SITE

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "unifi": {
      "command": "npx",
      "args": [
        "-y",
        "unifi-mcp-server"
      ],
      "env": {
        "UNIFI_HOST": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value",
        "UNIFI_PORT": "your-value",
        "UNIFI_VERIFY_SSL": "your-value",
        "UNIFI_SITE": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add unifi --env UNIFI_HOST=your-value --env UNIFI_USERNAME=your-value --env UNIFI_PASSWORD=your-value --env UNIFI_PORT=your-value --env UNIFI_VERIFY_SSL=your-value --env UNIFI_SITE=your-value -- npx -y unifi-mcp-server

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "unifi": {
      "command": "npx",
      "args": [
        "-y",
        "unifi-mcp-server"
      ],
      "env": {
        "UNIFI_HOST": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value",
        "UNIFI_PORT": "your-value",
        "UNIFI_VERIFY_SSL": "your-value",
        "UNIFI_SITE": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "unifi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "unifi-mcp-server"
      ],
      "env": {
        "UNIFI_HOST": "your-value",
        "UNIFI_USERNAME": "your-value",
        "UNIFI_PASSWORD": "your-value",
        "UNIFI_PORT": "your-value",
        "UNIFI_VERIFY_SSL": "your-value",
        "UNIFI_SITE": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • UNIFI_HOST required env
    UniFi Controller hostname or IP address
  • UNIFI_USERNAME required env
    UniFi Controller username
  • UNIFI_PASSWORD secret required env
    UniFi Controller password
  • UNIFI_PORT env
    UniFi Controller port (default: 443)
  • UNIFI_VERIFY_SSL env
    Verify SSL certificate (default: true)
  • UNIFI_SITE env
    UniFi site name (default: default)

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 9, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account enuno, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Otheri

  • More stars than 0% of the other 18697 servers in this category
  • Published to the registry more recently than 2% of the other 18697 servers in this category
  • Basic checks equal to or better than 100% of the other 18697 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Unifi MCP Server safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.2.0) reached the registry 10 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Spec Driven Development, Remote Desktop Commander, phylokit-mcp

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

by formulahendryEarly↓ 66/wk★ 440Updated 14 months ago

Runs on your computer

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

by desktop-commanderGrowing★ 211Updated 4 days ago

Runs in the cloud✓ desktopcommander.app

phylokit-mcp

Phylogenetic inference via IQ-TREE 3 — never returns a topology without its support

by musharnaVery new↓ 150/wkUpdated today

Runs on your computer

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

UniFi MCP Server

AI-native control of UniFi networks through the Model Context Protocol

An MCP server that exposes UniFi Network, UniFi Protect and the UniFi cloud APIs (Site Manager, Mobility, InnerSpace, Carrier Fabric) as MCP tools, so AI agents can read and change UniFi infrastructure through one standard interface. It runs against one controller or, in fleet mode, many.

Current release: 0.8.0. See CHANGELOG.md for what changed.

Contents

  • Features
  • API modes
  • Quick start
  • Agent skills
  • Tool profiles and safety controls
  • Network transports and deployment
  • Calling the server from code
  • Native MCP prompts
  • Documentation
  • Development

Features

343 tools in local mode, from 60 modules.

  • Network: clients (search, block, reconnect), networks and VLANs, WiFi SSIDs, DHCP reservations, DNS, WAN, guest vouchers, QoS profiles and traffic routes, DPI statistics, traffic flows.
  • Devices: inventory, adoption, restart, locate, upgrade, radio settings, port profiles and per-port overrides, switching and stacks, topology export (JSON, GraphML, DOT), diagnostics, WiFi channel planning.
  • Security: legacy firewall rules and groups, zone-based firewall (zones, policies, zone matrix), ACL rules, traffic matching lists, port forwarding, VPN and site-to-site VPN, content filtering, RADIUS and the guest portal.
  • Protect: cameras, NVRs, views, events, sensors, lights, chimes, sirens, relays, speakers, alarm hubs and the alarm manager.
  • Cloud: Site Manager (hosts, sites, cross-site statistics), the connector proxy, Mobility workspaces and devices, InnerSpace floor plans and inventory, Carrier Fabric subscribers and service plans.
  • Operations: sites, backups (create, schedule, download, restore), events, multi-site aggregation, device migration between sites.
  • Fleet mode (optional, with Postgres and Redis): many controllers behind one server, a controller registry with encrypted credentials, server-issued tokens with roles, a shared read cache, several replicas and background workers, and fleet_* tools that read across controllers. See MULTI_CONTROLLER.md and docs/FLEET_SCALING_PLAN.md.
  • Native prompts: eight parameterised UniFi operational workflows (health check, client connectivity, WiFi performance, device investigation, firewall review, change planning, Protect health, fleet summary) exposed through the standard prompts/list and prompts/get operations. See docs/PROMPTS.md.
  • Safety: every mutating tool needs confirm=True and supports dry_run=True, plus read-only and dry-run server modes, role-based access over risk tiers, and a hash-chained audit log (see below).
  • A2A discovery and delegation: an agent card built from the live tool registry, served at /a2a/agent-card and /.well-known/agent-card.json, plus a capability manifest and a delegation endpoint that runs a registered tool under the server's own role, confirmation and audit controls. See A2A.md.
  • Observability: Prometheus /metrics, /healthz, SIEM export of audit records, optional Redis caching, webhooks with HMAC verification.

API modes

Set UNIFI_API_TYPE to choose how the server reaches UniFi.

ModeWhat it reachesUse it for
local (recommended)Your UniFi console or gateway on the LAN (UNIFI_LOCAL_HOST)Everything: device and client control, configuration, firewall, Protect
cloud-eaUniFi's Early Access cloud APISites and aggregate statistics; no per-device control or configuration
cloud-v1UniFi's stable v1 cloud APISites and aggregate statistics; no per-device control or configuration

The cloud tools (Site Manager, Mobility, InnerSpace, Carrier Fabric) call api.ui.com and are registered in every mode. Set UNIFI_SITE_MANAGER_ENABLED=true to use them. In local mode the server registers 343 tools; in either cloud mode, 71.

Zone-based firewall tools need UniFi Network 9.0 or later. Some documented UniFi endpoints do not exist on every firmware version; see docs/UNIFI_API.md.

UniFi Network 11 / UniFi OS 6: compatible per released documentation, with four items pending live-controller verification — not yet a claim of full support. USG gateways and the classic, self-hosted Network Application Server are removed platform targets; fleet_health automatically flags any registered controller with a USG in its device inventory, but there is no API signal to auto-detect a classic Network Application Server, so label that controller instead (e.g. deployment=classic-server) and filter on it. Network 11 replaces the statistics engine and resets historical data, so the statistics tools (get_historical_stats, get_speed_test_history, get_dpi_statistics, list_top_applications, get_client_dpi) attach a statistics_note to every empty response — an empty history right after the upgrade is expected, not an outage. See docs/NETWORK_11_COMPATIBILITY.md for the full compatibility matrix.

Quick start

1. Get an API key
  1. Sign in to UniFi Site Manager.
  2. Go to Settings → Control Plane → Integrations and choose Create API Key.
  3. Copy the key. It is shown only once.
2. Install
pip install unifi-mcp-server          # or: uv tool install unifi-mcp-server

Fleet mode extras (Postgres, Redis):

pip install 'unifi-mcp-server[fleet]'

Or use the container image (amd64, arm64 and arm/v7; the -fleet variant for amd64 and arm64):

docker pull ghcr.io/enuno/unifi-mcp-server:latest
3. Add it to your MCP client

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows), Cursor (mcp.json, from View: Open MCP Settings) and most other MCP clients take the same mcpServers block:

{

"mcpServers": { "unifi": { "command": "uvx", "args": ["unifi-mcp-server"], "env": { "UNIFI_API_KEY": " ", "UNIFI_API_TYPE": "local", "UNIFI_LOCAL_HOST": "192.168.2.1" } } } }

If you installed with pip, use "command": "unifi-mcp-server" and drop args. To run the container instead:

{

"mcpServers": { "unifi": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "UNIFI_API_KEY=your-api-key-here", "-e", "UNIFI_API_TYPE=local", "-e", "UNIFI_LOCAL_HOST=192.168.2.1", "ghcr.io/enuno/unifi-mcp-server:latest" ] } } }

Keep -i and do not add -d: the client talks to the server over the container's stdin and stdout.

4. Main settings
VariablePurposeDefault
UNIFI_API_KEYUniFi API key (required)—
UNIFI_API_TYPElocal, cloud-ea or cloud-v1cloud-ea
UNIFI_LOCAL_HOST / UNIFI_LOCAL_PORTConsole address in local mode— / 443
UNIFI_LOCAL_VERIFY_SSLVerify the console's TLS certificate. false logs a warning at startuptrue
UNIFI_LOCAL_CA_FILECA certificate (PEM) for a self-signed console, instead of turning verification off. Can be the console's own certificate—
UNIFI_LOCAL_TLS_SERVER_NAMEName the console's certificate is checked against, when it is not UNIFI_LOCAL_HOST: unifi.local for UniFi OS's own certificate—
UNIFI_DEFAULT_SITESite used when a tool call names nonedefault
UNIFI_SITE_MANAGER_ENABLEDEnable the cloud tools (Site Manager, Mobility, InnerSpace, Carrier)false
UNIFI_PROFILERegister only one group of tools (profiles)all
UNIFI_READ_ONLY / UNIFI_DRY_RUNRead-only or preview-only serverfalse
DEBUGRegisters debug_api_request (raw GET/DELETE, destructive tier, removed by read-only). Leave unset in productionunset
MCP_SERVER_TRANSPORTstdio, streamable_http, http or ssestdio
MCP_AUTH_TOKENBearer token, required on network transports; viewer: (or operator:, admin:) limits a token's role—
REDIS_URLOptional response cache—
WEBHOOK_SECRETHMAC secret for incoming UniFi webhooks—
DATABASE_URLTurns on fleet mode (Postgres)—

.env.example lists every setting with comments, including audit logging, SIEM export, metrics, Supermemory and agnost.ai.

Agent skills

The skills/ directory holds agent skills: Markdown files an AI agent loads on demand, so it knows which UniFi tools exist and how to use them safely without keeping every tool definition in context. Each skill is a folder with a SKILL.md, in the layout Claude Code and other agents install.

Using the server (operator skills)

SkillCovers
unifi-networkClients, networks and VLANs, WiFi, DHCP, DNS, WAN, vouchers
unifi-devicesInventory, adoption, restarts and upgrades, ports, switching, topology
unifi-securityFirewall rules and groups, zone-based firewall, ACLs, port forwarding, VPN
unifi-systemSites, backups, QoS, traffic flows, DPI, RADIUS, guest portal
unifi-channel-planningLow-interference WiFi channel plans from neighbor scans

Changing this codebase (developer skills)

SkillCovers
unifi-mcp-tool-builderAdding any MCP tool: model, function, registration, tests, docs
unifi-network-config-toolsNetwork configuration tools: URL spaces, site IDs, read-modify-write
unifi-security-toolsFirewall, ZBF, ACL and port forward tools, and their risk tiers
unifi-protect-toolsThe protect_* modules and the Protect client
unifi-cloud-fleet-toolsCloud API tools and the fleet stack
Install

Claude Code loads skills from ~/.claude/skills/ /SKILL.md (every session) or /.claude/skills/ /SKILL.md (one project). Copy the folders you want:

git clone https://github.com/enuno/unifi

Only the beginning is shown; read the rest in the repo

Ask PopNx