POPCORN Witness Verifier
v2.0.1MCP server for verifying receipts: POPCORN-WITNESS/2.0 signature, digest, and time.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
popcorn_sample Try Briarwood's signed witness for free
Reproduce bundled historical receipts, including a production TAIN 2.0 receipt, and reject altered payloads and signatures offline. No inputs, wallet, payment, or network request. Historical samples do not establish current time or grant permission. Use popcorn_verify_v2 for your own TAIN 2.0 evidence.
popcorn_catalog Read POPCORN catalog
Fetch the live POPCORN service catalog, published verification keys, and public schemas. Free. Makes no payment.
popcorn_hash Hash exact payload bytes
Compute SHA-256 locally over exact UTF-8 text or canonical unpadded base64url bytes. Free, local, and makes no network request or payment.
| Parameter | Type | Description |
|---|---|---|
payload_base64url | string | Exact bytes as canonical unpadded base64url. Mutually exclusive with payload_text. |
payload_text | string | Exact UTF-8 text to hash. Mutually exclusive with payload_base64url. |
popcorn_verify Verify a POPCORN receipt offline
Use when receiving signed evidence from another agent or resuming a task: verify a POPCORN time or witness receipt locally against caller-supplied trusted JWKS and expected values. Free and network-free. Historical evidence is not a fresh clock reading. For chained witness receipts, verification.previous_receipt must recursively contain response, jwks, and verification.
| Parameter | Type | Description |
|---|---|---|
jwks * | object | The independently obtained POPCORN JWKS. |
receipt_type * | string | |
response * | object | The full POPCORN response envelope. |
verification * | object | For time: observation and optional policy. For witness: expected_nonce, exactly one expected payload form, optional expected_node_id, maximum clock radius, and optional verified predecessor chain. |
popcorn_verify_v2 Verify a TAIN 2.0 witness receipt
Verify a POPCORN-WITNESS/2.0 receipt against exact expected payload bytes, nonce, and independently trusted issuer keys. Offline and read-only. A valid signature does not grant authority, prove settlement on chain, or establish current time.
| Parameter | Type | Description |
|---|---|---|
expected_nonce * | string | |
jwks * | object | |
response * | object | |
expected_node_id | string | |
expected_payload_base64url | string | |
expected_payload_digest | string | |
max_clock_accuracy_radius_ms | integer | |
previous_receipt | object |
popcorn_time Request signed POPCORN time
Is this quote still valid? Can I still cancel? Has the deadline passed? Fetch a signed timestamp and verifiable current-time attestation for a deadline check, boundary check, or expiry check. Use fresh time evidence, not cached evidence or the local UTC clock; measure elapsed durations with a monotonic timer. This MCP time server provides x402 time. Defaults to a no-payment dry run, not a free signed time receipt. A fresh time receipt costs at most $0.001 USDC on Base and requires approve_payment exactly true under the operator's spending policy and EVM_PRIVATE_KEY. It does not establish avail…
| Parameter | Type | Description |
|---|---|---|
approve_payment | boolean | Must be exactly true to authorize one $0.001 payment. |
freshness_ms | integer | Requested freshness window. Default 30000 ms. |
popcorn_witness Request a signed POPCORN payload witness
Which task version existed before the cancellation deadline, quote expiry, or authorization boundary? Obtain a signed time witness for its exact SHA-256 digest and request nonce. Keep raw task content local. The time receipt records a checkpoint; use popcorn_time for fresh current time. Defaults to a no-payment x402 dry run. Payment requires approve_payment exactly true under the operator's spending policy and EVM_PRIVATE_KEY; maximum $0.001 USDC on Base. Does not prove identity, availability, authorization, or execution.
| Parameter | Type | Description |
|---|---|---|
digest * | string | SHA-256 payload digest as canonical unpadded base64url. |
nonce * | string | Caller-generated 32-byte nonce as canonical unpadded base64url. |
approve_payment | boolean | Must be exactly true to authorize one $0.001 payment. |
previous_attestation_digest | SHA-256 of the predecessor compact JWS decoded signed payload bytes, or null to start a chain. |