New advertisers: 50% off your first month with code FIRSTMONTHSee slots
base-buzz avatar

PayStage x402 Guard — payment safety before the wallet signs

base-buzz/paystage

Judges x402 payments against a policy before signing, returning pay, review, or do_not_pay verdicts.

GitHub stars
6
tools
10
transport
STDIO
last updated
Nov 18, 2026
View on GitHub

What it does

  • Reads and decides with evaluate_mcp_payment, evaluate_batch, and evaluate_velocity, covering single, batched, and burst-spend checks
  • Checks authorisations and orders with list_outstanding_auths, evaluate_outstanding_auths, and evaluate_hip3_trade; verify_receipt and validate_policy confirm receipts and policy documents
  • Runs read-only and never signs or holds keys; request_testnet_funds is the one exception, drawing 0.5 Base Sepolia USDC per address per 24 hours
  • Designed for agents that must refuse unsafe payees, over-cap amounts, or wrong assets before a wallet signs

Tools

10 tools

Public tool metadata for what this MCP can expose to an agent.

evaluate_mcp_paymentshould this x402 payment be signed? → pay · review · do_not_pay

should this x402 payment be signed? → pay · review · do_not_pay

No parameter schema in public metadata yet.

list_outstanding_authswhich ERC-20 / Permit2 / EIP-3009 authorisations are still outstanding

which ERC-20 / Permit2 / EIP-3009 authorisations are still outstanding

No parameter schema in public metadata yet.

evaluate_outstanding_authswhich of those need attention before the next payment

which of those need attention before the next payment

No parameter schema in public metadata yet.

evaluate_hip3_tradeshould this HIP-3 / trade.xyz order be placed? → allow · review · do_not_trade

should this HIP-3 / trade.xyz order be placed? → allow · review · do_not_trade

No parameter schema in public metadata yet.

evaluate_velocityis this spend a burst, a spike, or a runaway cadence

is this spend a burst, a spike, or a runaway cadence

No parameter schema in public metadata yet.

verify_receiptis this receipt really ours — and is it about this payment, still in date

is this receipt really ours — and is it about this payment, still in date

No parameter schema in public metadata yet.

decode_payment_requiredwhat does this base64 402 header actually say

what does this base64 402 header actually say

No parameter schema in public metadata yet.

validate_policyis this policy document valid, and if not which field

is this policy document valid, and if not which field

No parameter schema in public metadata yet.

request_testnet_funds0.5 Base Sepolia USDC for testing — one drip per address per 24h, with the reset time

0.5 Base Sepolia USDC for testing — one drip per address per 24h, with the reset time

No parameter schema in public metadata yet.

evaluate_batchthe same question for several payments, one verdict each

the same question for several payments, one verdict each

No parameter schema in public metadata yet.

Readme

PayStage

Details

Repository
github.com/base-buzz/paystage
Website
paystage.xyz
Categories
Web3 & Crypto, Finance & Trading, Security
Package
@paystage/x402-guard
Transport
STDIO
Registry
MCP registry, active

Similar to PayStage x402 Guard — payment safety before the wallet signs

More Web3 & Crypto