Skip to content
Grok

UniFi Network for Grok

io.github.graf3x/unifi-mcp

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

client:Grok transport:stdio runtime:oci

Install UniFi Network in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

UniFi Network in other clients