m2mcent
About
x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
BASE_RPC_URL RELAYER_PRIVATE_KEY TREASURY_ADDRESSClaude Code
claude mcp add --env BASE_RPC_URL= --env RELAYER_PRIVATE_KEY= --env TREASURY_ADDRESS= m2mcent -- npx m2mcent-sdk
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"m2mcent","command":"npx","args":["m2mcent-sdk"],"env":{"BASE_RPC_URL":"","RELAYER_PRIVATE_KEY":"","TREASURY_ADDRESS":""}}'
JSON
{
"mcpServers": {
"m2mcent": {
"command": "npx",
"args": [
"m2mcent-sdk"
],
"env": {
"BASE_RPC_URL": "",
"RELAYER_PRIVATE_KEY": "",
"TREASURY_ADDRESS": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.