MCP x402 Pay
MCP server that pays x402-gated HTTP endpoints — fetch, and on a 402 authorize, sign, retry
Connector by CryptoAPIs-io · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/cryptoapis-io-mcp-x402-pay
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 1 read · 2 write · 0 delete
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 3
Read from the source code; the running server may list different tools.
Read 1 · Look things up without changing anything.
x402_discover
Write 2 · Create, change, send or run things.
x402_payx402_pay_tool
Tools (3)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
x402_discoverDiscover x402-gated APIs you can pay for — browse the facilitator's Bazaar catalogue of registered x402 resources, each with the price and payment terms it accepts. Use this BEFORE x402_pay whenever you need to FIND a paid endpoint rather than call one you were already given: the pay tool only fetches a URL you hand it, so this is the only way to locate a monetized API on your own. Returns { resources: [{ resource, type, x402Version, accepts: [{ scheme, network, amount, asset, payTo }], lastUpdated, metadata? }], pagination: { limit, offset, total } } — `amount` is in ATOMIC units (USDC 6-deci…
x402_payFetch an HTTP resource and, if it returns 402 Payment Required, pay it automatically with x402 and return the paid response. On a 402 it: parses the merchant's price, authorizes via the CryptoAPIs buyer /authorize, signs the payment LOCALLY (non-custodial — the key never leaves this process), and retries with the X-PAYMENT header. Returns { status, paid, body, settlement? }. This is for HTTP URLs — to pay a paid MCP TOOL on another server, use x402_pay_tool instead. Supported today: EVM (eip712, e.g. Base USDC) and Solana. Tron, UTXO (bitcoin/ltc/doge/dash/bch/zcash), Kaspa and XRP are UPCOMIN…
x402_pay_toolCall a TOOL on another MCP server and, if that tool requires payment, pay it automatically with x402 and return the paid result. This is the MCP-transport twin of x402_pay: use x402_pay for an HTTP url, and THIS for a paid tool on another MCP server. On a challenge it reads the PaymentRequired (from structuredContent, falling back to content[0].text), authorizes via the CryptoAPIs buyer /authorize, signs LOCALLY (non-custodial — the key never leaves this process), and retries the tool call once with the payment in _meta["x402/payment"] (a raw object, no base64 — MCP carries structured JSON nat…
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 1
- Weekly downloads
- 65
- Last commit
- Sep 28, 2026 (1 month ago)
- Last release
- Sep 24, 2026 (1 month ago)
- Last package publish
- Sep 24, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.CryptoAPIs-io/mcp-x402-pay- Version
- 0.5.3
- Auth
- No auth
- Packages
- npm @cryptoapis-io/mcp-x402-pay
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
More from CryptoAPIs-io
- 0.539score
CryptoAPIs-io/mcp
CryptoAPIs-io
Combined Crypto APIs MCP server — all 14 products in one process
ConnectorAFreshness: ARemoteLocal↓ 103/wkClaude Code +5 - 0.536score
MCP Signer
CryptoAPIs-io
Local transaction signing for EVM, UTXO, Tron, XRP, Kaspa, Solana and Tezos — no API calls
ConnectorAFreshness: ALocal↓ 77/wkClaude Code +5 - 0.536score
MCP Hd Wallet
CryptoAPIs-io
MCP server for HD wallet management, balance, and sync on EVM, UTXO, XRP via Crypto APIs
ConnectorAFreshness: ALocal★ 1↓ 80/wkClaude Code +5 - 0.530score
MCP Address Latest
CryptoAPIs-io
MCP server for current balance and state of EVM, UTXO, Solana, XRP, Kaspa addresses via Crypto APIs
ConnectorAFreshness: ALocal★ 1↓ 38/wkClaude Code +5 - 0.526score
MCP x402 Accept
CryptoAPIs-io
Self-hosted MCP proxy that puts an x402 paywall in front of an existing MCP server
ConnectorAFreshness: ALocal↓ 18/wkClaude Code +5 - 0.523score
MCP Blockchain Fees
CryptoAPIs-io
MCP server for fee recommendations and gas estimation on EVM, UTXO, XRP, Tezos, Solana
ConnectorAFreshness: ALocal↓ 45/wkClaude Code +5
Cite this page
MCP x402 Pay. Agent Mart. https://agentmart.dev/connectors/cryptoapis-io-mcp-x402-pay (last updated 2026-10-25)