attest_scan
Scan an agent payment endpoint (x402 / HTTP 402) and return a letter grade A to F with a safety verdict before paying.
urlrequired
io.github.attestagentsPublished by GitHub account attestagentsv1.0.0Updated Oct 24, 2026
Scan agent payment endpoints (x402, AP2, L402, MPP, 402) for a trust grade A-F before paying.
Attest lets an AI agent scan x402, AP2, L402, MPP and HTTP 402 payment endpoints for an A–F trust grade and safety verdict before it pays.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.attestagents%2Fattest-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"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
Source: README.md at commit ac54bb5
Scan an agent payment endpoint (x402 / HTTP 402) and return a letter grade A to F with a safety verdict before paying.
urlrequiredVerify 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.
urlrequiredassetrequiredpayTorequiredamountrequiredschemenetworkrequired100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
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"}