Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Free x402 preflight gate plus paid on-chain truth checks for AI agents.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
VERIFY402_URL, EVM_PRIVATE_KEY, VERIFY402_NETWORKS, MAX_PAYMENT_USD, MAX_DAILY_USD标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/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"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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 envVERIFY402_NETWORKS envMAX_PAYMENT_USD envMAX_DAILY_USD env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 a32116150-ctrl 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:EVM_PRIVATE_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.9)于12天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, 御府和田玉 在售作品查询
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Live in-stock Hetian jade from Yufu, Shanghai: prices, monthly price guide, book a viewing.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.9is published to npm and
defaults paid calls to Base Sepolia testnet (
eip155:84532) for the public
demo. Base mainnet (
eip155:8453) requires an explicitVERIFY402_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, and1.0.4packages are
immutable, and
1.0.4used Base mainnet by default. Do not republish or
overwrite any of them.
| tool | price | what it answers |
|---|---|---|
preflight_gate | free | "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.
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
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" } } } }
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:
cast wallet new.EVM_PRIVATE_KEY to the 64-character private key of the hot wallet.VERIFY402_NETWORKS to eip155:84532 (Base Sepolia testnet).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" } } } }
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" } } } } }
Once configured, your agent automatically sees the tools in its context. You can prompt it directly:
*"Before signing this transaction, call
preflight_gateon the payment request / calldata. If it returns BLOCK, abort and explain why."*
*"Analyze token
0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cEusingcheck_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."*
*"Use
verify_arbitrageto verify if there is an arbitrage opportunity between Uniswap V3 and Sushiswap for WETH/USDC on chain 1 at the current block."*
*"I was offered 0.35 WETH for 1,000 USDC. Run
verify_quote_fairnessto see if this is fair or if I'm overpaying."*
*"Check
get_trade_depthfor WETH on Uniswap V3 to see how much slippage and impact a $50,000 swap would suffer."*
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.MAX_PAYMENT_USD, and refuses redirects.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.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.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.npm auditThis 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
只显示了开头部分;其余内容请在仓库中阅读