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"}