Skip to content
Grok

tryx402 for Grok

io.github.crypto-yannso/tryx402

Budget router over x402: hard budget caps, idempotent paid calls, cost ledger, server-side pricing.

client:Grok transport:stdio runtime:pypi

Install tryx402 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": {
    "tryx402": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tryx402"
      ],
      "env": {
        "GATEWAY_MAX_BUDGET_USD": "<GATEWAY_MAX_BUDGET_USD>",
        "TRYX402_API_KEY": "<TRYX402_API_KEY>"
      }
    }
  }
}

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

tryx402 in other clients