# UniFi MCP

Connects an AI agent to the UniFi Network API for configuration checks, topology views, and network-rule analysis. Useful when managing UniFi through chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 63
- Author: Servosity
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Servosity/msp-skills/tree/HEAD/skills/unifi-network
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/unifi-mcp

## What it 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.

## Requirements
- Environment variables: `PRINTING_PRESS_CLIENT_PROFILE`, `UNIFI_API_KEY`, `UNIFI_BASE_PATH`, `UNIFI_BASE_URL`, `UNIFI_GATEWAY_HOST` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- 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
- 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.

## Similar
- [UniFi Network MCP](https://affpapa.org/en/nevibecode/mcp/unifi-network-mcp.md) — MCP server · ★ 952
- [UniFi Protect MCP](https://affpapa.org/en/nevibecode/mcp/unifi-protect-mcp.md) — MCP server · ★ 952
- [mcp-unifi-applications](https://affpapa.org/en/nevibecode/mcp/mcp-unifi-applications.md) — MCP server · ★ 40
- [UniFi Gateway](https://affpapa.org/en/nevibecode/mcp/unifi-gateway.md) — MCP server · ★ 26
- [go-unifi-mcp](https://affpapa.org/en/nevibecode/mcp/go-unifi-mcp.md) — MCP server · ★ 6
- [network-protocol-attacks](https://affpapa.org/en/nevibecode/skills/network-protocol-attacks.md) — skill · 3600 installs

From the same set: [servosity/msp-skills](https://affpapa.org/en/nevibecode/by/servosity/msp-skills.md) — 73 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
