SuperAPI AI Directory

zcash-mcp

Zcash shielded operations: chain queries, memo decoding, on-chain attestation and proof verification.

Open website

About this tool

zcash-mcp is the ZAP1 reference implementation maintained by Frontier Compute, positioned as an "attestation and proof track" for Zcash workflows. It exposes the ZAP1 attestation layer to agents through MCP (the standard way for AI agents to call external tools), enabling agents to generate receipts around Zcash workflows that can be independently verified by others. This service is not a full wallet MCP: balance scanning, private key custody, seed handling, PCZT signing, shielded spend construction, and lightwalletd or Zaino wallet synchronization are all wallet-layer work and are outside the scope of this server.

The core rule is: observe state, qualify claims, hash evidence, issue receipts, verify afterward. Tool servers usually only expose what the backend claims "right now," whereas ZAP1 produces receipts that another party can independently verify from the schema, proof materials, and Zcash anchors.

Main capabilities include: attest (create a typed event leaf), anchor (commit the leaf as a Merkle root anchored to Zcash), prove (return a receipt package for a leaf), verify (let another party check the receipt without trusting the original agent). It also provides tools such as zcash_capability_manifest (a machine-readable capability scope map), zcash_receipt_template (customer-facing workflow templates), zap1_wallet_receipt_request (convert wallet results into hash-only attest_event parameters), get_anchor_status, verify_proof, and zap1_prove_receipt. Capability coverage: ZAP1 receipts, lifecycle attestation, proof verification, anchor status, memo decoding, and public chain context; exclusions: custody, seed handling, balance scanning, PCZT signing, shielded spend construction, and wallet server synchronization.

Applicable scenarios include: agent action receipts, payment and invoice proof packages, wallet action receipts, external action receipts, operational lifecycle events, funding proof packages, compliance audit packages, policy and reputation attestation, public anchor verification for privacy workflows, and cross-agent handoffs where the recipient needs proof rather than custody. Usage: first call zcash_receipt_template to select the receipt type (agent_action, payment_receipt, operator_lifecycle,policy_attestation), call zcash_capability_manifest to confirm the attestation boundaries; for wallet actions call zap1_wallet_receipt_request to generate parameters; call attest_event to create a leaf; call get_anchor_status to check anchoring status; call verify_proof to verify tree inclusion; call zap1_prove_receipt to obtain a handoff proof package. Installation can be done via the global npm package and adding it to the MCP configuration; the server communicates via JSON-RPC over stdio, read-only tools require no API key, write operations can request a trial key, and it can also be built from source. Acceptance checks require: the receipt contains the leaf hash, the leaf can be verified under the returned Merkle root, v2 receipts preserve each sibling node position and the committed leaf_count, anchoring finality comes from a separately verified root opening artifact rather than only txid/height/status metadata, other verifiers can repeat verification without trusting the original agent, and no private keys, seeds, PCZT, or wallet scan state are sent to this server. Red-team rejection items include treating a payment URI as payment proof, treating an unanchored leaf as final settlement evidence, treating a quote/route/intent hash alone as settlement evidence, requiring the server to sign/scan balances/recover seeds/hold keys, mixing custody claims into ZAP1 receipt claims, and hiding the distinction between wallet actions and receipt verification. Note: ZAP1 only verifies ZAP1 receipts and does not audit or guarantee any external wallet, route, payment, cross-chain bridge, exchange, or settlement system referenced by a receipt. Running requires a Zebra node for chain queries and the ZAP1 API for attestation/proof/anchoring/event/receipt tools; memo decoding runs locally with no external dependencies. Specific installation commands, environment variables, and fee information are not yet fully provided in the materials.