mcpbeat Sign in

MCP X402 MCP Server

local only

MCP X402 runs on your own machine — the client starts it, so there is no endpoint to ping. 30 installs a week from npm. Last commit 29 Aug 2026.

MCP server for x402 — HTTP-native micropayments protocol by Coinbase (USDC on Base/Solana)

Installs per day peak 10 · avg 3 · +200% w/w
a month agotoday
30
Installs / week
npm · @codespar/mcp-x402
271
Stars
8 open issues
29 Aug 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check MCP X402 every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-x402 -- npx -y @codespar/mcp-x402
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-x402": {
      "args": [
        "-y",
        "@codespar/mcp-x402"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-x402]
command = "npx"
args = ["-y", "@codespar/mcp-x402"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-x402": {
      "args": [
        "-y",
        "@codespar/mcp-x402"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mcp-x402": {
      "args": [
        "-y",
        "@codespar/mcp-x402"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: X402_API_KEY (API key for x402). The author declared them in the registry entry; get the values from the project itself.

Alternatives to MCP X402

same job, measured the same way
MCP Coinbase Commerce
by codespar

MCP server for Coinbase Commerce — crypto merchant payments (BTC/ETH/USDC); settle crypto or fiat

29 installs/wk local only
MCP Coinbase Cdp
by codespar

MCP server for Coinbase Developer Platform (CDP) — Trading, Wallets, Payments under one CDP key

28 installs/wk local only
AgentPay — Pay-per-call AI Microservices
by ronaldanton

22 AI microservices with x402 micropayments: summarize, translate, code-review. USDC on Base.

28 tools answering
Procm
by coder-ka

A Model Context Protocol (MCP) server for process management.

75 installs/wk local only
MCP Circle
by codespar

MCP server for Circle — USDC payments, wallets, payouts, transfers

21 installs/wk local only
MCP Ap2
by codespar

MCP server for AP2 — Google's Agent-to-Agent Payment Protocol (authorization, audit, trust)

23 installs/wk local only
Agtrepo Memory
by agtrepo

Encrypted, pay-per-use persistent memory storage for AI agents, gated by x402 payments on Base.

6 tools answering
IBM Granite x402 Remote
by nirholas

Pay-per-use IBM Granite AI via x402: chat, code, embeddings, forecasting. USDC on Base or Solana.

answering

MCP X402 — questions

Answers built from our own checks of this server.

Why is there no uptime for MCP X402?
MCP X402 runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @codespar/mcp-x402 was installed 30 times last week.
How do I connect MCP X402?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @codespar/mcp-x402 straight from npm; nothing to host, nothing to sign up for.
How many people use MCP X402?
The npm package @codespar/mcp-x402 was installed 30 times in the last week. Week over week that is +200%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is MCP X402 open source?
Yes — it is published under the MIT licence, written in TypeScript, 271 stars on GitHub and 8 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.