MCP.Market

X402 Accept MCP server

by CryptoAPIs-io·io.github.CryptoAPIs-io/mcp-x402-accept·v0.1.1

Self-hosted MCP proxy that puts an x402 paywall in front of an existing MCP server

A86/100grade A
What users say
No reviews yet
Be the first
Safety scan
A86/100

full report

Adoption
New

0 stars30 downloads/wk

Reviews

Write one

Nobody has reviewed X402 Accept yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

X402 Accept tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it

no findings
  • Code scan14 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 56 days ago12/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 86/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How X402 Accept compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
86/100
higher than 72% of 48,255 servers
Downloads a week
30
more than 18% of 12,191 servers with a package

Install X402 Accept in Claude Code, Cursor or VS Code

Runs npx -y @cryptoapis-io/mcp-x402-accept on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add mcp-x402-accept -- npx -y @cryptoapis-io/mcp-x402-accept
Add to Cursor

What the publisher says

From the X402 Accept repository's README, as published. We do not edit it. Read it on GitHub

@cryptoapis-io/mcp-x402-accept

Put an x402 paywall in front of an MCP server you already run — charge AI agents per tool call without changing a line of that server's code.

agent  →  mcp-x402-accept (your process)  →  your existing MCP server

The proxy is an MCP server to the agent and an MCP client to yours. It mirrors every tool your server exposes; the ones you price are paywalled, the rest pass through free.

When to use this (and when not to)

If you can edit your server, do that instead. It is simpler and strictly fewer moving parts. This package exists for the case where that is not an option.

Why self-hosted only

You run this process. We never do, and we do not offer a hosted version.

That is a deliberate product decision, not a default you can flip. A proxy sits between an agent and your server, so a hosted one would mean CryptoAPIs holding your upstream server's credentials, sitting in the cleartext path of your tool arguments and results, and owing you uptime on your own revenue. For a merchant whose product is the data flowing through those calls, that is not a reasonable thing to ask. Self-hosting removes the question rather than answering it.

What that guarantees, structurally:

and _meta["x402/payment"] (is it paid for?) — nothing else. They are never parsed, logged, buffered, or cached.

  • Tool arguments and results are opaque to the proxy. It reads the tool name (is this priced?)

itself.

  • Your upstream credentials are your own env vars, in your own process.
  • The only outbound calls are to the CryptoAPIs facilitator, to /verify and /settle the payment

Install

npm install -g @cryptoapis-io/mcp-x402-accept

Configure

{
  "upstream": {
    "transport": "stdio",
    "command": "node",
    "args": ["/path/to/your-mcp-server.js"],
    "env": { "YOUR_UPSTREAM_TOKEN": "${YOUR_UPSTREAM_TOKEN}" }
  },

  "apiKey": "${CRYPTOAPIS_API_KEY}",
  "payTo":  "0xYourReceivingAddress",

  // Only these are charged for. Everything else your server exposes stays FREE.
  "pricedTools": {
    "premium_data": {
      "network": "eip155:8453",
      "asset":   "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount":  "10000"
    }
  }
}

${VAR} reads from the environment, so the config file itself holds no secrets and is safe to commit.

amount is in atomic units — USDC has 6 decimals, so "10000" is $0.01. Getting this wrong by 10^6 is the easiest mistake here.

An HTTP upstream instead of stdio:

"upstream": {
  "transport": "http",
  "url": "https://your-server.example.com/mcp",
  "headers": { "Authorization": "Bearer ${YOUR_UPSTREAM_TOKEN}" }
}

To accept several assets or networks for one tool, pass an array — the agent picks one. Offer only what GET https://ai.cryptoapis.io/x402/merchant/supported lists (public, no key); anything else is advertised and then rejected at /verify.

Run

cryptoapis-mcp-x402-accept --config ./x402-accept.config.json

Then point agents at the proxy instead of your server. In Claude Code:

claude mcp add my-paid-tools -- cryptoapis-mcp-x402-accept --config /abs/path/to/config.json

Everything is validated at boot — the config, the upstream connection, and whether the tools you priced actually exist upstream. A typo'd tool name is a hard failure, not a silent revenue hole: the alternative is believing a tool is paywalled while it quietly serves for free.

What an agent sees

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

X402 Accept: common questions

Is X402 Accept MCP server safe?
Yes, by our scan: it is graded A (86/100). Read the X402 Accept safety report
How do I install X402 Accept?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does X402 Accept need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is X402 Accept maintained?
The last commit was 97 days ago (2026-07-30). The latest release is v0.1.1.
How does X402 Accept compare with other MCP servers?
safety score 86/100 (higher than 72% of 48,255 servers); downloads a week 30 (more than 18% of 12,191 servers with a package). Full comparison.

More from CryptoAPIs-io →