NestDaddy

P402

io.github.Z333Q/p402 · v1.0.0

Multi-provider AI router with x402 micropayment settlement on Base L2. 1% flat fee.

Connect Runs on your machine

Terminal
claude mcp add p402 -e P402_API_KEY=<P402_API_KEY> -e P402_ROUTER_URL=<P402_ROUTER_URL> -- npx -y @p402/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "p402": {
      "command": "npx",
      "args": [
        "-y",
        "@p402/[email protected]"
      ],
      "env": {
        "P402_API_KEY": "<P402_API_KEY>",
        "P402_ROUTER_URL": "<P402_ROUTER_URL>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "p402": {
      "command": "npx",
      "args": [
        "-y",
        "@p402/[email protected]"
      ],
      "env": {
        "P402_API_KEY": "<P402_API_KEY>",
        "P402_ROUTER_URL": "<P402_ROUTER_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "p402": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@p402/[email protected]"
      ],
      "env": {
        "P402_API_KEY": "<P402_API_KEY>",
        "P402_ROUTER_URL": "<P402_ROUTER_URL>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
P402_API_KEY
Required, secret
Your P402 API key. Get one at https://p402.io/dashboard/settings
P402_ROUTER_URL
Optional
P402 router base URL override. Defaults to https://p402.io

Details

Package@p402/[email protected] (NPM, stdio)
First published17 Mar 2026
Last updated17 Mar 2026
Registry nameio.github.Z333Q/p402

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.