attest_scan
Scan an agent payment endpoint (x402 / HTTP 402) and return a letter grade A to F with a safety verdict before paying.
url必填
io.github.attestagents由 GitHub 帳號 attestagents 發布v1.0.0更新於 Oct 24, 2026
Scan agent payment endpoints (x402, AP2, L402, MPP, 402) for a trust grade A-F before paying.
Attest 讓 AI 助理在付款前掃描 x402、AP2、L402、MPP 與 HTTP 402 付款端點,取得 A–F 信任評級與安全結論。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.attestagents%2Fattest-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"attest": {
"type": "http",
"url": "https://attestagent.org/api/mcp"
}
}
}[npm version] [npm downloads] [License: MIT] [Node.js]
Trust scanning for agent payments — right inside your AI agent.
attest-mcp is a Model Context Protocol server that lets any MCP-compatible agent (Claude, Cursor, Windsurf, VS Code, and more) scan an agent payment endpoint and get back a letter grade A–F with a clear safety verdict before authorizing a single cent.
It covers the agentic payment protocols in use today: x402, MPP, AP2, L402, and HTTP 402.
Powered by Attest. The scoring engine runs entirely on Attest's servers — this package is a thin client that relays requests, so installing it never exposes any proprietary grading logic.
Autonomous agents are starting to pay for things on their own. A single malicious or misconfigured endpoint can drain funds through impersonation, a blocklisted payout wallet, bait-and-switch pricing, or a broken payment handshake. attest-mcp gives your agent a fast, deterministic safety check it can run as a step in its payment loop.
No API key required.
Run it directly with npx (no install needed):
The server speaks MCP over stdio, so you normally don't run it by hand — you point your MCP client at it using one of the configs below.
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
Add to ~/.cursor/mcp.json (or Settings → MCP → Add new server):
Add to ~/.codeium/windsurf/mcp_config.json:
Add to .vscode/mcp.json in your workspace:
Use the command npx -y attest-mcp with the stdio transport.
Prefer not to install anything? Attest also runs a hosted MCP server you can connect to over Streamable HTTP:
Point any remote-MCP-capable client at that URL.
Once connected, just ask your agent in natural language:
"Before you pay, scan
https://api.example.com/paid-resourcewith Attest."
The agent calls attest_scan and gets back something like:
Issues and pull requests are welcome — see CONTRIBUTING.md.
MIT © Attest
來源:README.md,提交 ac54bb5
Scan an agent payment endpoint (x402 / HTTP 402) and return a letter grade A to F with a safety verdict before paying.
url必填Verify a live 402 payment offer at the moment of spend. Pass the EXACT offer you just received (url, payTo, amount, asset, network) and get an allow / warn / block verdict with machine-readable reasons: wallet mismatch vs the verified payout wallet, price swaps vs the last verified quote, danger flags, blocklisted wallets, and typosquats. Call this AFTER receiving a 402 offer and BEFORE authorizing the payment.
url必填asset必填payTo必填amount必填schemenetwork必填已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
npx attest-mcp{ "mcpServers": { "attest": { "command": "npx", "args": ["-y", "attest-mcp"] } }}{ "mcpServers": { "attest": { "command": "npx", "args": ["-y", "attest-mcp"] } }}{ "mcpServers": { "attest": { "command": "npx", "args": ["-y", "attest-mcp"] } }}{ "servers": { "attest": { "command": "npx", "args": ["-y", "attest-mcp"] } }}https://attestagent.org/api/mcp{ "host": "api.example.com", "grade": "A", "composite": 95, "danger": false, "verdict": "Valid endpoint, established host.", "priceHuman": "0.01 USDC", "reportUrl": "https://attestagent.org/r/abc-123"}