Skip to content
Grok

unifi for Grok

io.github.us-all/unifi

UniFi semantic-analysis MCP — fleet health, anomaly detection, cross-site analytics

client:Grok transport:stdio runtime:npm

Install unifi 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": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@us-all/unifi-mcp"
      ],
      "env": {
        "UNIFI_API_KEY": "<UNIFI_API_KEY>",
        "UNIFI_API_URL": "<UNIFI_API_URL>",
        "UNIFI_API_KEY_OWNER": "<UNIFI_API_KEY_OWNER>",
        "UNIFI_TOOLS": "<UNIFI_TOOLS>",
        "UNIFI_DISABLE": "<UNIFI_DISABLE>",
        "UNIFI_LOCAL_URL": "<UNIFI_LOCAL_URL>",
        "UNIFI_LOCAL_USER": "<UNIFI_LOCAL_USER>",
        "UNIFI_LOCAL_PASS": "<UNIFI_LOCAL_PASS>",
        "UNIFI_LOCAL_SITE": "<UNIFI_LOCAL_SITE>",
        "UNIFI_LOCAL_INSECURE": "<UNIFI_LOCAL_INSECURE>"
      }
    }
  }
}

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 in other clients