Skip to content
Grok

mcp-hub for Grok

io.github.ni-c/mcp-hub

Many stdio MCP servers from one container, published over HTTPS with OAuth 2.1 for any MCP client

client:Grok transport:stdio runtime:npm

Install mcp-hub 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": {
    "mcp-hub": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/mcp-hub"
      ],
      "env": {
        "CONFIG_PATH": "<CONFIG_PATH>",
        "IDLE_TIMEOUT_MINUTES": "<IDLE_TIMEOUT_MINUTES>",
        "TOOL_CACHE_PATH": "<TOOL_CACHE_PATH>",
        "LOG_FILE": "<LOG_FILE>"
      }
    }
  }
}

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

mcp-hub in other clients