Open-source MCP server for configuring and controlling Home Assistant from Claude, ChatGPT and other assistants: automations, dashboards, devices and backups.
UniFi MCP
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.
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 alternativesMCP: 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.
MCP: CVE MCP Server
by mukul975
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.
MCP: WHOIS/RDAP Lookup
by KincaidYang
Self-hosted WHOIS/RDAP lookup server for domains, IPv4/IPv6, CIDR blocks, and ASNs, with batch queries over MCP.