Scan agent payment endpoints (x402, AP2, L402, MPP, 402) for a trust grade A-F before paying.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Attest.
attest_scanRuns a full scan on a payment endpoint URL and returns a grade (AβF), a composite score (0β100), a verdict, danger flags, price, and a link to the full report. Call this before paying an unfamiliar endpoint.
attest_gradeFast lookup of the most recent grade for a host that has already been scanned. Good for a quick pre-check.
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.
| Tool | What it does |
|---|---|
attest_scan | Runs a full scan on a payment endpoint URL and returns a grade (AβF), a composite score (0β100), a verdict, danger flags, price, and a link to the full report. Call this before paying an unfamiliar endpoint. |
attest_grade | Fast lookup of the most recent grade for a host that has already been scanned. Good for a quick pre-check. |
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:
| Environment variable | Default | Description |
|---|---|---|
ATTEST_BASE_URL | https://attestagent.org | Override the Attest API base URL. Only needed for self-hosting or testing. |
Issues and pull requests are welcome β see CONTRIBUTING.md.
MIT Β© Attest
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/attest)<a href="https://allmcps.com/mcp/attest"><img src="https://allmcps.com/api/badge/attest?style=directory" alt="Attest on AllMCPs" /></a>