Skip to content
Grok

CRA AGENT for Grok

io.github.giupy997/cra-agent

Lets an agent pay for x402 APIs in USDC on Arc, under a spending policy it cannot change.

client:Grok transport:stdio runtime:npm

Install CRA AGENT 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": {
    "cra-agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cra-agent/mcp"
      ],
      "env": {
        "CRA_NETWORK": "<CRA_NETWORK>",
        "CRA_KEY_FILE": "<CRA_KEY_FILE>",
        "CRA_POLICY": "<CRA_POLICY>",
        "CRA_RPC_URL": "<CRA_RPC_URL>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}

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

CRA AGENT in other clients