x402 Discovery & Trust MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| X402_MAX_USD | No | Maximum automatic payment in USD per call. 0 disables auto-pay. | 0.05 |
| X402_MAX_CALLS | No | Maximum paid calls per process. 0 = unlimited. | 1000 |
| X402_TIMEOUT_MS | No | HTTP request timeout in milliseconds. 0 uses the default of 20000. | 20000 |
| X402_PRIVATE_KEY | No | Optional Base wallet private key used for automatic USDC payments. Accepts 64 hexadecimal characters with or without the 0x prefix; surrounding whitespace is ignored. An invalid key logs a warning and disables auto-pay. | |
| X402_MAX_TOTAL_USD | No | Cumulative auto-pay spending limit in USD per process. 0 = unlimited. | 1.00 |
| X402_TRUST_API_BASE | No | Base URL of the x402 Trust API. | https://x402-trust.com |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| x402_ecosystem_statsA | Snapshot of the whole x402 ecosystem: endpoint counts, reachability, and real USDC settlement volume over 30 days. Use it to gauge market health. |
| x402_trust_leaderboardA | Top-100 ranking of the most trustworthy x402 hosts, scored by their whole measured surface. Page with offset, then use x402_search to list a host's endpoints. |
| x402_verified_providersA | List of hosts that proved domain control and confirmed a contact email. Verification is informational only, it never changes the score. |
| x402_searchA | Substring search over host, URL and service name across the catalog. For meaning-based search use x402_semantic_search instead. |
| x402_trust_previewA | Sample pack: three complete trust reports (best, median, worst) exactly as x402_trust_score returns them. Takes no arguments. |
| x402_trust_scoreB | The full trust verdict for one x402 endpoint: score 0-100, grade, recommendation (proceed, caution, avoid, ...), price, and flags. Unknown endpoints get live-probed on the spot. |
| x402_endpoint_historyA | Raw probe and event history for one endpoint over 1-90 days: price and payTo changes, failures, latencies, plus a summary. Excluded probes never count as downtime. |
| x402_find_alternativesA | Finds semantically similar endpoints that out-score a given one. Empty result means nothing beats it. |
| x402_semantic_searchB | Meaning-based search across the catalog: describe the capability you need in plain words. Discovery only, no verdicts. |
| x402_trust_bulkA | Score up to 500 endpoints in one call; the cheapest fitting tier is picked automatically. Unknown URLs come back found:false, the batch is charged either way. |
| x402_watch_createB | 30-day monitor for one endpoint with alerts on payTo or price changes, delisting, spec regressions and downtime, via polling or webhooks. Returns a one-time secret, keep it. |
| x402_watch_eventsA | Poll a watch's event log with watch_id and secret, paging by the returned cursors. Nothing between polls is lost. |
| x402_watch_editA | Change a watch's webhook URLs, sensitivity or subscribed events. New URLs are tested first; failures leave the old config untouched. |
| x402_watch_cancelA | Stop a watch now; its log stays readable until expiry. Idempotent. |
| x402_watch_renewB | Add another 30 days to an active watch. Same secret. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
Most tools target clearly different actions (search vs semantic search, single vs bulk vs preview trust scoring, distinct watch lifecycle operations). A few families—trust_score/trust_bulk/trust_preview and search/semantic_search—could be momentarily confused, but descriptions explicitly cross-reference and differentiate them.
All tools consistently use snake_case with an x402_ prefix, grouped by feature (x402_trust_*, x402_watch_*). Minor deviation: some names are noun-first (x402_endpoint_history, x402_ecosystem_stats) while others are verb-first (x402_search, x402_find_alternatives), but the pattern remains predictable.
15 tools is at the upper end of the well-scoped range but each earns its place across discovery, trust scoring, and watch monitoring. No redundant tools and no filler.
Core discovery and trust coverage is strong: substring/semantic search, single/bulk/preview scoring, leaderboard, stats, history, and alternatives. The main gap is watch management lacking a list/get operation, so an agent cannot enumerate existing watches without saved watch_ids.