x402 Wallet for Cursor
io.github.nirholas/x402-mcp
Self-custodial x402 wallet for AI agents: pay any service in USDC or $THREE from your own key.
client:Cursor
transport:stdio
runtime:npm
Install x402 Wallet in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"x402-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/x402-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>",
"SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
"MAX_PAY_USD": "<MAX_PAY_USD>",
"REQUIRE_CONFIRM": "<REQUIRE_CONFIRM>",
"THREE_WS_BASE": "<THREE_WS_BASE>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs