Skip to content
Grok

inference mcp for Grok

io.github.bsvkey/inference-mcp

Pay-per-token Claude & Grok inference, settled in BSV, via the inference.bsvkey.com gateway.

client:Grok transport:stdio runtime:npm

Install inference mcp 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": {
    "inference-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@bsvkey/inference-mcp"
      ],
      "env": {
        "BSVKEY_API_KEY": "<BSVKEY_API_KEY>",
        "BSVKEY_BASE_URL": "<BSVKEY_BASE_URL>",
        "BSVKEY_WIF": "<BSVKEY_WIF>",
        "BSVKEY_FUNDED_SATS": "<BSVKEY_FUNDED_SATS>",
        "BSVKEY_RECEIPT_STATE": "<BSVKEY_RECEIPT_STATE>"
      }
    }
  }
}

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

inference mcp in other clients