New advertisers: 50% off your first month with code FIRSTMONTHSee slots
kato9292929 avatar

AgentPay402 MCP

kato9292929/x402-wallet-mcp

Pay-per-call x402 API access through a local wallet, with seller checks and on-chain delivery confirmation.

tools
9
auth
Secret needed
transport
STDIO
env vars
19
last updated
Nov 20, 2026
View on GitHub

What it does

  • Reads wallet data with get_wallet_address, get_wallet_balance, and check_sign_in_status; searches services with list_bazaar_resources and get_resource_details
  • Checks before paying with check_payment_requirements and check_seller; only make_x402_request moves money, within user-set per-call and per-session USD limits
  • Requires a CDP, Privy, Crossmint, Nevermined, or browser wallet setup, and runs locally in Claude Code only
  • Designed for agents that need to call paid x402 APIs with spending caps and delivery verification

Tools

9 tools

Public tool metadata for what this MCP can expose to an agent.

get_wallet_addressYour wallet address, per chain

Your wallet address, per chain

No parameter schema in public metadata yet.

get_wallet_balanceUSDC balance on each supported chain

USDC balance on each supported chain

No parameter schema in public metadata yet.

show_wallet_appDeposit address, chain, faucet hints and the current limits

Deposit address, chain, faucet hints and the current limits

No parameter schema in public metadata yet.

check_sign_in_statusWhether the wallet is set up and can sign, and what is missing

Whether the wallet is set up and can sign, and what is missing

No parameter schema in public metadata yet.

list_bazaar_resourcesSearch x402 services in the CDP Bazaar

Search x402 services in the CDP Bazaar

No parameter schema in public metadata yet.

get_resource_detailsPrice, payment options and input/output for one service

Price, payment options and input/output for one service

No parameter schema in public metadata yet.

check_payment_requirementsWhat a 402 asks for and whether it fits the limits — does not pay

What a 402 asks for and whether it fits the limits — does not pay

No parameter schema in public metadata yet.

check_sellerThe pre-payment checks only — does not pay

The pre-payment checks only — does not pay

No parameter schema in public metadata yet.

make_x402_requestCalls a URL; on 402, checks, pays within the limits and confirms delivery

Calls a URL; on 402, checks, pays within the limits and confirms delivery

No parameter schema in public metadata yet.

Configuration

WALLET_PROVIDER*default: none

Wallet that pays: cdp, privy or crossmint; none runs only the discovery and checking tools.

CDP_API_KEY_IDsecret

CDP API key ID (WALLET_PROVIDER=cdp).

CDP_API_KEY_SECRETsecret

CDP API key secret (WALLET_PROVIDER=cdp).

CDP_WALLET_SECRETsecret

CDP wallet secret (WALLET_PROVIDER=cdp).

PRIVY_APP_IDsecret

Privy app ID (WALLET_PROVIDER=privy).

PRIVY_APP_SECRETsecret

Privy app secret (WALLET_PROVIDER=privy).

PRIVY_WALLET_IDsecret

Privy Ethereum server wallet ID that pays on Base (WALLET_PROVIDER=privy).

CROSSMINT_SERVER_API_KEYsecret

Crossmint server-side API key (WALLET_PROVIDER=crossmint).

CROSSMINT_SIGNER_SECRETsecret

Crossmint server signer secret (WALLET_PROVIDER=crossmint).

CROSSMINT_WALLET_ADDRESSsecret

Crossmint smart wallet address (WALLET_PROVIDER=crossmint).

NVM_API_KEYsecret

Optional Nevermined API key for nvm:erc4337 credit plans (sandbox: with testnet, live: with mainnet).

X402_NETWORKdefault: testnet

testnet (Base Sepolia, Solana Devnet) or mainnet (real USDC on Base and Solana).

X402_PER_CALL_MAX_USDdefault: 0.10

Largest single payment in USD; anything above it is refused before signing.

X402_PER_SESSION_MAX_USDdefault: 1.00

Total USD that may be paid while the server runs.

X402_ALLOWED_HOSTS

Comma-separated hosts that may be paid; empty allows every host.

X402_PROBE_MODEdefault: block

When Seller Probe recorded the host as paid but not delivered: block, warn or off.

X402_PRICE_MISMATCHdefault: warn

When the 402 price differs from the Bazaar listing: block, warn or off.

X402_RETRY_WITH_RECEIPTdefault: true

Refetch once with the same payment from Delivery Receipt sellers after a failed delivery.

X402_REPORT_TO_PROBEdefault: false

Send an anonymous not_delivered report to Seller Probe.

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 own browser wallet: Phantom, 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

claude plugin marketplace add kato9292929/x402-wallet-mcp
claude plugin install agentpay402-mcp@x402inc
  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 check_sign_in_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


View the full README on GitHub

Details

Repository
github.com/kato9292929/x402-wallet-mcp
Website
github.com/kato9292929/x402-wallet-mcp#readme
Categories
Web3 & Crypto, AI Agents & LLM Apps, Finance & Trading
Package
agentpay402-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Similar to AgentPay402 MCP

More Web3 & Crypto