MCP server for x402 — HTTP-native micropayments protocol by Coinbase (USDC on Base/Solana)
Use this profile to copy client config, check auth requirements, review tools and resources, and compare related MCP servers before adding it to an AI client.
npx -y @codespar/mcp-x402{
"X402_API_KEY": "YOUR_SECRET_VALUE"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-codespar-mcp-x402": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-x402"
],
"env": {
"X402_API_KEY": "YOUR_SECRET_VALUE"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
mcp-x402 is an MCP server for MCP server for x402 — HTTP-native micropayments protocol by Coinbase (USDC on Base/Solana). It supports STDIO transport.
Use the generated config in Install. This server runs with npx -y @codespar/mcp-x402; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y @codespar/mcp-x402. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y @codespar/mcp-x402. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y @codespar/mcp-x402. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y @codespar/mcp-x402. Add required environment variables before starting Cursor or VS Code.
mcp-x402 uses STDIO transport. Use the package or command config in Install.
mcp-x402 inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
mcp-x402 is marked with Auth required by registry metadata auth. You may need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
@codespar/mcp-x402stdio | npm | 0.1.2 | Env: X402_API_KEY required secret |