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.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ",
"EVM_PRIVATE_KEY": "ใส่ค่าของคุณ",
"VERIFY402_NETWORKS": "ใส่ค่าของคุณ",
"MAX_PAYMENT_USD": "ใส่ค่าของคุณ",
"MAX_DAILY_USD": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add verify402 --env VERIFY402_URL='ใส่ค่าของคุณ' --env EVM_PRIVATE_KEY='ใส่ค่าของคุณ' --env VERIFY402_NETWORKS='ใส่ค่าของคุณ' --env MAX_PAYMENT_USD='ใส่ค่าของคุณ' --env MAX_DAILY_USD='ใส่ค่าของคุณ' -- npx -y verify402-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"verify402": {
"command": "npx",
"args": [
"-y",
"verify402-mcp"
],
"env": {
"VERIFY402_URL": "ใส่ค่าของคุณ",
"EVM_PRIVATE_KEY": "ใส่ค่าของคุณ",
"VERIFY402_NETWORKS": "ใส่ค่าของคุณ",
"MAX_PAYMENT_USD": "ใส่ค่าของคุณ",
"MAX_DAILY_USD": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"verify402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"verify402-mcp"
],
"env": {
"VERIFY402_URL": "ใส่ค่าของคุณ",
"EVM_PRIVATE_KEY": "ใส่ค่าของคุณ",
"VERIFY402_NETWORKS": "ใส่ค่าของคุณ",
"MAX_PAYMENT_USD": "ใส่ค่าของคุณ",
"MAX_DAILY_USD": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
VERIFY402_URL envVERIFY402_NETWORKS envMAX_PAYMENT_USD envMAX_DAILY_USD envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub a32116150-ctrl ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: EVM_PRIVATE_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.9) เข้า registry 11 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Tools MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo