Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’° Finance & Fintech
  3. Mcp X402 Accept
M
Health: ActiveRecent health check succeeded.Last checked 8/10/2026, 11:55:33 PM

Mcp X402 Accept

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-x402-accept": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-x402-accept"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’° More in Finance & Fintech

Documentation Overview

@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.

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)

Your situationUse
You can edit your MCP server (Node/TS)x402-merchant-sdk/mcp β€” three lines around your handler, nothing in the data path
You cannot β€” third-party, closed-source, or not Nodethis proxy

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:

  • Tool arguments and results are opaque to the proxy. It reads the tool name (is this priced?) and _meta["x402/payment"] (is it paid for?) β€” nothing else. They are never parsed, logged, buffered, or cached.
  • 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 itself.

Install

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

Configure

JSON Config
{
  "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:

jsonc
"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

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

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

Terminal
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

StepResult
Unpaid call to a priced toolisError: true carrying PaymentRequired in both structuredContent and content[0].text
Agent paysSigns locally, retries with the payload in _meta["x402/payment"] β€” raw JSON, no base64
Paid callYour tool's real result, with the receipt in _meta["x402/payment-response"]
Call to an unpriced toolForwarded, free, unchanged

Your server is never called until payment has settled. The proxy charges and then forwards β€” it does not forward and then bill. An unpaid call cannot reach your server at all, so it cannot be made to do the work for free.

Priced tools advertise [paid: x402] in their description so an agent knows the cost before calling. An agent that discovers a price only by being refused has already wasted a round-trip.

Paying it

Agents pay with @cryptoapis-io/mcp-x402-pay or, in code, @cryptoapis-io/x402-buyer-sdk/mcp.

Notes

  • Requires a CryptoAPIs API key with the X402_FACILITATOR feature.
  • "settle": false verifies without settling β€” useful while wiring up, but advisory only: the buyer proved they could pay, not that they did. Never ship it.
  • Test end-to-end on Base Sepolia (eip155:84532) before charging real money.
  • Implements the x402 v2 MCP transport (spec), sharing one implementation with the merchant SDK β€” a spec fix lands in both.

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • Mcp logoMcp

    x402 micropayments for AI agents β€” credits-based, no wallets, no blockchain.

    πŸ’° Finance & Fintech1 views
    Compare vs Mcp β†’
  • SAP MCP Server logoSAP MCP Server

    Solana-native MCP gateway for SAP, DeFi tools, SNS identity, and x402 payments.

    πŸ’° Finance & Fintech0 views
    Compare vs SAP MCP Server β†’
  • X
    X402 List Mcp

    Read-only MCP server for the x402-list directory: discover x402 services and facilitator volume.

    πŸ’° Finance & Fintech0 views
    Compare vs X402 List Mcp β†’
  • Plugin logoPlugin

    Circulara Observe MCP plugin - meters your AI agents' token spend and carbon, free tier.

    πŸ’° Finance & Fintech0 views
    Compare vs Plugin β†’

Frequently Asked Questions about Mcp X402 Accept

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "mcp-x402-accept": { "command": "npx", "args": ["-y", "mcp-x402-accept"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMcp X402 Accept AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-x402-accept?style=directory)](https://allmcps.com/mcp/mcp-x402-accept)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-x402-accept"><img src="https://allmcps.com/api/badge/mcp-x402-accept?style=directory" alt="Mcp X402 Accept on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’°Finance & Fintech
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars0
GitHub Star CountTotal stargazers on GitHub representing community popularity (0 stars).
Last commit12d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 30, 2026
33Quality signal: Emerging Β· 33/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools11/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 3,181+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’° Finance & Fintech β†’Best MCP servers for Finance & Fintech β†’Alternatives to Mcp X402 Accept β†’Install in Claude DesktopInstall in CursorInstall in VS Code