CRA AGENT for Cursor
io.github.giupy997/cra-agent
Lets an agent pay for x402 APIs in USDC on Arc, under a spending policy it cannot change.
client:Cursor
transport:stdio
runtime:npm
Install CRA AGENT in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs