Surface Contract: platform API behavior and x402 pre-payment checks
Server Details
Surface contracts: API behavior evidence, x402 pre-payment check, MCP server preflight
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 7 tools
Most tools have clearly distinct targets: list vs. get contract vs. get recipe vs. verify vs. contribute are separable, and the two probe tools (preflight_mcp_server, prepay_check) hit different resources (MCP endpoints vs. x402 payment routes). Minor overlap exists where get_surface_contract and verify_surface both surface per-claim status, but descriptions make the retrieve-vs-run distinction clear.
All names are snake_case and most follow a verb_noun pattern (get_surface_contract, list_surface_contracts, verify_surface, contribute_discrepancy). preflight_mcp_server and prepay_check deviate slightly by leading with a noun-ish term, but the convention remains readable and predictable.
Seven tools is well-scoped for a contract-registry-plus-probing server, with each tool earning its place (discovery, retrieval, verification, contribution, and two external probes). No redundant or bloated entries.
The surface covers discovery, contract/recipe retrieval, verification, contribution, and pre-commit probing of MCP and payment endpoints, forming a coherent lifecycle. A minor gap is the absence of a tool to read back filed contributions/proposals (the GET /v1/contributions listing is referenced but not exposed), which agents must work around.
Available Tools
7 toolscontribute_discrepancyAInspect
Report a platform behaviour that contradicts a published claim, or a new claim, with evidence. One-line call: POST /v1/contribute with {contractId, kind, statement, evidence[], reporter, observedAt}. Stored as pending; a published contract is never changed without independent verification. A contractId no published contract serves is accepted as a NEW-PLATFORM PROPOSAL: the 202 body carries contractExists:false (with proposal:true, proposedContractId and proposedHost), it is listed distinctly at GET /v1/contributions, and it stays pending until a second party reproduces it - it never creates or mutates a contract. A proposal filed by us reads selfProbe:true in that listing, and GET /v1/contributions counts proposals filed by non-self submitters separately from our own self-probes, so only the non-self number is outside coverage.
Inputs: kind (required), evidence (required), statement (required), contractId (required), +3 more.
get_integration_recipeAInspect
Get a plain-text integration recipe for a platform: the order of operations to use it, and a guard clause for every behaviour we measured going wrong, each naming the contract claim behind it. Derived from the contract, so it cannot drift from it.
Inputs: id (required).
get_surface_contractAInspect
Get the machine-readable surface contract for a platform host (read/write semantics, pending states, rate limits, limits, idempotency, pagination completeness, data portability), each claim carrying its evidence and its verification status.
Inputs: id (required).
list_surface_contractsBInspect
List the platform surface contracts published in Penny's free registry, with claim counts.
Inputs: no named parameters.
preflight_mcp_serverAInspect
Run the anonymous MCP handshake against ANY https MCP endpoint you name, right now, and get back a verdict (open / refused / unreachable / initialize-transport-error), the shape of any refusal body, whether the server is stateful (sets Mcp-Session-Id), how many tools tools/list returns, and the guard clauses that follow. Use it before wiring an MCP server into your own config. Pass urls (up to 5) to check a whole mcp.json in one call. When the endpoint refuses, it also reports whether the refusal advertises a credential path (an RFC 9728 resource_metadata pointer) and whether that pointer resolves to a metadata document naming an authorization server, so you learn where a token would come from without writing that parsing yourself. No credential is sent, none is obtained, and none of their tools is ever called.
Inputs: url, urls.
prepay_checkAInspect
Check an x402 route BEFORE you pay it. GET /v1/prepay?url= makes ONE unpaid GET with no payment header and no credential, and returns one row: the measured HTTP status, the parsed x402 v2 challenge (scheme / network / asset / amount / payTo), whether that challenge is schema-valid exact-on-Base, and whether its payTo and price agree with the seller's own card (pass card to read that card with one more unpaid GET). No payment is made, no credential is sent, no redirect is followed, and a transport failure on our side is reported as unknown rather than as a fact about the seller. Use it to gate a payment decision on measured terms instead of on a seller's prose.
Inputs: url (required), card.
verify_surfaceBInspect
Run the anonymous conformance checks for a contract now and return verified / failed / unknown / manual / unsupported per claim.
Inputs: id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Agent-native MCP for governed commerce, x402 payments, paid capabilities, and verifiable receipts.
Deterministic security, compliance, finance, and regulatory APIs via Streamable-HTTP MCP and x402.
Contract-change authorization for AI agents: preflight a change to an API or MCP contract, get a signed decision, and verify the receipt offline. Only a granted change can proceed.
Remote MCP utilities for agents: structured data, commerce checks, and x402 paid API discovery.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenancePreflights x402 payment terms and provides an MCP server/API for checking Base USDC payments, tokens, wallets, and transactions before an agent pays.MIT
- FlicenseNot gradedqualityCmaintenanceRead-only MCP server that performs deterministic local preflights of agent-payment boundary documents and x402 v2 PaymentRequired JSON, and prepares unsubmitted public quote-request drafts without network calls or fund movement.1-
- AlicenseAqualityBmaintenancealalanet-agent is the open local client of alalanet.com, the free service an AI agent asks before it installs, connects or pays. A stdio MCP server whose key stays on your machine: it signs agent passports, receipts, skill and package releases, mail and memory locally (16 tools) and checks files and agents against alalanet's public transparency log. Hosted checks: https://alalanet.com/mcp.216Apache 2.0
- AlicenseAqualityBmaintenanceMCP server that checks an x402 paid endpoint before an agent pays it, and checks afterwards that the receipt opens to exactly one real on-chain settlement. Two tools, no account, no API key.293 npmApache 2.0
Glama MCP Gateway
Add one secure layer between your agents and this server.