MCP directory
CA

CRA AGENT

by github.com/giupy997 · v0.0.11 · updated Sep 23, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cra-agent/[email protected]

Environment variables

  • CRA_NETWORKrequired

    arc (mainnet) or arcTestnet

  • CRA_KEY_FILErequired

    Path to a chmod 600 file holding the agent's private key. Never put the key in a prompt.

  • CRA_POLICY

    Spending limits, e.g. daily=5,per_seller=0.5,per_payment=0.05

  • CRA_RPC_URL

    Optional RPC endpoints, comma separated, in priority order

  • DATABASE_URL

    Optional Postgres for the ledger; in memory without it

More MCP servers