Lets an agent pay for x402 APIs in USDC on Arc, under a spending policy it cannot change.
Connect Runs on your machine
claude mcp add cra-agent -e CRA_NETWORK=<CRA_NETWORK> -e CRA_KEY_FILE=<CRA_KEY_FILE> -e CRA_POLICY=<CRA_POLICY> -e CRA_RPC_URL=<CRA_RPC_URL> -e DATABASE_URL=<DATABASE_URL> -- npx -y @cra-agent/[email protected]
{
"mcpServers": {
"cra-agent": {
"command": "npx",
"args": [
"-y",
"@cra-agent/[email protected]"
],
"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>"
}
}
}
}
{
"mcpServers": {
"cra-agent": {
"command": "npx",
"args": [
"-y",
"@cra-agent/[email protected]"
],
"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>"
}
}
}
}
{
"servers": {
"cra-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cra-agent/[email protected]"
],
"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>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
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_POLICYOptional | Spending limits, e.g. daily=5,per_seller=0.5,per_payment=0.05 |
CRA_RPC_URLOptional | Optional RPC endpoints, comma separated, in priority order |
DATABASE_URLOptional | Optional Postgres for the ledger; in memory without it |
Details
| Package | @cra-agent/[email protected] (NPM, stdio) |
| First published | 23 Sep 2026 |
| Last updated | 23 Sep 2026 |
| Registry name | io.github.giupy997/cra-agent |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
