{"server":{"name":"payonce-mcp","title":"PayOnce: pay every invoice once, only to its registered payee (Concordium testnet)","version":"0.1.0"},"endpoint":"/mcp","transport":"Streamable HTTP, POST JSON-RPC 2.0 (no SSE stream)","network":"testnet","read_only_for_everyone":true,"pay_payable":"not available without the demo agent token","tools":[{"name":"list_payables","description":"List payables registered on the PayOnce registry (Concordium testnet). Read-only. Default: open (unpaid) payables of the curated demo set, with seller and vendor-list status. Use check_payable before paying anything."},{"name":"check_payable","description":"Full verdict on one payable BEFORE paying: seller on the vendor list; the registered payee, amount and document hash; the seller agent badge on the official registry (buyer checks seller); the buyer agent badge and agentWallet (seller checks buyer); owner-consent and age-gate status; and the API's before-pay verifier. Optionally pass the invoice copy and email text you were sent (doc_text, email_text, claimed_payees) so tampering and injected instructions are caught. Verdict is one of pay, refuse, needs_owner_consent, needs_age_proof. Read-only."},{"name":"receipt","description":"Receipt for a paid payable: transaction hashes with explorer links, the server's re-read verifier result, the Art. 12-style decision record, and the exact keyless verifier command (no key needed) a third party can run. run_verifier=true executes it locally where this server runs next to a clone of the repo."},{"name":"check_payee","description":"Verification of Payee for an AI agent about to pay. Given the account the money would go to and the name the invoice or instruction gave, answers MATCH, CLOSE_MATCH, NO_MATCH or UNVERIFIED (verification not possible), from the account's on-chain identity and zero-knowledge name proof. Pay only on MATCH. A person decides on CLOSE_MATCH and UNVERIFIED. Never pay on NO_MATCH. Default Concordium testnet (testnet names are self-asserted mock identities). Set network=mainnet for a read-only identity check of a mainnet account: it names the identity provider but is never MATCH and never payable."},{"name":"check_x402_seller","description":"Read an x402 seller's 402 payment request WITHOUT paying, then run check_payee on its payTo (a Concordium mainnet payTo gets the read-only identity check automatically). Returns the price, payTo, verdict and what the agent may do. Nothing is sent."},{"name":"get_payee_card","description":"The public payee card for a Concordium account: the legal name its owner proved from their own wallet (if any), whether it is bound by its own signature, hold status and version, and links to check it."}],"try_it":"curl -s -X POST <api>/mcp -H \"content-type: application/json\" -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\"}'","local_server":"agent/mcp-server/server.mjs (stdio) in the public repo, with pay_payable behind PAYONCE_MCP_ALLOW_PAY=1"}