Skip to content
Grok

autorouter for Grok

io.github.webb-ventures/autorouter

An MCP capability router: one search tool instead of every server's tool schema.

client:Grok transport:stdio runtime:npm

Install autorouter 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": {
    "autorouter": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "autorouter-mcp"
      ],
      "env": {
        "AUTOROUTER_CONFIG": "<AUTOROUTER_CONFIG>",
        "AUTOROUTER_IMPORT": "<AUTOROUTER_IMPORT>",
        "AUTOROUTER_SELECTOR_MODE": "<AUTOROUTER_SELECTOR_MODE>",
        "AUTOROUTER_SELECTOR_MODEL": "<AUTOROUTER_SELECTOR_MODEL>"
      }
    }
  }
}

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

autorouter in other clients