An MCP server that leverages official UniFi API
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A Model Context Protocol (MCP) server that exposes the UniFi Network Controller API today and is evolving into a production-grade multi-domain platform for Protect, Access, and enterprise-scale orchestration.
See SPEC.md for the architecture target and DEVELOPMENT_PLAN.md for the phase roadmap.
Give operators a fast, safe reading order for understanding what the server does today, what it is becoming, and which docs govern rollout decisions.
SPEC.md and the current work item in DEVELOPMENT_PLAN.md.SPEC.md for architecture intent and DEVELOPMENT_PLAN.md for sequencing.API.md and docs/UNIFI_API.md for implementation surface details.NETWORK_PLAYBOOK.md, HARBOR_SETUP.md, MULTI_CONTROLLER.md, METRICS.md, WEBHOOK_SETUP.md, and A2A.md when operating or extending phase 5 systems.RELEASE_CHECKLIST.md and docs/RELEASE_PROCESS.md before tagging or publishing.Current Stable Release: 0.2.5 (May 1, 2026) ๐
Installation:
Roadmap focus:
See: RELEASE_NOTES_0.2.5.md for complete changelog.
SPEC.mdDEVELOPMENT_PLAN.mdPrevious Release - v0.2.4 (2026-02-19):
ImportError: cannot import 'config' from 'agnost' prevented startup. Fixed by moving agnost imports inside the conditional block.agnost==0.1.13 from version range (>=0.1.12,!=0.1.13)Previous Release - v0.2.3 (2026-02-18):
Previous Release - v0.2.2 (2026-02-16):
Major Release - v0.2.0 (2026-01-25):
See CHANGELOG.md for complete release notes and VERIFICATION_REPORT.md for detailed verification.
The UniFi MCP Server supports three distinct API modes with different capabilities:
Full feature support - Direct access to your UniFi gateway.
UNIFI_API_TYPE=local + UNIFI_LOCAL_HOST=<gateway-ip>Site-centric access - UniFi cloud API with limited but functional read-only capabilities.
siteId, _id, name, or meta.name)UNIFI_SITE_MANAGER_ENABLED=trueUNIFI_API_TYPE=cloud-ea + optional UNIFI_SITE_MANAGER_ENABLED=trueLimited to aggregate statistics - UniFi stable v1 cloud API.
UNIFI_API_TYPE=cloud-v1๐ก Recommendation: Use Local Gateway API (UNIFI_API_TYPE=local) for full functionality. Cloud APIs are suitable only for high-level monitoring dashboards.
The UniFi MCP Server supports multiple transport modes for different deployment scenarios:
Local subprocess communication โ Best for Claude Desktop, Cursor, and local AI clients.
MCP_SERVER_TRANSPORT=stdio (default)Network-accessible HTTP server โ legacy transport, kept for backward compatibility.
mcp-remote can send the first tool call before the SSE initialize handshake finishes, which the MCP SDK rejects with Received request before initialization was complete (see #96). This is a timing issue in the SSE transport itself (upstream in the mcp SDK / client proxy, not this server's tool logic), so it cannot be fixed from this codebase.MCP_SERVER_TRANSPORT=sse + MCP_SERVER_PORT=3000Standard HTTP transport โ Alternative network mode.
MCP_SERVER_TRANSPORT=http + MCP_SERVER_PORT=3000Modern HTTP transport โ the current MCP transport standard, and the successor to SSE.
mcp-remoteMCP_SERVER_TRANSPORT=streamable_http + MCP_SERVER_PORT=3000 + MCP_AUTH_TOKEN=<token>No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/unifi-mcp-server)<a href="https://allmcps.com/mcp/unifi-mcp-server"><img src="https://allmcps.com/api/badge/unifi-mcp-server?style=directory" alt="Unifi MCP Server on AllMCPs" /></a>