p402 for Windsurf
io.github.z333q/p402
Multi-provider AI router with x402 micropayment settlement on Base L2. 1% flat fee.
client:Windsurf
transport:stdio
runtime:npm
Install p402 in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"p402": {
"command": "npx",
"args": [
"-y",
"@p402/mcp-server"
],
"env": {
"P402_API_KEY": "<P402_API_KEY>",
"P402_ROUTER_URL": "<P402_ROUTER_URL>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs