Skip to content
Grok

agentpay for Grok

io.github.romudille-bit/agentpay

Budget-capped x402 payments for AI agents: verifiable receipts, trust routing, 17 free tools.

client:Grok transport:stdio runtime:npm

Install agentpay 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": {
    "agentpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@romudille/agentpay-mcp"
      ],
      "env": {
        "AGENTPAY_BASE_KEY": "<AGENTPAY_BASE_KEY>",
        "AGENTPAY_MAX_SPEND": "<AGENTPAY_MAX_SPEND>"
      }
    }
  }
}

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

agentpay in other clients