Skip to content
MCP server

CRA AGENT

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.0.11
Listing updated
5 days ago

About CRA AGENT

CRA AGENT is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add cra-agent --env CRA_NETWORK='<CRA_NETWORK>' --env CRA_KEY_FILE='<CRA_KEY_FILE>' -- npx -y @cra-agent/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "cra-agent": {
      "command": "npx",
      "args": [
        "-y",
        "@cra-agent/mcp"
      ],
      "env": {
        "CRA_NETWORK": "<CRA_NETWORK>",
        "CRA_KEY_FILE": "<CRA_KEY_FILE>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "cra-agent": {
      "command": "npx",
      "args": [
        "-y",
        "@cra-agent/mcp"
      ],
      "env": {
        "CRA_NETWORK": "<CRA_NETWORK>",
        "CRA_KEY_FILE": "<CRA_KEY_FILE>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "cra-agent": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cra-agent/mcp"
      ],
      "env": {
        "CRA_NETWORK": "<CRA_NETWORK>",
        "CRA_KEY_FILE": "<CRA_KEY_FILE>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cra-agent": {
      "command": "npx",
      "args": [
        "-y",
        "@cra-agent/mcp"
      ],
      "env": {
        "CRA_NETWORK": "<CRA_NETWORK>",
        "CRA_KEY_FILE": "<CRA_KEY_FILE>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "cra-agent": {
      "command": "npx",
      "args": [
        "-y",
        "@cra-agent/mcp"
      ],
      "env": {
        "CRA_NETWORK": "<CRA_NETWORK>",
        "CRA_KEY_FILE": "<CRA_KEY_FILE>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CRA_NETWORKarc (mainnet) or arcTestnetRequired
  • CRA_KEY_FILEPath to a chmod 600 file holding the agent's private key. Never put the key in a prompt.Required
  • CRA_POLICYSpending limits, e.g. daily=5,per_seller=0.5,per_payment=0.05
  • CRA_RPC_URLOptional RPC endpoints, comma separated, in priority order
  • DATABASE_URLOptional Postgres for the ledger; in memory without it

Pricing

Open source

Prices change. Check cra-agent.tech before you buy.

CRA AGENT FAQ

Is CRA AGENT free?

Yes. CRA AGENT is open source, so you can use and self-host it for free.

How do I add CRA AGENT to Claude Code?

Run this command in your terminal: claude mcp add cra-agent --env CRA_NETWORK='<CRA_NETWORK>' --env CRA_KEY_FILE='<CRA_KEY_FILE>' -- npx -y @cra-agent/mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers