m2mcent for Windsurf
io.github.evozim/m2mcent
x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.
client:Windsurf
transport:stdio
runtime:npm
Install m2mcent in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"m2mcent": {
"command": "npx",
"args": [
"-y",
"m2mcent-sdk"
],
"env": {
"BASE_RPC_URL": "<BASE_RPC_URL>",
"RELAYER_PRIVATE_KEY": "<RELAYER_PRIVATE_KEY>",
"TREASURY_ADDRESS": "<TREASURY_ADDRESS>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs