UniFi MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
UniFi MCP Server
This software is a personal project that I'mreleasing via the MIT License. Furthermore, this project has no affiliation with Ubiquiti, Inc. UniFi, UniFi Dream Machine, and UniFi Site Manager are registered trademarks of Ubiquiti Inc.
This MCP server should be considered early beta. I don't plan on introducing any breaking changes, but please keep in mind that it may nonetheless twitch a little between updates. Tools will be added as the UniFi SM and Network APIs mature, but more realistically as often as time permits on my side.
About This Project
This MCP server's intended use is to allow MCP-capable clients (e.g., Claude Desktop) to directly interact with UniFi Site Manager and UniFi Dream Machine and make the available telemetry usable in a conversational context. It has not been tested outside of this scope (but it's probably fine).
This server provides the following tools:
mcpGetClientDetails
mcpGetClients
mcpGetISPMetrics
mcpGetDateAndTime
mcpPing
Schema and decriptions for each tool are documented in their respective files. Test coverage is available for observation/validation purposes.
A Dockerfile is provided and has been tested inPodman. This is the recommended approach to running the server.
Related MCP server: unifi-rmcp
API Keys
Instructions for obtaining API keys are in the sample.env file. It's beyond the scope of this project to dictate how you manage these secrets. The JSON blob provided below is obviously the fastest way to get started, but you're encouraged to handle these keys in a way that is in accordance with your policies, or, more bluntly, in a way that doesn't keep you up at night.
JSON configuration for your MCP client
{
"mcp-unifi": {
"command": "<path/to/podman>",
"args": [
"run",
"--rm",
"-i",
"--env-file",
"<path/to/.env>",
"mcp-unifi:latest"
]
}
}Statement on AI
This project was pair-programmed with Claude Code. Claude wrote the unit tests, Dockerfile, and assisted with answering the odd question I had about the inner-workings of the MCP SDK.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Secure and manage MCP servers through the Speakeasy AI Control Plane from your agent.
Managed MCP gateway with OAuth, per-agent permissions, shared accounts and activity logs.
Remote MCP server for managing Muninx tickets, messages, ticket search, and support analytics.
Manage uptime monitors, incidents and status pages from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA safety-first MCP server for managing UniFi networks, exposing 17 tools for telemetry, diagnostics, and guarded mutations with dry-run previews and confirm requirements.16MIT
- AlicenseNot gradedqualityCmaintenanceMCP server and CLI for UniFi Network controllers: clients, devices, WLANs, firewall, and health over stdio or streamable HTTP, with auth.5AGPL 3.0
- AlicenseAqualityDmaintenanceMCP server providing typed, safety-gated access to UniFi Network consoles via the official API, enabling management of devices, clients, networks, WiFi, firewall policies, and more.1654 npm2MIT
- AlicenseAqualityCmaintenanceEnables local UniFi Network inspection and management through MCP, providing typed read-only inventory of sites, devices, clients, and networks, with preview-first, explicitly confirmed device rename and LED locate operations.8MIT