x402 api for Cursor
io.github.fernsugi/x402-api
DeFi data API for AI agents — pay-per-call via x402/USDC on Base
client:Cursor
transport:stdio
runtime:npm
Install x402 api in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"x402-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@x402-api/mcp-server"
],
"env": {
"X402_API_BASE_URL": "<X402_API_BASE_URL>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs