Skip to content

three.ws Agent Payments for Grok

io.github.nirholas/agentcore-payments-mcp

Governed x402 payment sessions: pay any endpoint with budget, allowlist & per-tx caps, no key.

client:Grok transport:stdio runtime:npm

Install three.ws Agent Payments 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": {
    "agentcore-payments-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/agentcore-payments-mcp"
      ],
      "env": {
        "THREE_WS_SESSION": "<THREE_WS_SESSION>",
        "PAYMENT_SESSION_TOKEN": "<PAYMENT_SESSION_TOKEN>",
        "THREE_WS_BASE": "<THREE_WS_BASE>",
        "THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>"
      }
    }
  }
}

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

three.ws Agent Payments in other clients