x402-tools MCP server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@x402-tools MCP serveraudit x402 readiness for https://api.example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
x402-tools MCP server (agent-audit + page-read)
A small, stateless remote MCP server on Cloudflare Workers. It gives MCP clients four read-only web tools that are paid per call in USDC on Base via x402, plus free previews. There is no signup and no API key.
Hosted endpoint:
https://mcp.agent-audit.workers.dev/mcp(streamable HTTP; JSON responses; no SSE stream)Docs for agents: https://mcp.agent-audit.workers.dev/llms.txt
MCP Registry:
io.github.agent-audit-x402/x402-tools
The server is a thin front for two existing x402 HTTP APIs run by the same operator, with the same payee:
Tools
Tool | Price (USDC on Base) | What it does | Upstream HTTP endpoint |
| $0.001 | One public web page as clean markdown or text, with title, canonical URL, published time and sha256 |
|
| $0.005 | Is this quote really on that page right now? Verdict, similarity, context and page sha256 |
|
| $0.01 | Health of up to 25 URLs: status, final URL, redirects, latency and verdict |
|
| $0.02 | Read-only x402 seller and agent-readiness audit of one origin: live 402 per paid route, price vs catalogue, llms.txt, /.well-known/x402, openapi.json, dead doc links |
|
| free, 10 per hour | Title and the first 300 characters of a page |
|
| free, 10 per hour | Audit score, grade and counts only |
|
| free | Catalogue, prices, payee and docs | n/a |
Limits:
JavaScript is not executed.
Private, loopback and link-local targets are refused.
Invalid input and failed fetches are not charged; payment settles only after a 2xx result.
Audit grades measure protocol conformance, not whether a seller is legitimate.
Related MCP server: Secant Agent Research
How payment works (x402 over MCP)
This follows the x402 v2 MCP transport:
Call a paid tool without payment. The tool result has
isError: true, andstructuredContentis the x402 v2PaymentRequiredof the upstream HTTP endpoint:scheme
exact, networkeip155:8453;asset USDC
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, amount in atomic units (6 decimals);payTo0xa31bE3a1Ac1dde980dB8D18D32E7cd9Ab557360A,maxTimeoutSeconds120.
The same JSON is in
content[0].text, andcontent[1]has plain-language payment steps.Sign an EIP-3009
transferWithAuthorizationfor exactly that amount with any x402 v2 client, for example@x402/fetchor@x402/mcpwith@x402/evm. Then call the tool again with the same arguments and thePaymentPayloadinparams._meta["x402/payment"]. For clients that can't set_meta, put it in thepaymentargument instead, as an object or as base64 JSON.The server forwards the payment unchanged to the upstream API as the
PAYMENT-SIGNATUREheader. The upstream API verifies it with the facilitator (PayAI), runs the call, and settles only on success. The receipt{success, transaction, network, payer}comes back inresult._meta["x402/payment-response"].
Further notes:
The facilitator pays gas, so the buyer needs no ETH.
If the payment status is uncertain, check USDC
authorizationState(payer, nonce)on Base before signing a new payment.This server never pays, never charges by itself, holds no keys, and never returns a paid result without a settled payment.
Try it
curl -s https://mcp.agent-audit.workers.dev/mcp \
-H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# unpaid paid-tool call -> x402 PaymentRequired
curl -s https://mcp.agent-audit.workers.dev/mcp -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"read_page","arguments":{"url":"https://example.com"}}}'
# MCP Inspector CLI
npx @modelcontextprotocol/inspector --cli https://mcp.agent-audit.workers.dev/mcp --transport http --method tools/listMCP client config:
{ "mcpServers": { "x402-tools": { "url": "https://mcp.agent-audit.workers.dev/mcp" } } }Self-hosting
The code has no runtime dependencies: one file, src/index.js. It reaches the two upstream workers through Cloudflare service bindings (AUDIT, READ in wrangler.toml). Without bindings it falls back to plain fetch of the public URLs. To run your own copy:
npm install
export CLOUDFLARE_API_TOKEN=... # your own token; never commit it
export CLOUDFLARE_ACCOUNT_ID=... # your own account id
npx wrangler deployNo secrets are needed or stored. Set PAY_TO in wrangler.toml only for display; the payee in each challenge comes from the upstream API.
Operator
Run by the GitHub account agent-audit-x402, the shared official account for agent-audit and page-read. Contact: parafield-dev@mail.grokbot.com.
Listed in the x402 Blockchains registry. There are no customer sales yet.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Web pages to Markdown, metadata and small crawls for agents. Free daily calls, then USDC x402/MPP.
Pay-per-call MCP tools (JSON, text, hashing, web-to-markdown) paid in USDC on Base via x402.
Pay-per-call (x402/USDC-Base) web + crypto data tools for AI agents: audit, extract, crypto, DeFi.
Web/PDF to Markdown, transcription, paper search and citation checks. Pay per call in USDC via x402.
Related MCP Servers
- AlicenseAqualityCmaintenancePay-per-use clean web reader for AI agents. URL in, markdown plus metadata out, in milliseconds. Settled per-call in USDC over x402 — no signup, no API keys.118 npm3MIT
- AlicenseAqualityCmaintenancePaid web research MCP tools for autonomous agents: search, page extraction, citations, and diff monitoring through a live x402 API. Unpaid calls return the Base USDC payment requirement so agents can pay and retry safely.41MIT
- AlicenseNot gradedqualityBmaintenanceWebsite intelligence tools for AI agents. Ten pay-per-call tools via x402 micropayments (USDC on Base) — no accounts, no API keys.1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server providing 11 pay-per-call web intelligence tools (page reading, PDF extraction, RSS parsing, screenshots, summarization, structured data extraction) for AI agents, paid automatically in USDC via the x402 protocol on Base mainnet with no API keys required.20 npmMIT