L'Agora
MCPResponds

PayStage — x402 payment safety and spend policy

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

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

Repository
github.com/base-buzz/paystage
Website
paystage.xyz/
Server address
https://api.paystage.xyz/mcp (streamable-http)
Version
0.8.19
Author
base-buzz (namespace verified by the registry)
Source
Official MCP registry (updated Nov 28, 2026)

How to install it

Variables to fill in: PAYSTAGE_POLICY_PATH, PAYSTAGE_RPC_URL.

Remote server (nothing to install)

Claude Code

In a terminal:

claude mcp add --transport http x402-payment-safety https://api.paystage.xyz/mcp
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

https://api.paystage.xyz/mcp
ChatGPT

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://api.paystage.xyz/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "x402-payment-safety": {
      "url": "https://api.paystage.xyz/mcp"
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "x402-payment-safety": {
      "type": "http",
      "url": "https://api.paystage.xyz/mcp"
    }
  }
}

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add x402-payment-safety -e PAYSTAGE_POLICY_PATH=YOUR_PAYSTAGE_POLICY_PATH -e PAYSTAGE_RPC_URL=YOUR_PAYSTAGE_RPC_URL -- npx -y @paystage/[email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "x402-payment-safety": {
      "command": "npx",
      "args": [
        "-y",
        "@paystage/[email protected]"
      ],
      "env": {
        "PAYSTAGE_POLICY_PATH": "YOUR_PAYSTAGE_POLICY_PATH",
        "PAYSTAGE_RPC_URL": "YOUR_PAYSTAGE_RPC_URL"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "x402-payment-safety": {
      "command": "npx",
      "args": [
        "-y",
        "@paystage/[email protected]"
      ],
      "env": {
        "PAYSTAGE_POLICY_PATH": "YOUR_PAYSTAGE_POLICY_PATH",
        "PAYSTAGE_RPC_URL": "YOUR_PAYSTAGE_RPC_URL"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "x402-payment-safety": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@paystage/[email protected]"
      ],
      "env": {
        "PAYSTAGE_POLICY_PATH": "YOUR_PAYSTAGE_POLICY_PATH",
        "PAYSTAGE_RPC_URL": "YOUR_PAYSTAGE_RPC_URL"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 28, 2026, 10:48 (test run by L’Atlas)
Response time
1,111 ms (whole test)
Tools found
10
Announced name
paystage 2026.11.14
Protocol
MCP 2025-11-25
Next test
Dec 5, 2026
See the tools (10)
  • 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 — wh
  • 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
  • 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, expir
  • 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-li
  • 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 o
  • 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 wh
  • 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
  • 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.
  • 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 nee
  • 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 a
Previous tests
Nov 28, 2026Responds1,111 ms10 tools
Nov 28, 2026Responds1,645 ms10 tools

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.base-buzz/x402-payment-safety on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.base-buzz/x402-payment-safety on L’Agora](https://lagora.dev/badge/io.github.base-buzz/x402-payment-safety.svg?lang=en)](https://lagora.dev/en/entry/io.github.base-buzz/x402-payment-safety)

HTML

<a href="https://lagora.dev/en/entry/io.github.base-buzz/x402-payment-safety"><img src="https://lagora.dev/badge/io.github.base-buzz/x402-payment-safety.svg?lang=en" alt="io.github.base-buzz/x402-payment-safety on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

PayStage x402 Guard — payment safety before the wallet signs Local

PayStage Preflight Local

PayStage — x402 payment safety Responds

Report this entry