mcp
v0.1.1Trust layer for agent payments (x402, Base): verify agents, risk scores, signed escrow verdicts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
verify_agent
FREE — check whether a wallet has current 402.coffee conformance certs (pays correctly, refuses scams, checks recipients) plus a free on-chain USDC payment-activity summary. The one-call trust check before you transact with an agent.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | 0x wallet address of the agent to check |
check_credential
FREE — fetch a wallet's portable W3C-VC-shaped credential AND verify its Ed25519 signature locally against 402.coffee's published JWKS (offline-verifiable proof it was issued by 402.coffee and not altered).
| Parameter | Type | Description |
|---|---|---|
wallet * | string | 0x wallet address |
list_tests
FREE — the machine-readable 402.coffee menu: every conformance test, price, route, and payoff, plus the counterparty products (score, escrow, arbiter). No wallet, no spend.
score_wallet
PAID $0.10 — deterministic 0–100 payment-risk score for any wallet: certified behaviour (scam-resistance, recipient-awareness) + real on-chain USDC payment history, with tier A–F, itemized evidence and flags. For deciding whether to transact with an agent.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | 0x wallet address to score |
score_batch
PAID $0.50 — risk scores for up to 25 wallets in one payment ($0.02/wallet effective).
| Parameter | Type | Description |
|---|---|---|
wallets * | array | up to 25 wallet addresses |
certify
PAID $0.25 (basic) / $0.75 (suite) — certify THIS wallet's x402 client by completing a real payment against 402.coffee's conformance harness. Returns a public certificate URL + README badge. The behavioural tests (scam/recipient) are multi-step and adversarial — use behavioural_test_info for those.
| Parameter | Type | Description |
|---|---|---|
test | string | basic ($0.25) or full suite ($0.75) |
behavioural_test_info
FREE — how to run the behavioural conformance tests (scam-resistance / recipient-awareness, $0.60 total each). These are ADVERSARIAL: a naive auto-paying client will sign the bait and FAIL — which is exactly what they measure — so they are not run by this MCP server's auto-payer. Returns the step-by-step flow and the one-command path.
| Parameter | Type | Description |
|---|---|---|
test * | string | which behavioural test |
arbiter_verify
PAID $0.25 ($0.60 scored) — get a SIGNED release/refund/escalate delivery verdict from the 402.coffee external arbiter for a machine-verifiable claim. Non-custodial: your escrow executes the verdict. Categories: http-delivery {url, expect_status?, expect_sha256?, min_bytes?, expect_contains?} · payload-hash {payload_text|payload_b64, expected_sha256} · ci-status {repo, commit_sha}. Scored variant embeds both parties' 402.coffee risk tiers.
| Parameter | Type | Description |
|---|---|---|
category * | string | |
conditions * | object | the pre-agreed verification conditions for the category |
deal_ref | string | your opaque deal/escrow reference (echoed into the signed verdict) |
parties | object | |
scored | boolean | true = $0.60 scored variant with parties' risk tiers |
arbiter_policy
FREE — the published 402.coffee arbiter policy: scope (machine-verifiable categories only), verdict semantics, evidence rules, neutrality, corrections, fees, signatures, liability.
escrow_info
FREE — the 402.coffee full-escrow product for merchants: route x402 sales through the on-chain x402r operator, funds held in AuthCaptureEscrow until the arbiter verifies delivery (release minus 1% or refund). Contracts, fee policy, integration snippet.