a402-pay-mcp
io.github.agent402-dev/a402-pay-mcp
Serveur MCP Non testé
Pay x402 APIs (USDC, PREQ) and run Agent402 Bond deals from your own wallet. Refuses by default.
Fiche technique
- Auteur
- agent402-dev (espace de noms du registre)
- Dépôt
- github.com/agent402-dev/agent402-toolkit
- Site
- —
- Version
- 0.16.1
- Transport
- stdio
- Authentification
- Aucune (déclarée au registre)
- Paquets
- @agent402-dev/pay-mcp 0.16.1 npm stdio
- Outils
- —
- Catégories
- Finance et paiement
- Dernière mise à jour
- 27 nov. 2026
- Publication
- 27 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi. Dernier test non réussi : le badge affiche seulement « référencé ».
[](https://latlas.dev/mcp/io.github.agent402-dev/a402-pay-mcp)<a href="https://latlas.dev/mcp/io.github.agent402-dev/a402-pay-mcp"><img src="https://latlas.dev/badge/fiche/io.github.agent402-dev/a402-pay-mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Aucune adresse distante publiée : ce serveur se lance en local, nous ne le testons pas.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport non listé | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Lancement local du paquet @agent402-dev/pay-mcp (npm). Formats repris de la documentation de chaque client.
claude mcp add-json a402-pay-mcp '{"command":"npx","args":["-y","@agent402-dev/[email protected]"]}'{
"mcpServers": {
"a402-pay-mcp": {
"command": "npx",
"args": ["-y","@agent402-dev/[email protected]"]
}
}
}{
"mcpServers": {
"a402-pay-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y","@agent402-dev/[email protected]"]
}
}
}{
"mcpServers": {
"a402-pay-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y","@agent402-dev/[email protected]"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"a402-pay-mcp": {
"command": "npx",
"args": ["-y","@agent402-dev/[email protected]"]
}
}
}{
"mcpServers": {
"a402-pay-mcp": {
"command": "npx",
"args": ["-y","@agent402-dev/[email protected]"]
}
}
}[mcp_servers.a402-pay-mcp]
command = "npx"
args = ["-y","@agent402-dev/[email protected]"]Variables d’environnement déclarées
| Nom | Requise | Description |
|---|---|---|
| X402_KEYPAIR_PATH | non | Path to the payment wallet key file (Solana CLI JSON). Without it nothing is paid. |
| X402_ALLOWED_DOMAINS | non | Allowed domains, comma-separated. Empty: every payment refused. |
| X402_TRUSTED_PAY_TO | non | Trusted recipient addresses, comma-separated. Empty: every payment refused. |
| X402_ALLOWED_ASSETS | non | USDC (default) or USDC,PREQ. A402 (v1) is deprecated. |
| X402_MAX_USD | non | Max USDC per payment in USD (default 0.05) |
| X402_MAX_USD_PER_DAY | non | Max USDC per UTC day in USD (default 1) |
| X402_MAX_PAYMENTS_PER_DAY | non | Max payments per UTC day (default 20) |
| X402_MAX_USD_PER_RECIPIENT_PER_DAY | non | Max USDC per recipient per UTC day in USD (default off) |
| X402_MAX_PREQ_ATOMIC | non | Max PREQ per payment, in PREQ smallest units (1 PREQ = 1,000,000). Not set: PREQ refused. |
| X402_MAX_PREQ_PER_DAY_ATOMIC | non | Max PREQ per UTC day, in PREQ smallest units (1 PREQ = 1,000,000). Not set: PREQ refused. |
| X402_MAX_PREQ_PER_RECIPIENT_PER_DAY_ATOMIC | non | Max PREQ per recipient per UTC day, in PREQ smallest units (1 PREQ = 1,000,000). Default off. |
| X402_CONFIRM_ABOVE_USD | non | Ask a human at or above this USDC amount (USD). Default off. |
| X402_CONFIRM_ABOVE_PREQ_ATOMIC | non | Ask a human at or above this PREQ amount (PREQ smallest units). Default off. |
| X402_REQUIRE_LOCK | non | yes = pay only sellers whose registered on-chain lock meets the minimums (default off) |
| X402_REQUIRE_LOCK_ABOVE_USD | non | Require a seller lock only for USDC payments at or above this amount (USD) |
| X402_MIN_LOCK_DAYS | non | The minimum must still be locked this many days from now (default 90) |
| X402_MIN_LOCK_PREQ_ATOMIC | non | Minimum PREQ locked by the seller, PREQ smallest units (1 PREQ = 1,000,000) |
| X402_MIN_LOCK_USDC_ATOMIC | non | Minimum USDC locked by the seller, USDC smallest units (1 USDC = 1,000,000) |
| X402_MIN_LOCK_SOL_ATOMIC | non | Minimum wrapped SOL locked by the seller, lamports (1 SOL = 1,000,000,000) |
| X402_BOND_SELLERS | non | Agent402 Bond: seller addresses you may open deals with, comma-separated. Empty: bond_open refused. |
| X402_BOND_MAX_USD | non | Agent402 Bond: max price per deal (USD). Unset: bond_open refused. |
| X402_BOND_MIN_SELLER_BOND_BPS | non | Agent402 Bond: minimum seller bond as a share of the price, basis points (default 500 = 5%). |
| X402_BOND_MAX_DAYS | non | Agent402 Bond: max days from now to the delivery deadline (default 30). |
| X402_BOND_CONFIRM_ABOVE_USD | non | Agent402 Bond: ask a human at or above this amount in USD (default 0 = always ask). |
| X402_BOND_MAX_PREQ_ATOMIC | non | Agent402 Bond: max PREQ price per deal, PREQ smallest units (1 PREQ = 1,000,000). Not set: PREQ deals refused. |
| X402_BOND_CONFIRM_ABOVE_PREQ_ATOMIC | non | Agent402 Bond: ask a human at or above this PREQ amount, smallest units (default 0 = always ask). |
| X402_BOND_DIRECTORY_URL | non | Agent402 Bond: seller directory for bond_find_sellers (https). Default: the toolkit list. off = tool off. |
| X402_BOND_V2_ALLOW_SHARE | non | Agent402 Bond v2: 1 = accept deals where a stated share of your deposit goes to the seller if you do not accept. Default: refused. |
| X402_BOND_V2_ARBITERS | non | Agent402 Bond v2: arbiter addresses you accept, comma-separated. Default: deals with an arbiter refused. |
| X402_MCP_TASKS | non | on = add bond_v2_wait_result as an MCP task (experimental, read-only). Default off. |
| X402_NETWORK | non | mainnet or devnet |
| X402_RPC_URL | non (secret) | Solana RPC URL used to build payment transactions |
| X402_PAY_WITH | non | Preferred asset: USDC or PREQ |
| X402_PREQ_MINT | non | PREQ mint override (only needed before the PREQ mint is built into this version, or for devnet rehearsal) |
| X402_ALLOWED_NETWORKS | non | Networks payments may use: solana (default) or solana,base. Base (EVM) per-request payments are off by default |
| X402_PREFER_NETWORK | non | Network to use when an option passes on both: solana (default) or base |
| X402_EVM_KEY_PATH | non | Base wallet key file (one line, 0x private key). Without it every Base payment is refused |
| X402_HISTORY_PATH | non | Local payment log (JSONL). Daily limits are counted from this file. |
| X402_BOND_PREFER | non | Set to on to read a seller's 402 extensions.bond, check that bond account on chain (mint, owner = payment receiver, balance >= maxCover), and ask before paying a seller without a checked bond. Only a… |
| X402_UNBONDED_CONFIRM_ABOVE_USD | non | With X402_BOND_PREFER=on: ask before paying a seller without a checked bond at or above this USD amount (non-USDC payments always ask). Default 0.05. |
Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
[a402-pay-mcp — L’Atlas](https://latlas.dev/mcp/io.github.agent402-dev/a402-pay-mcp)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.