MCP directory
AP

Agent402.Tools: payments and trust for AI agents

by github.com/MikeyPetrillo · v0.17.0 · updated Nov 24, 2026

Payment and trust layer for agentic commerce (Agentic Finance): pay and verify over x402 and MPP

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://agent402.tools/mcp

Claude Code

claude mcp add --transport http agent402 https://agent402.tools/mcp

Run it locally

Install the package and point your AI client at it.

Environment variables

  • AGENT_KEYsecret

    Hex private key of an EVM wallet funded with USDC on any EVM rail the server offers (Base, Polygon, Arbitrum, Monad, Celo, Avalanche, Sei, Optimism, Arc, Ink) or USDG on Robinhood Chain; use SOLANA_AGENT_KEY for Solana. Stellar and Algorand are not signed by this package. Unset = proof-of-work mode...

  • AGENT402_BUDGET

    Optional hard cap on total USD spent per session (e.g. 1.00; unset or off = no session cap). Enforced on the payment that is signed.

  • AGENT402_MAX_PER_CALL

    Max USD price for any single call (default 5; e.g. 0.05; 0 or off = no per-call cap). Enforced on the payment that is signed.

  • AGENT402_CREDITS_KEYsecret

    Prepaid credits key (a402_...) for Agent402's own services. With it set and no wallet key, every tool except the wallet-scoped ones (memory, usage) and the outside-seller routes (router.execute, seller-payability, decide.execute, the flight tools) is debited from the key; the list price is debited o...

  • SOLANA_AGENT_KEYsecret

    Optional base58 (or JSON byte-array) secret key of a Solana wallet funded with USDC on Solana.

  • AGENT402_NETWORKS

    Optional: restrict and order the chains to pay on (e.g. "base,solana" or a CAIP-2 like eip155:4663).

More MCP servers