mcpserver.lol
registry/code402
Connection check verified live · 27h ago

code402

Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial.

Tools 10
GitHub stars
Installs / wk
Licence
Transport streamable-http
Last checked 27h ago

Tools & capabilities

10 tools

Read from the running server on 27h ago.

code402_create_listing methodsellerId*price_usd*serviceId*descriptionupstream_url*
Create or update a paid listing for a registered seller: POST /v1/sellers/{sellerId}/services with { serviceId, upstream_url, price_usd, method?, description? }. The gateway then s…
code402_gateway_health read-only
Check the code402 gateway's /healthz: returns { status, service, network } where network is the settlement chain currently configured (e.g. base-sepolia or base).
code402_get_agent_reputation read-only agent_id*
Fetch an agent's tamper-evident reputation credential from the code402 Atlas rail: GET /v1/agent/{agent_id}/reputation. The credential is an HMAC-signed, expiring (10-minute TTL) b…
code402_get_seller_analytics read-only sellerId*
Fetch a seller's own settlement analytics (free): GET /v1/sellers/{sellerId}/analytics. Returns { total_settled_calls, gross_usd, unique_buyers, by_service: [{ service_id, calls }]…
code402_get_seller_invoice read-only sincesellerId*
Compute a seller's platform-fee invoice from settled receipts: GET /v1/sellers/{sellerId}/invoice?since={unix_ms}. Returns { tier, transactions, gross_usdc_units, platform_fee_usdc…
code402_get_service read-only serviceId*
Fetch a single service from the code402 storefront by its serviceId (as returned by code402_list_services). Returns the same service shape as code402_list_services, or an error nam…
code402_list_services read-only limitqueryoffsetcompact
List services on the code402 gateway storefront (GET /v1/services): first-party APIs and third-party seller listings, each with method, URL, USDC price, and network. No account or…
code402_probe_endpoint read-only url*
Send an unpaid GET to any public https URL and report whether it answers with a valid x402 402 challenge, plus normalized terms { scheme, network, amount (USDC base units), price (…
code402_register_seller id*name*wallet*
Register a seller on the code402 gateway (or update its name — the payout wallet is immutable once set; re-binding requires EIP-191 proof): POST /v1/sellers with { id, wallet, name…
code402_trust_check read-only q*limit
Query the code402 Atlas index for measured trust evidence on an endpoint or domain: probe-verified liveness (probedAlive), evidence tier (probe vs asserted), and ready-to-pay settl…