MCP server
x402-code-mcp
x402 paid API for AI agents. USDC on Base. CDP facilitator.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 5 days ago
About x402-code-mcp
x402-code-mcp is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add x402-code-mcp -- npx -y x402-code-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"x402-code-mcp": {
"command": "npx",
"args": [
"-y",
"x402-code-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"x402-code-mcp": {
"command": "npx",
"args": [
"-y",
"x402-code-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"x402-code-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x402-code-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"x402-code-mcp": {
"command": "npx",
"args": [
"-y",
"x402-code-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"x402-code-mcp": {
"command": "npx",
"args": [
"-y",
"x402-code-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
x402-code-mcp FAQ
Is x402-code-mcp free?
Yes. x402-code-mcp is open source, so you can use and self-host it for free.
How do I add x402-code-mcp to Claude Code?
Run this command in your terminal: claude mcp add x402-code-mcp -- npx -y x402-code-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.