Paystage logo

Paystage

Preflights Base x402 payments, trades, authorisations, and receipts against policies before an agent signs.

Install Paystage

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "paystage": {
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "@paystage/mcp",
        "paystage-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio paystage -- npx -y -p @paystage/mcp paystage-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 9 tools correctly ().

Overview

paystage MCP server evaluates x402 payment challenges and related trading actions before an agent's wallet signs or submits anything. Its nine read-only tools return policy-oriented verdicts, inspect authorisations and receipts, decode payment headers, validate policies, and assess payment batches or spending velocity. Run it locally over stdio with the npm package, or connect to the hosted Streamable HTTP endpoint without installing anything. Reach for paystage when an agent needs spend limits, payee checks, review thresholds, or explicit refusal rules around Base payments and HIP-3 trades.

Use cases

  • Preflight x402 payments before wallet signing
  • Enforce payee, asset, and amount policies
  • Review HIP-3 orders against trading limits
  • Inspect outstanding token authorisations
  • Check receipts and payment velocity

Key features

  • Nine read-only MCP tools
  • Policy-based pay, review, and refusal verdicts
  • HIP-3 and trade.xyz order evaluation
  • ERC-20, Permit2, and EIP-3009 authorisation checks
  • Local stdio and hosted Streamable HTTP modes
  • Batch payment and spending-velocity evaluation

Tools9

What Paystage lets your agent do. Expand a tool for its parameters.

Verified live~1.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

5/5 checks healthy over the last 20d

What it can do

From the 9 tools this server returned when we ran it; 9 declare their own safety hints.

Handles credentials · 1Makes network requests · 4Read-only tools · 9
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age17 days
Maintainers3

Observed 2026-11-16 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @paystage/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
npm downloads10kPackage downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed9Callable tools this server registers over MCP.

How Paystage works

What paystage does

paystage places a decision layer before payment signing. It evaluates an x402 challenge against a policy and returns one of three outcomes: pay, review, or do_not_pay. The result includes the rule that produced the verdict and a receipt that can be retained. The wallet remains the only component that signs transactions; paystage does not hold keys, sign, or move funds.

The policy can constrain payment details such as the payee, amount, and asset. The same approach covers HIP-3 and trade.xyz orders, where the outcomes are allow, review, or do_not_trade. Review is an instruction for the caller to handle: a policy can treat it as permission or as a refusal.

How it works

The local package communicates with an agent application over stdio. It can read a policy file for convenience, while policies may also be supplied as arguments to individual tool calls. A hosted endpoint is available at https://api.paystage.xyz/mcp over Streamable HTTP, and a direct HTTP evaluation endpoint is available for evaluate_mcp_payment.

All nine MCP tools are read-only. Evaluation can run without network access in local examples, while on-chain checks may use an RPC endpoint. The local CLI defaults to a public Base RPC when an RPC URL is not supplied.

Setup and configuration

Run the server without a local installation with:

Terminal
npx -y -p @paystage/mcp paystage-mcp

For a local dependency, install @paystage/mcp and run its paystage-mcp binary. The process waits for an MCP client connection. The MCP server itself starts with an empty environment and does not require configuration to complete its handshake or list tools.

The stdio CLI accepts two optional environment variables:

  • PAYSTAGE_POLICY_PATH points to a local policy.json file.
  • PAYSTAGE_RPC_URL selects the RPC endpoint used for on-chain checks.

To use the remote service, configure an MCP client with https://api.paystage.xyz/mcp. Claude Code and Cursor examples are included in the project, and Claude Desktop can use the same MCP configuration pattern. The hosted endpoint offers the first 1,000 calls per IP per day without an account or payment.

Tools and capabilities

  • evaluate_mcp_payment decides whether an x402 payment should be signed.
  • list_outstanding_auths finds pending ERC-20, Permit2, and EIP-3009 authorisations.
  • evaluate_outstanding_auths identifies authorisations needing attention before payment.
  • evaluate_hip3_trade evaluates HIP-3 and trade.xyz orders.
  • evaluate_velocity detects bursts, spikes, and runaway spending cadence.
  • verify_receipt checks that a receipt belongs to the expected payment and remains valid.
  • decode_payment_required decodes a base64-encoded 402 payment header.
  • validate_policy reports whether a policy is valid and identifies an invalid field.
  • evaluate_batch evaluates multiple payments and returns a verdict for each.

Limitations and notes

paystage is a preflight gate, not a settlement monitor or a guarantee that a seller will deliver. It cannot reverse payments that have already settled, identify every legitimate-looking but unreliable payee, or cover payments made outside the wrapper. Review the project’s stated boundaries before relying on it for unattended funds movement. The agent or another wallet component still performs the final signing decision.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Paystage

paystage is an MCP server that connects agent workflows to policy checks for Base x402 payments and HIP-3 trades. Its main tools evaluate payments and orders, inspect outstanding ERC-20, Permit2, and EIP-3009 authorisations, verify receipts, decode 402 headers, validate policies, measure velocity, and assess batches before signing.

Run `npx -y -p @paystage/mcp paystage-mcp` to start paystage without a local install. You can also install `@paystage/mcp` and run its `paystage-mcp` binary. The process waits for an MCP client to connect over stdio.

Yes, paystage works with Cursor through its MCP configuration. Add the hosted URL `https://api.paystage.xyz/mcp` for Streamable HTTP, or configure the local `@paystage/mcp` command for stdio.

No, paystage does not sign transactions, hold keys, or move money. Its tools are read-only and return a decision before the agent’s wallet performs the signing step.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPaystage AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/paystage?style=directory)](https://allmcps.com/mcp/paystage)
HTML Embed
<a href="https://allmcps.com/mcp/paystage"><img src="https://allmcps.com/api/badge/paystage?style=directory" alt="Paystage on AllMCPs" /></a>