Skip to content
Cursor

UniFi Network for Cursor

io.github.graf3x/unifi-mcp

Diagnostics and owner-approved changes for one UniFi Network console, over its local API.

client:Cursor transport:stdio runtime:oci

Install UniFi Network in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "unifi-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/graf3x/unifi-mcp:0.13.0"
      ],
      "env": {
        "UNIFI_URL": "<UNIFI_URL>",
        "UNIFI_API_KEY": "<UNIFI_API_KEY>",
        "UNIFI_CERT_SHA256": "<UNIFI_CERT_SHA256>",
        "MCP_LAN_LISTEN": "<MCP_LAN_LISTEN>",
        "MCP_LAN_ACCESS_TOKEN": "<MCP_LAN_ACCESS_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

UniFi Network in other clients