Skip to content

Summary

Community MCP servers for Ubiquiti UniFi: Network, Protect, Access, Site Manager and InnerSpace, with hundreds of tools for clients, firewall rules, cameras and doors on your own console.

Features

  • Network server with 217 tools for clients, devices, VLANs and firewall policy
  • Protect (cameras) and Access (doors) servers
  • Read-only Site Manager server for every console on a UI account
  • InnerSpace floor plans and device placements
  • Talks to your own console on the LAN; writes use confirmation flows
  • Claude Code, Codex and OpenClaw plugins with agent skills
  • Optional Cloud Relay for authenticated remote access

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "UniFi MCP" tools will be available.
{
  "mcpServers": {
    "unifi-mcp": {
      "command": "uvx",
      "args": [
        "unifi-network-mcp@latest"
      ],
      "env": {
        "UNIFI_NETWORK_HOST": "192.168.1.1",
        "UNIFI_NETWORK_USERNAME": "admin",
        "UNIFI_NETWORK_PASSWORD": "your-password"
      }
    }
  }
}

Description

UniFi MCP is an open-source suite of MCP servers for managing a Ubiquiti UniFi deployment from an agent. It is a community project, not a Ubiquiti product, and it splits the UniFi applications into separately installable servers, each published on PyPI.

The servers
  • Network (unifi-network-mcp, stable, 217 tools): clients, VLANs, devices, traffic flows and firewall policy, so an agent can list guest clients with signal and usage, create a time-boxed firewall rule, or audit policies for conflicts.
  • Protect (unifi-protect-mcp, stable, 68 tools) for cameras and events, and Access (unifi-access-mcp, stable, 38 tools) for doors and credentials.
  • Site Manager (beta, 9 read-only tools) reads Ubiquiti's cloud Site Manager API with one account-wide key for an inventory of consoles, sites, WAN health and SD-WAN status.
  • InnerSpace (beta, 9 read-only tools) reads floor plans, walls and device placements through a console login.

Network, Protect, Access and InnerSpace connect to a console you name on your own network, so the data stays local. Writes go through MCP confirmation flows.

Beyond the servers

The repository also ships Claude Code, Codex and OpenClaw plugins with agent skills and guided setup, a cross-product "intelligence" plugin that investigates incidents across Network and Protect, an independent REST and GraphQL API server for custom applications, and an optional Cloud Relay (a Cloudflare Worker gateway plus a LAN sidecar) for reaching the local servers remotely without exposing them.

Setup

Run each server with uvx (for example uvx unifi-network-mcp@latest) and pass the console host and credentials as environment variables; shared UNIFI_HOST/UNIFI_USERNAME/UNIFI_PASSWORD work when all servers use one controller. Python 3.13+. MIT licensed.

Related MCP Servers

See all UniFi MCP alternatives

MCP: HA-MCP

by homeassistant-ai

New

Open-source MCP server for configuring and controlling Home Assistant from Claude, ChatGPT and other assistants: automations, dashboards, devices and backups.

MCP: IDA Pro MCP

by mrexodia

Open-source MCP server that lets an agent drive IDA Pro for reverse engineering — decompile, trace cross-references, rename, retype, patch and debug — in the GUI or headless through idalib.

Vulnerability triage for AI agents: 28 security tools across 24 free intelligence sources — NVD, EPSS, CISA KEV, MITRE ATT&CK, Shodan and VirusTotal — behind a single triage_cve call.

Browse all MCP servers →