プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

verify402

作者:a32116150-ctrlバージョン 1.0.9i★ –iパソコンで動く
レジストリ名io.github.a32116150-ctrl/verify402-mcp

インストール

概要

作者による説明(英語の原文)

Free x402 preflight gate plus paid on-chain truth checks for AI agents.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:EVM_PRIVATE_KEY

インストール

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

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: VERIFY402_URL, EVM_PRIVATE_KEY, VERIFY402_NETWORKS, MAX_PAYMENT_USD, MAX_DAILY_USD

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "verify402": {
      "command": "npx",
      "args": [
        "-y",
        "verify402-mcp"
      ],
      "env": {
        "VERIFY402_URL": "your-value",
        "EVM_PRIVATE_KEY": "your-value",
        "VERIFY402_NETWORKS": "your-value",
        "MAX_PAYMENT_USD": "your-value",
        "MAX_DAILY_USD": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add verify402 --env VERIFY402_URL=your-value --env EVM_PRIVATE_KEY=your-value --env VERIFY402_NETWORKS=your-value --env MAX_PAYMENT_USD=your-value --env MAX_DAILY_USD=your-value -- npx -y verify402-mcp

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "verify402": {
      "command": "npx",
      "args": [
        "-y",
        "verify402-mcp"
      ],
      "env": {
        "VERIFY402_URL": "your-value",
        "EVM_PRIVATE_KEY": "your-value",
        "VERIFY402_NETWORKS": "your-value",
        "MAX_PAYMENT_USD": "your-value",
        "MAX_DAILY_USD": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "verify402": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "verify402-mcp"
      ],
      "env": {
        "VERIFY402_URL": "your-value",
        "EVM_PRIVATE_KEY": "your-value",
        "VERIFY402_NETWORKS": "your-value",
        "MAX_PAYMENT_USD": "your-value",
        "MAX_DAILY_USD": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • VERIFY402_URL env
    verify402 base URL
  • EVM_PRIVATE_KEY 秘密 env
    Private key for a dedicated hot wallet. Omit for the free preflight_gate only. verify402-mcp@1.0.9 (this published release) defaults paid calls to Base Sepolia testnet (eip155:84532) for the public d…
  • VERIFY402_NETWORKS env
    Comma-separated EVM payment networks for paid calls. Default Base Sepolia testnet (eip155:84532); set eip155:8453 explicitly for Base mainnet. The supported network-to-canonical-asset map is constrai…
  • MAX_PAYMENT_USD env
    Hard cap on one x402 payment in USD (default 0.25). Enforced before signing.
  • MAX_DAILY_USD env
    Optional cap for total spend per UTC day across restarts.

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

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

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

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

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

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

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

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

よくある質問

verify402は安全ですか?

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

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

入力が必要なもの:EVM_PRIVATE_KEY

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

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

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

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

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

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Draugr

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

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

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

Draugr

作者:draugr-dev

Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.

パソコンで動く今日更新
インストール

作者のREADME

READMEを開く

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

verify402-mcp

MCP server for verify402: a free, fail-closed preflight gate before an agent signs a payment or a chain transaction, plus five paid on-chain checks paid per call over x402.

Works with Claude Desktop, Cursor, OpenCode, and any MCP client that speaks stdio. The free gate needs no wallet. The public demo's paid tools use a dedicated hot wallet funded with Base Sepolia testnet USDC (eip155:84532). The analysis reads mainnet chain data, but the demo never settles mainnet payments. The bridge never signs or sends a trade.

Published package note: verify402-mcp@1.0.9 is published to npm and

defaults paid calls to Base Sepolia testnet (eip155:84532) for the public

demo. Base mainnet (eip155:8453) requires an explicit VERIFY402_NETWORKS

opt-in in a separate deployment and is not enabled by this release. The

previously published 1.0.8, 1.0.6, 1.0.5, and 1.0.4 packages are

immutable, and 1.0.4 used Base mainnet by default. Do not republish or

overwrite any of them.

Tools

toolpricewhat it answers
preflight_gatefree"Should I sign this payment request or transaction?" — PASS / CAUTION / BLOCK with reasons, checked / notChecked, and a short-lived receipt
verify_arbitrage$0.05"Is this cross-venue arbitrage opportunity real, right now?"
check_token_safety$0.10"Is this token sellable at a realistic size, and what does the round trip cost?" — TRUST / CAUTION / AVOID with evidence; not a code audit
get_best_route$0.03"What would the chain actually pay for this swap?" — best route + every quoted venue
verify_quote_fairness$0.05"A broker/bot offered me this number — is it honest?" fair / overpaying / too_good_to_be_true
get_trade_depth$0.05"How big can I trade here before the round trip eats me?" — per-size impact, round-trip cost, capacity

preflight_gate is the front door. Call it before signing any crypto transaction or x402 payment request. If sign_allowed is false, do not sign. If requires_ack is true, surface the reasons to the operator. The receipt expires (default 90s); call again instead of reusing it.

For payment intents, policy.allowedResourceHosts binds the host in payment.resource; a matching host can PASS and a foreign host is BLOCK. Without allowedResourceHosts or expectedResource, an otherwise valid resource is CAUTION resource_identity_unverified and resource identity is listed in notChecked. The bridge forwards this policy to the server; the server enforces it.

Two optional caller-supplied checks are forwarded as-is:

  • payment.idempotencyKey + policy.obligation.settledKeys rejects a key the caller already settled; policy.obligation.spentUsd + grantUsd rejects cumulative spend over the grant. The bridge does not persist this state.
  • policy.sellerPayoutWallets is a caller-supplied payout allowlist. A mismatch is BLOCK, but a match is not provenance and never adds payee_payout_binding.
  • policy.sellerPayoutManifest fetches a seller-signed manifest from a caller-pinned HTTPS origin outside the 402. Only a verified manifest whose payTo list matches adds payee_payout_binding. The response includes payeeBinding with the source, origin, signer, expiry, and manifest hash.

The gate is advisory at this layer: the bridge does not hold the agent's transaction key and cannot stop an agent that ignores the answer. Enforcement belongs in the executor that signs — verify the receipt, then sign. See examples/preflight-guard.mjs for a deny-by-default reference that refuses to call the signer without a verified receipt.

Distribution & Run

The package is officially published on npm as [`verify402-mcp`](https://www.npmjs.com/package/verify402-mcp) and indexed on the official Model Context Protocol Registry.

Run directly via npx (stdio transport):

npx -y verify402-mcp --help

You can also install it globally:

npm install -g verify402-mcp

verify402-mcp --help

Or run from source:

git clone https://github.com/a32116150-ctrl/verify402

cd verify402/mcp-bridge npm ci node index.mjs --help


AI Agent Integration (Step-by-Step)

Step 1: Free Mode (Zero Config, No Wallet)

To give your AI agent the free `preflight_gate` (checks transaction calldata, payment challenges, payee/amount, approvals, and block freshness before signing), paste this into your client configuration. The paid check_token_safety check adds a quote-based sellability check; it does not execute a transfer and is not a honeypot guarantee.

Claude Desktop (claude_desktop_config.json) or Cursor (.cursor/mcp.json):

{

"mcpServers": { "verify402": { "command": "npx", "args": ["-y", "verify402-mcp"], "env": { "VERIFY402_URL": "https://verify402.onrender.com" } } } }

Step 2: Paid Mode (Setting Up the Hot Wallet)

To enable the 5 deep on-chain truth checks (verify_arbitrage, check_token_safety, get_best_route, verify_quote_fairness, get_trade_depth), configure a dedicated hot wallet that pays per call in USDC via x402:

  1. Create a Dedicated Hot Wallet:
  • Create a brand new wallet in MetaMask, Rabby, or via cast wallet new.
  • ⚠️ SECURITY WARNING: Never use your primary personal wallet, cold storage, or vault.
  1. Fund the Wallet on Base Sepolia testnet (EIP-155:84532):
  • USDC: Get Base Sepolia testnet USDC from a faucet (the bridge pays per call: $0.03 to $0.10 in testnet USDC).
  • Gas (ETH on Base Sepolia): Get a small amount of Base Sepolia testnet ETH for gas if your client needs it. No mainnet funds are required for the public demo.
  1. Configure Environment Variables in Your MCP Client:
  • Set EVM_PRIVATE_KEY to the 64-character private key of the hot wallet.
  • Set VERIFY402_NETWORKS to eip155:84532 (Base Sepolia testnet).
  • Set safety caps MAX_PAYMENT_USD (e.g., "0.25") and MAX_DAILY_USD (e.g., "1.00").

Paid Configuration Block (Claude Desktop, Cursor, Cline, Windsurf):

{

"mcpServers": { "verify402": { "command": "npx", "args": ["-y", "verify402-mcp"], "env": { "VERIFY402_URL": "https://verify402.onrender.com", "EVM_PRIVATE_KEY": "0xYOUR_HOT_WALLET_PRIVATE_KEY", "MAX_PAYMENT_USD": "0.25", "MAX_DAILY_USD": "1.00", "VERIFY402_NETWORKS": "eip155:84532", "VERIFY402_PAY_TO": "0xAeEF086DD4e436c69d6d0F684b4c9F43392df9cb" } } } }

OpenCode V2 Configuration

In opencode.jsonc (or ~/.config/opencode/opencode.jsonc):

{

"$schema": "https://opencode.ai/config.json", "mcp": { "servers": { "verify402": { "type": "local", "command": ["npx", "-y", "verify402-mcp"], "environment": { "VERIFY402_URL": "https://verify402.onrender.com", "EVM_PRIVATE_KEY": "{env:EVM_PRIVATE_KEY}", "VERIFY402_NETWORKS": "eip155:84532", "MAX_PAYMENT_USD": "0.25", "MAX_DAILY_USD": "1.00" } } } } }


How AI Agents Use verify402 (Prompt Examples)

Once configured, your agent automatically sees the tools in its context. You can prompt it directly:

  • Preflight Gate (Free):

*"Before signing this transaction, call preflight_gate on the payment request / calldata. If it returns BLOCK, abort and explain why."*

  • Token Quote-Based Sellability Check ($0.10, not a code audit):

*"Analyze token 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE using check_token_safety. Can it be sold at a realistic size on the configured venues, what is the round-trip cost, and is the result TRUST / CAUTION / AVOID? Read notChecked for transfer restrictions."*

  • Arbitrage Verification ($0.05):

*"Use verify_arbitrage to verify if there is an arbitrage opportunity between Uniswap V3 and Sushiswap for WETH/USDC on chain 1 at the current block."*

  • Quote Fairness Audit ($0.05):

*"I was offered 0.35 WETH for 1,000 USDC. Run verify_quote_fairness to see if this is fair or if I'm overpaying."*

  • Market Depth & Capacity ($0.05):

*"Check get_trade_depth for WETH on Uniswap V3 to see how much slippage and impact a $50,000 swap would suffer."*

Safety

  • The bridge signs x402 payments only. It never signs or broadcasts a trade.
  • Each paid tool call mints one crypto.randomUUID() idempotency key and sends it as x-idempotency-key. A timeout or lost response is retried with the same key, so the server replays the settled verdict (recovery.replayed: true) instead of charging twice. A 402 or 409 is never auto-retried; the error is surfaced to the MCP client. The key is a secret and is never logged or returned.
  • Before signing, the paid client requires the 402 to come from the configured server and a known paid route, on an allowlisted EVM network, to the verify402 payee. It accepts only recognized default assets (USDC), caps the amount at MAX_PAYMENT_USD, and refuses redirects.
  • The whole 402 challenge is checked, not just the option the client picks: every offered requirement must use an allowlisted network, the configured payee, the canonical USDC contract and the canonical EIP-712 domain for that network, an extra.assetTransferMethod of eip3009, a maxTimeoutSeconds that is a positive integer no greater than 300, and an amount inside the cap. A challenge that also offers Base mainnet is refused as a whole rather than filtered down to the testnet option. The client also proves that the requirement it signs is the exact object the server sent.
  • The allowlist can be narrowed or pointed at another deployment with VERIFY402_NETWORKS, VERIFY402_PAY_TO, and VERIFY402_RESOURCE_PREFIX. The bridge defaults are Base Sepolia testnet (eip155:84532) and the public verify402 payee. VERIFY402_NETWORKS is constrained to the supported map (eip155:84532, eip155:8453); an explicitly empty value fails closed instead of falling back to a default.
  • MAX_PAYMENT_USD is enforced inside the x402 client, before a signature exists; removing it is a security regression. The caps limit what the bridge can authorize; they do not protect a compromised private key.
  • The bridge sends X-Verify402-Client: verify402-mcp/ and the same version in its User-Agent. This is an anonymous label for /usage, not an account: it contains no wallet, key, or user id, and the server treats it as self-declared and spoofable.
  • preflight_gate is a check, not a guarantee. Read notChecked: it does not screen recipient reputation or sanctions, audit contracts, simulate full balance deltas, audit the counterparty, independently prove payee ownership, persist an obligation ledger across processes, scan tool descriptions or responses for prompt injection, or protect against MEV. It catches the measurable signing mistakes, not every scam.
  • Use the reference executor when you want enforcement rather than advice.

Dependencies and npm audit

This package no longer depends on @x402/axios or @x402/evm. The x402 payer (PAYMENT-REQUIRED / PAYMENT-SIGNATURE / PAYMENT-RESPONSE, scheme exact, EIP-3009 authorization) is implemented here on viem, and the runtime dependency list is: the MCP SDK, axios, dotenv, viem, zod 4.

Why: @x402 2.28.0 depended on zod ^3.24.2, which resolves into GHSA-mrhx-c7xc-m3w5 (memory-exhaustion DoS while validating oversized arrays; the advisory covers all zod < 4.6.6, and no patched 3.x exists). npm ignores overrides declare

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く