Best for
- Home or small-office users running a local UniFi gateway who want AI-assisted network operations
- Technically comfortable users familiar with UniFi controller concepts who will validate tool behavior incrementally
Broad feature coverage (devices, networks, WiFi, firewall, QoS, backups, topology), but the server.json manifest and the README's described latest version disagree on packaging, transport, and auth variables, and several enterprise security features remain planned rather than implemented — verify the docs for the specific version installed before relying on it.
Strongest · Maintenance 15/20 Weakest · Reliability 6/20
Static review · not runListed 2026-08-26
Read the FMRS scoring method →Runtime:Python 3.10+ · Docker · Node.js
UNIFI_HOST
UniFi Controller hostname or IP address (required by server. manifest).
UNIFI_USERNAME
UniFi Controller username.
UNIFI_PASSWORD
UniFi Controller password, secret.
UNIFI_API_KEY
API key created in unifi.ui.com under Settings → Control Plane → Integrations; shown only once.
UNIFI_API_TYPE
API mode: local (recommended), cloud-ea, or cloud-v1.
REDIS_PASSWORD
Redis password if authentication is required, secret.
WEBHOOK_SECRET
Secret for webhook HMAC signature verification, secret.
UNIFI_PORT
Controller port, default 443.
UNIFI_VERIFY_SSL
Whether to verify the SSL certificate, default true.
UNIFI_SITE
UniFi site name, default 'default'.
UNIFI_LOCAL_HOST
Local gateway IP (e.g. 192.168.2.1), used in local mode.
UNIFI_LOCAL_PORT
Local gateway port, default 443.
UNIFI_LOCAL_VERIFY_SSL
Whether to verify local gateway SSL, default false.
UNIFI_CLOUD_API_URL
Cloud API URL, default https://api.ui.com.
UNIFI_DEFAULT_SITE
Default site ID, default 'default'.
UNIFI_SITE_MANAGER_ENABLED
Enable Site Manager multi-site tools (cloud-ea only), default false.
UNIFI_PROFILE
Tool exposure profile: network, devices, security, system, or minimal; default loads all tools.
MCP_SERVER_TRANSPORT
Transport mode: stdio (default), sse, http, or streamable_http.
MCP_SERVER_HOST
Bind address for HTTP/SSE, default 0.0.0.0.
MCP_SERVER_PORT
Port for HTTP/SSE, default 3000.
REDIS_HOST
Optional Redis cache host, default localhost.
REDIS_PORT
Optional Redis cache port, default 6379.
REDIS_DB
Optional Redis database number, default 0.
1) Determine which distribution you're actually installing: the repo's server.json manifest corresponds to an npm package (v0.2.0, stdio transport, requiring UNIFI_HOST/UNIFI_USERNAME/UNIFI_PASSWORD), while the README describes the latest stable release (v0.2.5) installed via pip install unifi-mcp-server with a different UNIFI_API_KEY/UNIFI_API_TYPE-based config — the two env-var schemes are not interchangeable, so confirm which one matches your install. 2) For the npm package, launch it in your MCP client with npx -y unifi-mcp-server and set UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD (optionally UNIFI_PORT, UNIFI_VERIFY_SSL, UNIFI_SITE). 3) For the PyPI package, use the README's UNIFI_API_KEY/UNIFI_API_TYPE/UNIFI_LOCAL_HOST variables instead. 4) Restart your client and test with a read-only tool first before running any mutating operations.
{"mcpServers":{"unifi":{"command":"npx","args":["-y","unifi-mcp-server"],"env":{"UNIFI_HOST":"your-unifi-controller-host","UNIFI_USERNAME":"your-username","UNIFI_PASSWORD":"your-password"}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"unifi": {
"command": "npx",
"args": [
"-y",
"unifi-mcp-server"
],
"env": {
"UNIFI_HOST": "your-unifi-controller-host",
"UNIFI_USERNAME": "your-username",
"UNIFI_PASSWORD": "your-password"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add unifi -e UNIFI_HOST=your-unifi-controller-host -e UNIFI_USERNAME=your-username -e UNIFI_PASSWORD=your-password -- npx -y unifi-mcp-server
Run it in a terminal; replace any <…> placeholders with your own values first.
After starting the server, check that tools like list_devices appear in your MCP client's tool list, then ask it to list devices on a site to confirm the connection.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
UniFi MCP Server is a third-party community project (by enuno) that exposes the UniFi Network Controller's official API to AI agents via the Model Context Protocol. It can list and control devices (APs, switches, gateways), manage clients, create/modify WiFi networks and VLANs, configure firewall rules and Zone-Based Firewall (ZBF) policies, and manage QoS, backups, and multi-site setups. The repository contains two overlapping configuration stories: the published server.json manifest (npm package v0.2.0, stdio transport, authenticating with UNIFI_HOST/UNIFI_USERNAME/UNIFI_PASSWORD) and the README's description of the latest release (PyPI package v0.2.5, authenticating with UNIFI_API_KEY and UNIFI_API_TYPE, and supporting stdio/SSE/HTTP/Streamable HTTP transports). The README also states several 'Phase 5' capabilities (dry-run mode, audit logging, RBAC, A2A) are still planned, not yet implemented — check the docs for the version you actually install.
Manage your Hevy workout data from AI assistants via MCP.
Firecrawl's official MCP server for web search, scraping, and structured extraction for AI agents
One binary. One grammar. Evidence from the biomedical sources you already trust.
Encrypted, fully offline long-term memory for AI agents
Source revision 820ce435cb54 Data synced 2026-10-19 Read the FMRS scoring method