UniFi MCP — Claude Code MCP server: what it does, how to install
Connects an AI agent to the UniFi Network API for configuration checks, topology views, and network-rule analysis. Useful when managing UniFi through chat.
Open on GitHubWhat UniFi MCP does
UniFi MCP connects Claude Code and other MCP-capable agents to the UniFi Network API. It exposes API operations, checks for configuration drift, maps network topology, and predicts the impact of network rules. The project is community-built and is not affiliated with Ubiquiti.
In Claude Code, add the Servosity/msp-skills marketplace and install unifi-network. The package includes unifi-network-cli, unifi-network-mcp, and SKILL.md; the CLI also provides an installation check. Use the default stdio transport. HTTP mode in this build has no password and can accept requests from outside the local process, so it must not be started.
What it helps with
- run UniFi Network API operations
- spot configuration drift across UniFi systems
- inspect network topology through an agent
- predict the effect of a network rule
Example prompts for the agent
- Show the current UniFi Network topology and explain the device links.
- Check UniFi for configuration drift and list the changes you find.
- Analyze this network rule and predict what it will affect.
How to install UniFi MCP
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about UniFi MCP
How do I install UniFi MCP in Claude Code?
Run /plugin marketplace add Servosity/msp-skills first, then run /plugin install unifi-network@msp-skills.
What does UniFi MCP do?
It connects an agent to the UniFi Network API and exposes tools for API operations, drift checks, topology inspection, and network-rule analysis.
Can I run UniFi MCP over HTTP?
No. The HTTP mode in this build has no password and accepts connections through multiple interfaces, so use the default stdio transport.