プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

PayStage — x402 payment safety and spend policy

作者:base-buzzバージョン 0.8.14i★ 5 (リポジトリ全体のスター)iパソコンでもクラウドでも公式サイト ↗
レジストリ名io.github.base-buzz/x402-payment-safety

インストール方法

What it does

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

  • Connects パソコンでもクラウドでも
  • Account or key No key needed
  • Category ネットショップ・決済

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気32/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中8/8前回の確認でクラウドのエンドポイントが応答
利用スコア52/100

品質: 基本チェック 5/5 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

PayStage — x402 payment safety and spend policy をインストールして。https://mcp.popnx.com/i/base-buzz-x402-payment-safety.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 5/5 合格 · 質問内容は提供元のサーバー(api.paystage.xyz)を通ります · ✓ コマンド確認済み 2026年11月18日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげます · 約 2 分

キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加

  1. Claude の Connectors ページを開く

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 「Add」→「Custom」→「Web」を押し、この 2 つを入力

    ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します

    Name · 名前PayStage — x402 payment safety and spend policy
    Remote MCP server URL · アドレスhttps://api.paystage.xyz/mcp

    Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します

  3. チャットで有効にする

    +ConnectorsPayStage — x402 payment safety and spend policy

  4. 試してみる

    PayStage — x402 payment safety and spend policy を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が PayStage — x402 payment safety and spend policy を使っていると言うか、回答に PayStage — x402 payment safety and spend policy のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT との接続はプランしだい

フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ

  1. Web 版 ChatGPT で MCP の追加ページを開く

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 名前とアドレスを入力

    名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します

    Name · 名前PayStage — x402 payment safety and spend policy
    Connection · アドレスhttps://api.paystage.xyz/mcp
  3. チャットで PayStage — x402 payment safety and spend policy を選ぶ

    新しいチャットを開き、入力前にプラグインの一覧から PayStage — x402 payment safety and spend policy を選びます

  4. 試してみる

    PayStage — x402 payment safety and spend policy を使って、私に何ができるか教えて、1 つやってみせて

    ✓ ChatGPT が PayStage — x402 payment safety and spend policy を使っていると言うか、回答に PayStage — x402 payment safety and spend policy のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Claude Code につなげます · 約 2 分

キー不要、インストール不要

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  2. このコマンドを貼り付けて Enter

    claude mcp add --transport http --scope user x402-payment-safety https://api.paystage.xyz/mcp
  3. Claude Code で /mcp と入力

    PayStage — x402 payment safety and spend policy が一覧にあり、接続済みと表示されれば OK です

  4. 試してみる

    PayStage — x402 payment safety and spend policy を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が PayStage — x402 payment safety and spend policy を使っていると言うか、回答に PayStage — x402 payment safety and spend policy のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  2. Cursor の AI チャットを Agent モードで開く

  3. 試してみる

    PayStage — x402 payment safety and spend policy を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が PayStage — x402 payment safety and spend policy を使っていると言うか、回答に PayStage — x402 payment safety and spend policy のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  2. VS Code の AI チャットを Agent モードで開く

  3. 試してみる

    PayStage — x402 payment safety and spend policy を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が PayStage — x402 payment safety and spend policy を使っていると言うか、回答に PayStage — x402 payment safety and spend policy のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

Web 経由でつなぐアプリ用のアドレス

アドレスhttps://api.paystage.xyz/mcp

JSON 設定は下の「開発者向け」にあります

つまずいたら?PayStage — x402 payment safety and spend policy を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

Web 経由

Claude Code

claude mcp add --transport http --scope user x402-payment-safety https://api.paystage.xyz/mcp

Cursor (~/.cursor/mcp.json)

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

VS Code (mcp.json)

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

パソコンにインストール

Claude Code

claude mcp add --scope user x402-payment-safety -- npx -y @paystage/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "x402-payment-safety": {
      "command": "npx",
      "args": [
        "-y",
        "@paystage/mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "x402-payment-safety": {
      "command": "npx",
      "args": [
        "-y",
        "@paystage/mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "x402-payment-safety": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@paystage/mcp"
      ]
    }
  }
}

自分で入力する値

  • PAYSTAGE_POLICY_PATH env
    支出ルールを定めた policy.json のパス
    英語の原文を見るPath to policy.json spending rules
  • PAYSTAGE_RPC_URL env
    ベース RPC URL の上書き
    英語の原文を見るBase RPC URL override

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

GitHubスターi
5 (リポジトリ全体のスター)
このリポジトリには複数の MCP があり、スターは順位で1件だけ数えます
週あたりのダウンロードi
4,139/週
接続方法
パソコンでもクラウドでも
最新バージョンi
0.8.14
レジストリ公開日i
2026年11月18日
コードの最終更新i
2026年11月18日
最終確認
2026年11月18日
作者
base-buzz
パッケージ
npm: @paystage/mcp
ウェブサイト
paystage.xyz
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

インターネット経由でつなげるアプリ

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

ツールの名前と説明は、サーバーが2026年11月18日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。

  • 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'). Returns the decision plus a signed receipt you can verify offline with verify_receipt. Read

  • 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. Us

  • 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 all

  • 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 no

  • 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 whi

  • 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 UNVER

  • 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 —

  • 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

  • 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 se

  • 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 discover

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月18日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント base-buzz で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:今日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • ✓ 合格

    エンドポイントが応答する

    335ミリ秒で応答(HTTP 200)

  • – 対象外

    OAuthでサインイン

    サインイン不要

  • ✓ 合格

    ツールの説明に隠れた指示がない

    10件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした

公開済みの脆弱性(OSV.dev)

OSV.dev に @paystage/mcp@0.8.14 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月18日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/base-buzz-x402-payment-safety.svg)](https://mcp.popnx.com/en/servers/base-buzz-x402-payment-safety)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

ネットショップ・決済のほかのサーバーとの比較i

  • このカテゴリのほかの2903件のうち89%よりスターが多い
  • このカテゴリのほかの2903件のうち99%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2903件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

PayStage — x402 payment safety and spend policyは安全ですか?

当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は今日、最新バージョン(0.8.14)がレジストリに届いたのは今日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。

代わりに使えるものは?

同じカテゴリには:Stripe MCP, flightclaw, Trade It, Marketplace Ad Pros: Amazon Ads & Seller Central, idealo MCP Server

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Stripe MCP

MCP server integrating with Stripe - tools for customers, products, payments, and more.

作者:stripe広く使われている★ 207213 か月前更新

クラウドで動く✓ 提供元 · stripe.com

flightclaw

Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.

作者:flightclaw成長中★ 862 か月前更新

クラウドで動く✓ 提供元 · flightclaw.com

Trade It

Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.

作者:trade-it-inc初期★ 6233 日前更新

クラウドで動く✓ 提供元 · tradeit.app

idealo MCP Server

Search products, compare prices and discover deals across 6 European markets with your AI assistant.

作者:idealo初期★ 286 か月前更新

クラウドで動く✓ 提供元 · mcp.idealo.com
似たものと比べる
これ
PayStage — x402 payment safety and spend policy
Stripe MCPflightclawTrade ItMarketplace Ad Pros: Amazon Ads & Seller Centralidealo MCP Server
動く場所クラウドでもパソコンにインストールでも使えるクラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえはいいいえいいえいいえいいえ
基本チェック5/54/44/44/44/44/4
ライセンスMITMITMITCC0-1.0MITMIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

@paystage/mcp

PayStage umbrella MCP server: payment preflight, auth watch, HIP-3 trade preflight, and velocity checks.

Not financial advice. The trade preflight tool is a local policy gate only — it does not

place orders or recommend trades.

Published on npm as `@paystage/mcp` — see the npm page for the current version rather than a number here that can go stale.

What a valid receipt means

paystage-verify returning exit 0 means the key it verified against signed this receipt and it has not been altered. That is all it means — and which key that was matters:

  • key_source: "published" → PayStage's published key: the issuer signed it.
  • key_source: "supplied" (you passed --key or --key-url) → the key you named signed it, which is a weaker claim and not evidence about PayStage at all. Exit 0 on that path says nothing more than that the holder of that key produced the receipt.

It does not mean the payment happened — settlement is a separate on-chain event. It does not mean the verdict was correct — a receipt records a decision, not the soundness of the policy behind it. And it does not identify the caller; no caller identity is bound into the payload, by design.

Two narrower points a careful reader should know:

  • `key_source` tells you where the verifying key came from: published (PayStage's endpoint) or supplied (someone passed --key). A receipt verified against a supplied key proves only that the holder of *that* key signed it.
  • A receipt with `signed: false` is still useful: the request and policy digests are checkable, so "over these inputs" survives even when provenance does not.
  • `--max-age` is your policy, not the issuer's. Nothing in the signed payload says how long a verdict is meant to hold, so a freshness bound is set by the verifier. If "this verdict is good for 24 hours" ever becomes the issuer's promise it has to be signed, and that is a format change.

Install

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

The server waits silently for an agent app to connect. That's normal; press Ctrl+C to exit. To try the tools without an app, run npx @modelcontextprotocol/inspector npx -y -p @paystage/mcp paystage-mcp.

Or:

npm install @paystage/mcp

The package exposes a stdio MCP server (bin: paystage-mcp).

MCP configuration

{

"mcpServers": { "paystage": { "command": "npx", "args": ["-y", "-p", "@paystage/mcp", "paystage-mcp"], "env": { "PAYSTAGE_POLICY_PATH": "./policy.json" } } } }

Environment variables (all optional):

  • PAYSTAGE_POLICY_PATH — path to policy.json spending rules
  • PAYSTAGE_RPC_URL — Base RPC URL override

Tools

evaluate_mcp_payment — Available now

Evaluates a proposed x402 payment against a local policy file and returns a verdict before the agent signs anything.

list_outstanding_auths — Available now

Lists outstanding ERC-20, Permit2, and EIP-3009 authorizations.

evaluate_outstanding_auths — Available now

Flags outstanding authorizations that need attention (e.g. authorized but never settled).

evaluate_hip3_trade — Available now

Evaluates a proposed HIP-3 / trade.xyz order against a local TradePolicy and returns a decision: allow | review | do_not_trade.

Backed by @paystage/trade-preflight (published separately), which can also be run standalone:

npx -y @paystage/trade-preflight

The policy is passed as a tool argument; no extra environment variables are required for this tool.

evaluate_velocity — Available now

Is this spend a burst, a spike, or a runaway cadence? Takes the recent action history and a policy.velocity block, and returns pay | review | do_not_pay with the window that was breached.

verify_receipt — Available now

Checks a receipt against the published signing key and returns the verdict it attests to, or why it cannot be trusted. VALID, INVALID (altered), EXPIRED (past its own lifetime), payment-mismatch (genuine, but about a different payment), or UNVERIFIABLE — which is a refusal, not a pass.

decode_payment_required — Available now

Decodes a base64 payment-required header from a 402 response into the JSON challenge: scheme, network, asset, atomic amount, payee, resource and timeout. Pure decoding — no network call, no verdict. Use evaluate_mcp_payment when you want a decision.

validate_policy — Available now

Checks a policy document without evaluating a payment, and returns the exact field and message when it is wrong. Worth running in CI on the policy an agent ships with: an invalid policy makes every evaluation refuse, which looks like a product bug and is not one.

evaluate_batch — Available now

The same question for several payments at once, one verdict each in input order — so an agent settling a batch stops at the first refusal instead of discovering it after three payments.

Packages

Ten packages. Only @paystage/mcp exposes ten MCP tools; the rest are the evaluator, guards for other frameworks, a policy schema and a skill — hence ten packages and ten tools in the same breath.

PackageRoleLinks
@paystage/mcpumbrella MCP server — start herenpm
@paystage/x402-guardpolicy gate for x402 clients, before the wallet signsnpm
@paystage/ai-sdkthe same gate as Vercel AI SDK toolsnpm
@paystage/auth-watchoutstanding ERC-20 / Permit2 / EIP-3009 authorisationsnpm
@paystage/policypolicy schema and loadernpm
@paystage/preflightx402 payment preflight (the evaluator)npm
@paystage/skillagent skill manifestnpm
@paystage/trade-preflightHIP-3 / trade.xyz order preflightnpm
@paystage/velocityrate and spend-pattern checksnpm
@paystage/x-evmchain-agnostic EVM helpersnpm

Verify a receipt

Every verdict can carry a signed receipt. paystage-verify checks one without trusting us — it fetches the published key and verifies the signature over the canonical payload.

npx -y -p @paystage/mcp paystage-verify receipt.json

cat receipt.json | npx -y -p @paystage/mcp paystage-verify -

Exit codes are distinct on purpose:

CodeMeaning
0signature matches the payload
1invalid — altered, or signed by a different key
2unsigned — a record of the decision, with no proof of who made it
3unverifiable — the key could not be fetched, or an input file could not be read, so nothing can be checked
4inputs-mismatch — the receipt is genuine but does not cover the --request/--policy you supplied
5stale — the receipt is genuine but older than --max-age allows

"Invalid" and "could not check" are different facts and must not collapse into one failure. --key verifies against a local JWK for point-in-time checks.

Supply chain and access

This is the umbrella, so its install tree is wider than any single tool and Socket flags it accordingly. What it actually contains:

FlagWhere it comes from
Network access, URL strings@paystage/auth-watch (Base RPC reads) and @paystage/trade-preflight (one Hyperliquid info query).
Filesystem access@paystage/policy reading your policy file.
Environment variable accessPAYSTAGE_POLICY_PATH, PAYSTAGE_RPC_URL.
"AI-detected code anomaly"The official @modelcontextprotocol/server SDK's bundled JSON-schema validator, not PayStage code.

The umbrella itself is ~16 KB with no network, no filesystem and no eval — the capability lives in the dependencies, because that is what the tools are for.

Install a narrower surface if you only need part of it: @paystage/preflight and @paystage/policy make no network calls at all.

Full table: SECURITY.md.

Links

  • Verify receipts: npx -y -p @paystage/mcp paystage-verify

License

MIT

Tools

Every one is read-only. None of them signs, holds a key, or moves money — the agent stays the only signer, which is the entire product.

toolwhat it answers
evaluate_mcp_paymentshould this x402 payment be signed? → pay · review · do_not_pay
list_outstanding_authswhich ERC-20 / Permit2 / EIP-3009 authorisations are still outstanding
evaluate_outstanding_authswhich of those need attention before the next payment
evaluate_hip3_tradeshould this HIP-3 / trade.xyz order be placed? → allow · review · do_not_trade
evaluate_velocityis this spend a burst, a spike, or a runaway cadence
verify_receiptis this receipt really ours — and is it about *this* payment, still in date
decode_payment_requiredwhat does this base64 402 header actually say
validate_policyis this policy document valid, and if not which field
request_testnet_funds0.5 Base Sepolia USDC for testing — one drip per address per 24h, with the reset time
evaluate_batchthe same question for several payments, one verdict each

Check a policy file before you run anything

npx -y -p @paystage/mcp paystage-policy check policy.json

Exit 0 valid, 1 invalid (one line per offending field), 2 unreadable. Offline, no key, no signup — the same schema the evaluator enforces, so a file that passes here is a file that will load there.

Explain a receipt in words

npx -y -p @paystage/mcp paystage-explain receipt.json
Decision: do_not_pay

signature valid — this receipt is what PayStage issued issued 2026-11-15T18:27:34Z by @paystage/hosted

· It asks for 1 USDC, and the policy allows at most 0.05 USDC.

It verifies the signature first and says plainly when a receipt cannot be trusted. Rules it does not recognise are quoted, not paraphrased — guessing at a refusal's meaning is worse than repeating it.