PayStage x402 Guard — payment safety before the wallet signs

● Active

io.github.base-buzz/x402-guard

x402 payment safety: judge a payment against your policy before signing. Read-only, never signs.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "x402-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@paystage/x402-guard@0.4.10"
      ]
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add x402-guard -- npx -y @paystage/x402-guard@0.4.10
OpenAI Codex CLI
codex mcp add x402-guard -- npx -y @paystage/x402-guard@0.4.10
VS Code
code --add-mcp '{"name":"x402-guard","type":"stdio","command":"npx","args":["-y","@paystage/x402-guard@0.4.10"]}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Crypto & Web3
Version
0.4.10
Registry
active
Published
11/18/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 21, 2026

Looks healthy: PayStage x402 Guard — payment safety before the wallet signs is maintained, open source.

Maintained
Active
Last commit 3 days ago (Nov 18, 2026), 5 open issues.
Official registry
Active
Published as io.github.base-buzz/x402-guard in the official MCP registry, version 0.4.10.
Source
Open source, MIT
Public repository under the MIT licence, 6 stars, 11 forks.
Runs
On your machine
A local npm package started by your client; it can reach whatever your user account can.
Credentials
None declared
The registry entry declares no required environment variables.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

On GitHub

read Nov 18, 2026
Stars
6
Forks
11
Last push
Nov 18, 2026
License
MIT

TypeScriptagent-paymentsai-agentsbasemcpmcp-serverpayment-safetyusdcx402

From the README

PayStage Your agent's wallet should not sign because a server asked it to. PayStage sits between an agent and the x402 payment it is about to make, and answers one question before the signature exists: should this payment happen? Every tool returns pay, review, or donotpay, with the rule that fired and a receipt you can keep. The gap it fills is narrow and load-bearing. x402 makes paying trivial and leaves deciding to the caller: a wallet enforces signatures, not intent. @paystage/x402-guard evaluates the challenge before the wallet signs, so a wrong payee, an over-cap amount or an unknown asset never reaches the signing step at all. Where the money does not move The design point is the arrow that is missing. The wallet signs only after the challenge has been judged; a refusal returns the seller's own 402 with a verdict header attached, so there is nothing to revoke afterwards. review is reported as review either way. When onReview: "pay" lets an ambiguous payment through, the header still says review, because the evaluator's finding and the caller's instruction to tolerate it are different facts — a caller that cannot tell "clean" from "warned but paid" cannot audit itself. The rule that fires travels in x-paystage-reason-codes. What decides donotpay is a real refusal, not a warning: a payee on the known-drainer or OFAC list, an over-cap amount, a wrong network or asset, a policy that denies the payee, or a challenge that cannot be parsed.…

Read the full README on GitHub →

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

All PayStage x402 Guard — payment safety before the wallet signs alternatives →Best Crypto & Web3 servers →

The most-starred Crypto & Web3 servers in the index, with their live-check result.

ServerStarsLast pushLive check
Oh My Posh Validator23,772Nov 2026Working
Solana MCP by Vybe2,728Oct 2026Working
Solana MCP by Vybe2,728Oct 2026Working
Oracle3 prediction-market agent tools569Nov 2026Local / not checked
Flyto Core483Nov 2026Local / not checked

PayStage x402 Guard — payment safety before the wallet signs: questions people ask

Is PayStage x402 Guard — payment safety before the wallet signs a remote or a local MCP server?
According to its entry in the official MCP registry, PayStage x402 Guard — payment safety before the wallet signs ships as a local package (npm) that your client starts on your machine.
Is PayStage x402 Guard — payment safety before the wallet signs safe to use?
Looks healthy: PayStage x402 Guard — payment safety before the wallet signs is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: None declared. Serverdex check of Nov 21, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is PayStage x402 Guard — payment safety before the wallet signs still maintained?
Active: the repository's last commit 3 days ago. Last push Nov 18, 2026, 6 GitHub stars, MIT licence. Read from GitHub on Nov 18, 2026.
How do I add PayStage x402 Guard — payment safety before the wallet signs to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
  1. PayStage Preflightx402 payment safety: agent spend policy enforced before the wallet signs.★ 6
  2. PayStage — x402 payment safety and spend policyx402 payment safety: judge a payment against your policy before signing. No keys, never signs.★ 6
  3. PayStage — x402 payment safetyx402 payment safety: stop your agent paying a drainer before the wallet signs.★ 6
  4. PayStage Trade PreflightMCP tool: evaluate HIP-3/trade.xyz orders against a local TradePolicy before trading★ 5
Browse all Crypto & Web3 →

Add the badge to your site

Show visitors that PayStage x402 Guard — payment safety before the wallet signs is listed here — it’s also the link we check for a free listing.

PayStage x402 Guard — payment safety before the wallet signs — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-base-buzz-x402-guard?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="PayStage x402 Guard — payment safety before the wallet signs — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![PayStage x402 Guard — payment safety before the wallet signs — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-base-buzz-x402-guard?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-base-buzz-x402-guard) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-base-buzz-x402-guard) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-base-buzz-x402-guard)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-base-buzz-x402-guard"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-base-buzz-x402-guard"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-base-buzz-x402-guard"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).