# Frontier-Compute/zcash-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Frontier-Compute/zcash-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 341  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/frontier-compute-zcash-mcp

## Description
Zcash shielded operations for AI agents. Chain queries, memo decoding, on-chain attestation, and proof verification.

## Tools
Capabilities this server exposes over MCP:

- **decode_memo** — Decode a Zcash shielded memo field. Handles ZAP1 typed memos, ZIP 302, plain text, and raw binary.
- **attest_event** — Create a typed ZAP1 attestation event leaf for later anchoring. Returns a leaf hash for verification.
- **verify_proof** — Verify a ZAP1 Merkle proof. Checks whether a leaf hash exists in the ZAP1 attestation tree and returns the proof path.
- **get_stats** — Get ZAP1 protocol stats: total leaves, anchors, type distribution, and tree height.
- **get_block_height** — Get the current Zcash chain height from Zebra.
- **lookup_transaction** — Get raw transaction data by txid from Zebra.
- **get_anchor_history** — Get all ZAP1 Merkle root anchors with Zcash txids and block heights.
- **get_anchor_status** — Get current ZAP1 Merkle tree state: root hash, unanchored leaves, anchor recommendation.
- **get_events** — Get recent ZAP1 attestation events. Returns event type, wallet hash, leaf hash, and timestamps.
- **get_agent_status** — Get attestation summary for a ZAP1 agent: registration, policies, actions, event history.
- **zap1_create_receipt_invoice** — Create ZAP1 receipt metadata for an external payment workflow. Returns invoice metadata for later receipt verification; this server does not sign, scan, or broadcast.
- **zap1_watch_receipt_invoice** — Poll ZAP1 receipt-invoice status until paid or timeout. Returns public receipt status only; this server does not scan wallet state.
- **zap1_prove_receipt** — Fetch a ZAP1 Merkle proof bundle for a leaf hash. Returns the full proof: leaf, path, root, and anchor.
- **zcash_identity_register** — Register an agent identity on ZAP1 via an AGENT_REGISTER attestation. Returns the leaf hash and verification URLs for the registration event.
- **zcash_reputation_score** — Fetch an agent's reputation from ZAP1. Combines bond data and policy compliance into a single object: attestation count, violations, bonds, and compliant flag.
- **zap1_verify_evm** — Verify a ZAP1 Merkle proof on-chain via the EVM ZAP1Verifier contract. Checks that a leaf hash is included in a registered Zcash anchor root. Supports Sepolia (testnet), Base, and Arbitrum.
- **zcash_capability_manifest** — Return the ZAP1 capability manifest: what this MCP covers, what it deliberately excludes, and how agents should compose it with wallet-layer tools.
- **zcash_receipt_template** — Return a customer-ready ZAP1 receipt workflow for agent actions, payment receipts, operator lifecycle events, or policy attestations.
- **zcash_conformance_check** — Validate a ZAP1 receipt packet against the frozen v1 receipt contract. Returns malformed, pending, or anchored.
- **zap1_wallet_receipt_request** — Build a ZAP1 receipt request from a wallet-layer action result. The wallet keeps custody, signing, scanning, and broadcast; ZAP1 receives only bounded hashes.
- **zap1_attest_external_action** — Build a ZAP1 receipt request for an action executed by an external rail. ZAP1 does not route, swap, sign, custody, broadcast, or settle the action.
- **zap1_verify_external_receipt** — Validate an external-action ZAP1 receipt packet. This is a stateless receipt-contract check; it does not trust or call the external rail.
- **zap1_extract_proof_artifact** — Extract the portable proof artifact from a ZAP1 receipt: leaf, Merkle path, root, anchor context, and verification URL.
- **zap1_check_anchor_freshness_at_height** — Check anchor age and confirmation depth from a receipt anchor height and a supplied current Zcash height. Stateless; does not call a node.
- **zap1_verify_receipt_chain** — Validate a sequence of ZAP1 receipt packets and summarize whether all packets are well-formed and anchored.
- **zap1_compare_receipt_claims** — Compare two ZAP1 receipts and report whether subject, claim, evidence, event type, and anchor context match.
- **zap1_audit_event_log** — Replay a small receipt sequence against an expected event-type policy. Stateless audit helper for agents and reviewers.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "zcash-mcp": {
    "command": "npx",
    "args": ["-y","@frontiercompute/zcash-mcp"]
  }
}
```

## Documentation

## What Frontier-Compute/zcash-mcp MCP server does

Frontier-Compute/zcash-mcp MCP server provides the receipt and attestation layer for Zcash agent workflows. Its central protocol is ZAP1, which represents an event as a typed leaf, groups leaves into a Merkle tree, and supports anchoring the resulting root to Zcash. A later verifier can inspect the receipt, proof material, and anchor information rather than relying only on a server response.

The server covers agent actions, payment and invoice metadata, wallet-action handoffs, operator lifecycle events, policy attestations, identity registration, and reputation data. It also exposes public chain context through block-height and transaction lookup tools, plus decoding for Zcash memo formats.

It is intended to sit beside a wallet or other execution system. It does not perform the wallet operations that create or spend funds.

## How it works

A typical integration first checks the capability manifest and selects a receipt workflow with `zcash_receipt_template`. A wallet or external system can then provide bounded, hash-oriented evidence. `attest_event` creates the typed ZAP1 leaf, while anchor-status tools show whether the leaf is waiting for an anchor or associated with an anchored root.

Proof verification is a separate step. `verify_proof` checks Merkle inclusion, and `zap1_prove_receipt` retrieves the complete proof bundle for a leaf. Other tools validate receipt formats, compare claims, replay event sequences against a supplied policy, or extract a portable proof artifact. Anchor freshness calculations use supplied heights; they do not independently establish chain confirmation.

For payment workflows, receipt-invoice tools create metadata and poll for a paid or timed-out state. That state should not be confused with proof that an external payment, route, exchange, bridge, or settlement system succeeded.

## Tools and capabilities

The tool set includes:

- Capability and workflow guidance through `zcash_capability_manifest` and `zcash_receipt_template`.
- Typed attestations, wallet receipt requests, external-action mappings, identity registration, and receipt invoices.
- Merkle proof creation, retrieval, extraction, and verification, including receipt-v2 checks.
- Anchor history, current tree status, protocol statistics, recent events, and agent summaries.
- Legacy v1 shape checks, receipt-chain checks, claim comparisons, event-log auditing, and anchor-depth arithmetic.
- Zcash memo decoding, block-height retrieval, raw transaction lookup, and EVM-side proof verification.

The verification tools distinguish packet shape, Merkle inclusion, and anchor confirmation. That distinction is important when a receipt is presented as evidence to another agent, user, auditor, or service.

## Limitations and notes

Frontier-Compute/zcash-mcp MCP server is not a full wallet MCP. It does not hold keys, handle seeds, scan balances, sign PCZTs, construct shielded spends, broadcast shielded transactions, or synchronize with lightwalletd or Zaino wallet services. It should not replace a wallet SDK or custody component.

A ZAP1 receipt does not audit or guarantee the external system referenced by the receipt. A payment URI, quote, route, intent hash, transaction identifier, unanchored leaf, or status field is not automatically settlement evidence. V1 validation is limited to the defined packet or sequence shape, while receipt-v2 verification still keeps anchor confirmation as a distinct check. Integrators should retain the required witness, sibling positions, and committed leaf count when using v2 proof bundles.

_Full upstream README: https://allmcps.com/mcp/frontier-compute-zcash-mcp/readme_

