Skip to main content

CRA AGENT

io.github.giupy997/cra-agent

v0.0.11Updated Sep 23, 2026stdio · npm

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

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add cra-agent -e CRA_NETWORK=arcTestnet -e 'CRA_KEY_FILE=<your-cra-key-file>' -- npx -y @cra-agent/[email protected]

Configuration

5 settings.

  • CRA_NETWORK
    Env var· required
    arc (mainnet) or arcTestnetDefault: arcTestnet
  • CRA_KEY_FILE
    Env var· required
    Path to a chmod 600 file holding the agent's private key. Never put the key in a prompt.
  • CRA_POLICY
    Env var· optional
    Spending limits, e.g. daily=5,per_seller=0.5,per_payment=0.05
  • CRA_RPC_URL
    Env var· optional
    Optional RPC endpoints, comma separated, in priority order
  • DATABASE_URL
    Env var· optional
    Optional Postgres for the ledger; in memory without it

Listed in the official MCP Registry since Sep 23, 2026. Mirrored daily; last checked Nov 26, 2026.