m2mcent for Cursor
io.github.evozim/m2mcent
x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.
client:Cursor
transport:stdio
runtime:npm
Install m2mcent in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"m2mcent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"m2mcent-sdk"
],
"env": {
"BASE_RPC_URL": "<BASE_RPC_URL>",
"RELAYER_PRIVATE_KEY": "<RELAYER_PRIVATE_KEY>",
"TREASURY_ADDRESS": "<TREASURY_ADDRESS>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs