X402-mcp Server

MCP server bringing hundreds of x402-paid APIs to AI agents (Claude, Cursor, MCP-aware clients). Auto-discovers tools from CDP Bazaar; handles USDC micropayments on Base + Solana.

Local serverstdioMIT

What is the X402-mcp Server?

X402 Mcp is an MCP project maintained in the x402node/x402-mcp repository. The maintainer describes its purpose as “MCP server bringing hundreds of x402-paid APIs to AI agents (Claude, Cursor, MCP-aware clients). Auto-discovers tools from CDP Bazaar; handles USDC micropayments on Base +…”. Read the project documentation for the complete scope.

Installation

The documented npm package is x402node-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares X402_PRIVATE_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the X402-mcp Server

{
  "mcpServers": {
    "x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x402node-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "YOUR_X402_PRIVATE_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
X402_PRIVATE_KEYDeclared in the maintainer’s client configuration.Check documentation