L'Atlas / Serveurs MCP / PayStage — x402 payment safety and spend policy
Serveur MCP

PayStage — x402 payment safety and spend policy

io.github.base-buzz/x402-payment-safety

Serveur MCP OK 10 outils

Faire examiner Voir les tarifs

x402 payment safety: judge a payment against your policy before signing. No keys, never signs.

Fiche technique

Auteur
base-buzz (espace de noms du registre)
Dépôt
github.com/base-buzz/paystage
Site
paystage.xyz
Version
0.8.19
Transport
Streamable HTTP stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://api.paystage.xyz/mcp Streamable HTTP
Paquets
@paystage/mcp 0.8.19 npm stdio
Outils
10
Catégories
Finance et paiement
Dernière mise à jour
28 nov. 2026
Publication
28 nov. 2026

Doublon probable

Cette fiche déclare la même adresse de serveur qu’une fiche publiée avant elle au registre : PayStage — x402 payment safety. Elle reste consultable mais n’est pas proposée aux moteurs de recherche.

PayStage — x402 payment safety

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.base-buzz/x402-payment-safety.svg)](https://latlas.dev/mcp/io.github.base-buzz/x402-payment-safety)
HTML
<a href="https://latlas.dev/mcp/io.github.base-buzz/x402-payment-safety"><img src="https://latlas.dev/badge/fiche/io.github.base-buzz/x402-payment-safety.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://api.paystage.xyz/mcp
Dernier résultat
OK 28 nov. 2026, 10:48
Temps de réponse
1 111 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
paystage 2026.11.14
Outils
10

Historique

DateRésultatRéponseOutils
28 nov. 2026, 10:48OK1 111 ms10

Outils exposés (10, réponse à tools/list, 28 nov. 2026)

evaluate_mcp_payment

verify the recipient. Call this BEFORE signing any x402 payment. Verdict is pay | review | do_not_pay, each with stable reason codes (e.g. 'amount 1.00 USDC exceeds max_amount 0.05 USDC'). Fail-closed by design: do not invent authority — when policy, identity, cost or evidence is missing the answer is a refusal or a review, never a pay. A `review` verdict also carries a `packet` object with the amount and its share of the applicable cap, the payee, the rule that fired, the checks run and skipped, and the one decision being asked of the human; `pay` and `do_not_pay` do not. Returns the decision plus a signed receipt you can verify offline with verify_receipt, and a `bundle_id` naming the evidence bundle for this call (events, hashed inputs, receipt, summary). Read-only: holds no keys, never signs, never moves funds. A refusal costs nothing. This tool evaluates locally, so it makes no network calls and returns no seller reputation; the hosted HTTP API adds `seller_reputation` (domain and certificate age) because it can reach the network.

ParamètreTypeRequisDescription
payment_requiredoui
policy_pathstringnon
policynon
agent_idstringnonWhich agent is asking. Required to reach per-agent budgets in policy.agents.
payment_identifierstringnonThe x402 payment-identifier for this challenge, if the seller or client supplies one. Passing the same value on a retry turns the second verdict into `review` instead of a second `pay`, because a retried preflight is not a second approval.

list_outstanding_auths

spending limits. Call this when auditing what an agent could still spend without a new signature — ERC-20 allowances, Permit2 and EIP-3009 authorisations. Returns each authorisation with spender, amount and expiry. Read-only and needs only a public RPC; no key, no funds moved. Use it after an incident to see what remains exposed, not to revoke anything (this tool cannot revoke). Fails closed: do not invent authority — a missing policy, identity, cost or evidence is a refusal, never a default.

ParamètreTypeRequisDescription
walletstringoui
networkstringnon
tokensarray<string>non
spendersarray<string>non
policy_pathstringnon
policynon
eip3009_noncesarray<string>non
rpc_urlstringnon

evaluate_outstanding_auths

spending limits. Call this when an agent already holds authorisations and you need to know which are dangerous. Verdict is pay | review | do_not_pay per authorisation, with reason codes naming the rule that fired (unlimited allowance, expiry already passed, spender not on the allow-list). Returns per-authorisation decisions plus a summary action. Read-only: never revokes, never signs. Revocation is a transaction you send yourself. Fails closed: do not invent authority — a missing policy, identity, cost or evidence is a refusal, never a default.

ParamètreTypeRequisDescription
walletstringoui
networkstringnon
tokensarray<string>non
spendersarray<string>non
policy_pathstringnon
policynon
eip3009_noncesarray<string>non
rpc_urlstringnon

evaluate_hip3_trade

transaction scope. Call this BEFORE an agent places a HIP-3 / trade.xyz order. Verdict is allow | review | do_not_trade, with the rule that fired (notional above cap, market not allowed, leverage too high). Returns the decision and a one-line reason. Local policy only: this is not financial advice, holds no keys, and cannot place or cancel an order. Prices come from a read-only market query. Fails closed: do not invent authority — a missing policy, identity, cost or evidence is a refusal, never a default.

ParamètreTypeRequisDescription
proposalobjectoui
policynon
policy_pathstringnon
snapshotnon

evaluate_velocity

transparent risk assessments. Call this when an agent is about to make its Nth payment and you need to know whether the rate itself is the risk. Verdict is pay | review | do_not_pay over a rolling window (per-hour and per-day spend, count of payees). Returns the decision plus which window was breached. Read-only: it reads the history you pass in, holds no keys, and calls no external service. Fails closed: do not invent authority — a missing policy, identity, cost or evidence is a refusal, never a default.

ParamètreTypeRequisDescription
historyarray<object>non
proposedobjectoui
policynon
policy_pathstringnon
now_msintegernon

verify_receipt

verify the recipient. Call this when you have a receipt and want to know whether it is genuine, without trusting the server that issued it. Returns VALID with the verdict it attests to, INVALID if the payload was altered, or UNVERIFIABLE when the key cannot be fetched — and UNVERIFIABLE is a refusal, not a pass. Pass `chain` instead of one receipt to walk a hash-chained list: it verifies every link and reports the first gap by index, with the receipt ids either side. Needs only the receipt JSON and a network connection; no account, no shared secret. Fetches the signing key from a published URL you can pin with key_url. Fails closed: do not invent authority — a missing policy, identity, cost or evidence is a refusal, never a default.

ParamètreTypeRequisDescription
receiptnonThe receipt object as issued (omit when passing chain)
chainarray<any>nonA hash-chained list of receipts; reports the first gap by index and the ids either side
key_urlstringnonOverride the published key location

decode_payment_required

verify the recipient. Call this first when a 402 response arrives and you cannot read the payment-required header. Returns the decoded x402 v2 challenge: scheme, network, asset, atomic amount, payee, resource and timeout. Pure decoding: no network call, no signature, no verdict — use evaluate_mcp_payment when you want a decision. Fails closed with a named error if the header is malformed or not base64. Fails closed: do not invent authority — a missing policy, identity, cost or evidence is a refusal, never a default.

ParamètreTypeRequisDescription
headerstringouiThe raw base64 value of the payment-required header

validate_policy

spending limits. Call this before wiring a policy into anything: a policy that fails validation makes every evaluation refuse, which looks like a product bug and is not one. Returns valid: true, or the exact field and message that is wrong. No payment needed, no network call, no key. Use it in CI on the policy file your agent ships with. Fails closed: do not invent authority — a missing policy, identity, cost or evidence is a refusal, never a default.

ParamètreTypeRequisDescription
policyoui

request_testnet_funds

test funds. Call this when you need Base Sepolia USDC to exercise the paid path end to end — one drip of 0.5 USDC per address per 24 hours, and the refusal tells you when it resets rather than just failing. Reads a public faucet: no key needed, no account, and it can only ever send testnet USDC. Use a throwaway address for anything automated; the cap is per address, so a script that generates a new address per call is not clever, it is why faucets get closed. Fails closed: do not invent authority — a missing policy, identity, cost or evidence is a refusal, never a default.

ParamètreTypeRequisDescription
addressstringoui
faucetUrlstringnon

evaluate_batch

transaction scope. Call this when an agent might pay several times in one turn and you want one policy decision covering all of them. Verdict is pay | review | do_not_pay per item, in input order, with reason codes — so the agent can stop at the first refusal rather than discovering it after three payments. Read-only, holds no keys, never signs. Cheaper and more consistent than calling evaluate_mcp_payment in a loop: same policy, one round trip. Fails closed: do not invent authority — a missing policy, identity, cost or evidence is a refusal, never a default.

ParamètreTypeRequisDescription
paymentsarray<any>oui
policyoui

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.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://api.paystage.xyz/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http x402-payment-safety https://api.paystage.xyz/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : x402-payment-safety ; URL : https://api.paystage.xyz/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : x402-payment-safety ; Server URL : https://api.paystage.xyz/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "x402-payment-safety": {
      "url": "https://api.paystage.xyz/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "x402-payment-safety": {
      "type": "http",
      "url": "https://api.paystage.xyz/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "x402-payment-safety": {
      "url": "https://api.paystage.xyz/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "x402-payment-safety": {
      "httpUrl": "https://api.paystage.xyz/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.x402-payment-safety]
url = "https://api.paystage.xyz/mcp"

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é.

PayStage — x402 payment safety and spend policy · L’Atlas · Test du

Markdown
[PayStage — x402 payment safety and spend policy — L’Atlas](https://latlas.dev/mcp/io.github.base-buzz/x402-payment-safety)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.