Skip to main content

Agent402.Tools: payments and trust for AI agents

io.github.MikeyPetrillo/agent402

v0.17.1Updated Nov 25, 2026stdio · npmremote · http

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

Install

Nothing to fill in: copy and run.

Run in your terminal

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

Configuration

6 settings.

  • AGENT_KEY
    Env var· optional· secret
    Hex private key of an EVM wallet funded with USDC on any EVM rail the server offers (Base, Polygon, Arbitrum One, Monad, Celo, Avalanche C-Chain, Sei, OP Mainnet, 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 (free pure-CPU tools).
  • AGENT402_CREDITS_KEY
    Env var· optional· secret
    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 only on a successful call.
  • SOLANA_AGENT_KEY
    Env var· optional· secret
    Optional base58 (or JSON byte-array) secret key of a Solana wallet funded with USDC on Solana.
  • AGENT402_BUDGET
    Env var· optional
    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
    Env var· optional
    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_NETWORKS
    Env var· optional
    Optional: restrict and order the chains to pay on (e.g. "base,solana" or a CAIP-2 like eip155:4663).

Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.