AgentPay402 MCP

● Active

io.github.kato9292929/agentpay402-mcp

Pay for x402 APIs safely with your own wallet: Seller Probe check, on-chain proof, receipt refetch.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "agentpay402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "agentpay402-mcp@0.4.0"
      ],
      "env": {
        "WALLET_PROVIDER": "<your WALLET_PROVIDER>",
        "CDP_API_KEY_ID": "<your CDP_API_KEY_ID>",
        "CDP_API_KEY_SECRET": "<your CDP_API_KEY_SECRET>",
        "CDP_WALLET_SECRET": "<your CDP_WALLET_SECRET>",
        "PRIVY_APP_ID": "<your PRIVY_APP_ID>",
        "PRIVY_APP_SECRET": "<your PRIVY_APP_SECRET>",
        "PRIVY_WALLET_ID": "<your PRIVY_WALLET_ID>",
        "CROSSMINT_SERVER_API_KEY": "<your CROSSMINT_SERVER_API_KEY>",
        "CROSSMINT_SIGNER_SECRET": "<your CROSSMINT_SIGNER_SECRET>",
        "CROSSMINT_WALLET_ADDRESS": "<your CROSSMINT_WALLET_ADDRESS>",
        "NVM_API_KEY": "<your NVM_API_KEY>",
        "X402_NETWORK": "testnet",
        "X402_PER_CALL_MAX_USD": "0.10",
        "X402_PER_SESSION_MAX_USD": "1.00",
        "X402_PROBE_MODE": "block",
        "X402_PRICE_MISMATCH": "warn",
        "X402_RETRY_WITH_RECEIPT": "true",
        "X402_REPORT_TO_PROBE": "false"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env WALLET_PROVIDER='<your WALLET_PROVIDER>' --env CDP_API_KEY_ID='<your CDP_API_KEY_ID>' --env CDP_API_KEY_SECRET='<your CDP_API_KEY_SECRET>' --env CDP_WALLET_SECRET='<your CDP_WALLET_SECRET>' --env PRIVY_APP_ID='<your PRIVY_APP_ID>' --env PRIVY_APP_SECRET='<your PRIVY_APP_SECRET>' --env PRIVY_WALLET_ID='<your PRIVY_WALLET_ID>' --env CROSSMINT_SERVER_API_KEY='<your CROSSMINT_SERVER_API_KEY>' --env CROSSMINT_SIGNER_SECRET='<your CROSSMINT_SIGNER_SECRET>' --env CROSSMINT_WALLET_ADDRESS='<your CROSSMINT_WALLET_ADDRESS>' --env NVM_API_KEY='<your NVM_API_KEY>' --env X402_NETWORK=testnet --env X402_PER_CALL_MAX_USD=0.10 --env X402_PER_SESSION_MAX_USD=1.00 --env X402_PROBE_MODE=block --env X402_PRICE_MISMATCH=warn --env X402_RETRY_WITH_RECEIPT=true --env X402_REPORT_TO_PROBE=false --transport stdio agentpay402-mcp -- npx -y agentpay402-mcp@0.4.0
OpenAI Codex CLI
codex mcp add agentpay402-mcp --env WALLET_PROVIDER='<your WALLET_PROVIDER>' --env CDP_API_KEY_ID='<your CDP_API_KEY_ID>' --env CDP_API_KEY_SECRET='<your CDP_API_KEY_SECRET>' --env CDP_WALLET_SECRET='<your CDP_WALLET_SECRET>' --env PRIVY_APP_ID='<your PRIVY_APP_ID>' --env PRIVY_APP_SECRET='<your PRIVY_APP_SECRET>' --env PRIVY_WALLET_ID='<your PRIVY_WALLET_ID>' --env CROSSMINT_SERVER_API_KEY='<your CROSSMINT_SERVER_API_KEY>' --env CROSSMINT_SIGNER_SECRET='<your CROSSMINT_SIGNER_SECRET>' --env CROSSMINT_WALLET_ADDRESS='<your CROSSMINT_WALLET_ADDRESS>' --env NVM_API_KEY='<your NVM_API_KEY>' --env X402_NETWORK=testnet --env X402_PER_CALL_MAX_USD=0.10 --env X402_PER_SESSION_MAX_USD=1.00 --env X402_PROBE_MODE=block --env X402_PRICE_MISMATCH=warn --env X402_RETRY_WITH_RECEIPT=true --env X402_REPORT_TO_PROBE=false -- npx -y agentpay402-mcp@0.4.0
VS Code
code --add-mcp '{"name":"agentpay402-mcp","type":"stdio","command":"npx","args":["-y","agentpay402-mcp@0.4.0"],"env":{"WALLET_PROVIDER":"<your WALLET_PROVIDER>","CDP_API_KEY_ID":"<your CDP_API_KEY_ID>","CDP_API_KEY_SECRET":"<your CDP_API_KEY_SECRET>","CDP_WALLET_SECRET":"<your CDP_WALLET_SECRET>","PRIVY_APP_ID":"<your PRIVY_APP_ID>","PRIVY_APP_SECRET":"<your PRIVY_APP_SECRET>","PRIVY_WALLET_ID":"<your PRIVY_WALLET_ID>","CROSSMINT_SERVER_API_KEY":"<your CROSSMINT_SERVER_API_KEY>","CROSSMINT_SIGNER_SECRET":"<your CROSSMINT_SIGNER_SECRET>","CROSSMINT_WALLET_ADDRESS":"<your CROSSMINT_WALLET_ADDRESS>","NVM_API_KEY":"<your NVM_API_KEY>","X402_NETWORK":"testnet","X402_PER_CALL_MAX_USD":"0.10","X402_PER_SESSION_MAX_USD":"1.00","X402_PROBE_MODE":"block","X402_PRICE_MISMATCH":"warn","X402_RETRY_WITH_RECEIPT":"true","X402_REPORT_TO_PROBE":"false"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • WALLET_PROVIDERrequiredWallet that pays: cdp, privy or crossmint; none runs only the discovery and checking tools.
  • CDP_API_KEY_IDsecretCDP API key ID (WALLET_PROVIDER=cdp).
  • CDP_API_KEY_SECRETsecretCDP API key secret (WALLET_PROVIDER=cdp).
  • CDP_WALLET_SECRETsecretCDP wallet secret (WALLET_PROVIDER=cdp).
  • PRIVY_APP_IDsecretPrivy app ID (WALLET_PROVIDER=privy).
  • PRIVY_APP_SECRETsecretPrivy app secret (WALLET_PROVIDER=privy).
  • PRIVY_WALLET_IDsecretPrivy Ethereum server wallet ID that pays on Base (WALLET_PROVIDER=privy).
  • CROSSMINT_SERVER_API_KEYsecretCrossmint server-side API key (WALLET_PROVIDER=crossmint).
  • CROSSMINT_SIGNER_SECRETsecretCrossmint server signer secret (WALLET_PROVIDER=crossmint).
  • CROSSMINT_WALLET_ADDRESSsecretCrossmint smart wallet address (WALLET_PROVIDER=crossmint).
  • NVM_API_KEYsecretOptional Nevermined API key for nvm:erc4337 credit plans (sandbox: with testnet, live: with mainnet).
  • X402_NETWORKtestnet (Base Sepolia, Solana Devnet) or mainnet (real USDC on Base and Solana).
  • X402_PER_CALL_MAX_USDLargest single payment in USD; anything above it is refused before signing.
  • X402_PER_SESSION_MAX_USDTotal USD that may be paid while the server runs.
  • X402_PROBE_MODEWhen Seller Probe recorded the host as paid but not delivered: block, warn or off.
  • X402_PRICE_MISMATCHWhen the 402 price differs from the Bazaar listing: block, warn or off.
  • X402_RETRY_WITH_RECEIPTRefetch once with the same payment from Delivery Receipt sellers after a failed delivery.
  • X402_REPORT_TO_PROBESend an anonymous not_delivered report to Seller Probe.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Crypto & Web3
Version
0.4.0
Registry
active
Published
11/20/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 22, 2026

Looks healthy: AgentPay402 MCP is maintained, open source.

Maintained
Active
Last commit today (Nov 20, 2026), 1 open issues.
Official registry
Active
Published as io.github.kato9292929/agentpay402-mcp in the official MCP registry, version 0.4.0.
Source
Open source, MIT
Public repository under the MIT licence, 0 stars, 0 forks.
Runs
On your machine
A local npm package started by your client; it can reach whatever your user account can.
Credentials
11 required
Declared environment variables: WALLET_PROVIDER, CDP_API_KEY_ID, CDP_API_KEY_SECRET, CDP_WALLET_SECRET…. They stay on your machine; the config on this page shows where each goes.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

On GitHub

read Nov 21, 2026
Stars
0
Forks
0
Last push
Nov 20, 2026
License
MIT

TypeScript

From the README

AgentPay402 MCP A Claude Code plugin that lets Claude discover, check and pay for x402 APIs with your own wallet (CDP, Privy, Crossmint, or your browser wallet such as Rabby or MetaMask; USDC on Base and Solana, plus Nevermined credits). Before paying it checks the seller; after paying it confirms the transfer on chain and the delivery. Install 1. Enter your settings when Claude Code asks (or run /plugin configure agentpay402-mcp@x402inc). Credentials are kept in your system's secure credential store. 2. Start a new session and ask Claude to run checksignin_status. To update: claude plugin marketplace update x402inc. Claude Code only (terminal, IDE extensions, the desktop app's Code tab). It does not work in Claude chat on claude.ai, the desktop app's chat, or Cowork. Node.js 20+ must be on your PATH. Settings Only the keys of the provider you choose need values. Where to get the keys • browser (Base only, no keys): enter your Rabby / MetaMask address. Each payment opens a page in your browser showing the amount, recipient and API; you sign it with your wallet or reject it. Nothing is paid without your signature, and the plugin never holds your key. The spending limits still apply before the page opens. • cdp: API key ID and secret from CDP Portal → API Keys; wallet secret from Wallets → Non-custodial → Security. Accounts are created on first use. • privy: app ID and secret from Privy Dashboard → App settings → Basics.…

Read the full README on GitHub →

The most-starred Crypto & Web3 servers in the index, with their live-check result.

ServerStarsLast pushLive check
Oh My Posh Validator23,772Nov 2026Working
Solana MCP by Vybe2,728Oct 2026Working
Solana MCP by Vybe2,728Oct 2026Working
Oracle3 prediction-market agent tools569Nov 2026Local / not checked
Flyto Core483Nov 2026Local / not checked

AgentPay402 MCP: questions people ask

Is AgentPay402 MCP a remote or a local MCP server?
According to its entry in the official MCP registry, AgentPay402 MCP ships as a local package (npm) that your client starts on your machine.
Does AgentPay402 MCP need an API key?
Its registry entry declares 11 required environment variables: WALLET_PROVIDER, CDP_API_KEY_ID, CDP_API_KEY_SECRET, CDP_WALLET_SECRET…. The config on this page shows where each goes.
Is AgentPay402 MCP safe to use?
Looks healthy: AgentPay402 MCP is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 11 required. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is AgentPay402 MCP still maintained?
Active: the repository's last commit today. Last push Nov 20, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Nov 21, 2026.
How do I add AgentPay402 MCP to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Crypto & Web3 →

Add the badge to your site

Show visitors that AgentPay402 MCP is listed here — it’s also the link we check for a free listing.

AgentPay402 MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-kato9292929-agentpay402-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="AgentPay402 MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![AgentPay402 MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-kato9292929-agentpay402-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-kato9292929-agentpay402-mcp) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-kato9292929-agentpay402-mcp) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-kato9292929-agentpay402-mcp)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-kato9292929-agentpay402-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-kato9292929-agentpay402-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-kato9292929-agentpay402-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).