Frontier-Compute/zcash-mcp
This server connects AI agents to Zcash blockchain operations, ZAP1 attestation services, and advanced shielded features.
Blockchain Data
Query current Zcash chain height from a Zebra node.
Look up raw/decoded transaction data by txid.
Wallet & Payments
Generate
zcash:payment URIs (ZIP 321) with address, amount, and optional memo.Decode shielded memos: ZAP1 typed, ZIP 302, plain text, or binary.
Create payment invoices and monitor them until paid, returning txid, block height, and amount.
ZAP1 Attestation
Get attestation history and anchor status for a wallet hash.
Write typed attestation events (e.g., DEPLOYMENT, AGENT_ACTION, GOVERNANCE_PROPOSAL) to the Zcash blockchain Merkle tree.
Verify Merkle proofs to confirm a leaf hash exists in the attestation tree.
Fetch the full Merkle proof bundle for a given leaf hash.
Query protocol stats: total leaves, anchors, type distribution, tree height.
Retrieve full anchor history (txids and block heights) and current Merkle tree state.
Fetch recent attestation events (configurable limit up to 200).
Get a full agent attestation summary: registration, policies, actions, and event history.
Agent & Advanced Features
Register agent identities via
AGENT_REGISTERattestation.Fetch agent reputation scores (bond data and policy compliance).
Initiate cross-chain swap intents from ZEC transparent funds to BTC, USDC, or USDT via Ika or NEAR.
Create split-key wallets via Ika 2PC-MPC for signing ZEC, BTC, and ETH.
Perform MPC signing where neither party holds the full key.
Shield transparent ZEC funds to the Orchard pool.
Verify ZAP1 Merkle proofs on-chain via EVM contracts (Sepolia, Base, Arbitrum).
Provides tools for interacting with the Zcash blockchain, enabling AI agents to perform shielded operations including checking balances, generating payment URIs, decoding shielded memos, writing attestations, verifying Merkle proofs, and querying chain data like block height and transaction details.
zcash-mcp
Zcash MCP server. Connects AI agents to shielded Zcash operations. Published on the MCP registry.
MCP (Model Context Protocol) is the standard way for AI models to call external tools. This server exposes 12 Zcash tools that any MCP client can use - Claude Desktop, ChatGPT, OpenClaw, or anything that speaks the protocol.
Tools
Tool | What it does |
| ZAP1 attestation history and anchor status for a wallet hash |
| Generate a zcash: payment URI (ZIP 321) |
| Decode shielded memos - ZAP1 typed, ZIP 302, text, binary |
| Write a ZAP1 attestation to the Zcash blockchain |
| Verify a ZAP1 Merkle proof |
| ZAP1 protocol stats (leaves, anchors, types) |
| Current chain height from Zebra |
| Raw transaction data by txid |
| All ZAP1 Merkle root anchors with txids and block heights |
| Current Merkle tree state: root, unanchored leaves, recommendation |
| Recent ZAP1 attestation events with type, wallet hash, leaf hash |
| Attestation summary for a ZAP1 agent ID |
| Create a ZAP1 payment invoice, returns address, amount, zcash: URI, expiry |
| Poll an invoice until paid or timeout, returns txid, height, amount |
| Fetch the full Merkle proof bundle for a leaf hash |
| Register an agent identity via AGENT_REGISTER attestation |
| Fetch agent bond data and policy compliance as a reputation object |
| Cross-chain swap intent: ZEC transparent to BTC, USDC, USDT via Ika or NEAR |
| Create a split-key wallet via Ika 2PC-MPC (secp256k1 signs for ZEC, BTC, ETH) |
| Sign a message hash through Ika 2PC-MPC (neither party sees the full key) |
| Move ZEC from transparent MPC custody to shielded Orchard pool |
| Verify a ZAP1 Merkle proof on-chain via EVM contract (Sepolia, Base, Arbitrum) |
Install
npx @frontiercompute/zcash-mcpOr install globally:
npm install -g @frontiercompute/zcash-mcpConfiguration
Environment variables:
Variable | Default | Description |
|
| Zebra node JSON-RPC endpoint |
|
| ZAP1 attestation API |
| none | API key for attest_event |
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"zcash": {
"command": "npx",
"args": ["@frontiercompute/zcash-mcp"],
"env": {
"ZEBRA_RPC_URL": "http://127.0.0.1:8232",
"ZAP1_API_KEY": "your-key-here"
}
}
}
}Any MCP client
The server communicates over stdio using JSON-RPC. Point your MCP client at the zcash-mcp binary.
Build from source
git clone https://github.com/Frontier-Compute/zcash-mcp.git
cd zcash-mcp
npm ci
npm run build
node dist/index.jsTesting
Offline verification covers the built stdio server and a clean-room install from the packed npm tarball:
npm run test:offlineLive verification hits a real Zebra RPC and ZAP1 API:
ZEBRA_RPC_URL=http://127.0.0.1:8232 \
ZAP1_API_URL=http://127.0.0.1:3080 \
ZAP1_API_KEY=your-key-here \
npm run test:livetest:live drives the MCP server over stdio and exercises the live tool surface, not just the underlying HTTP endpoints. Set ZAP1_AGENT_ID if you want the get_agent_status check to target a specific deployed agent.
GitHub Actions mirrors that split:
.github/workflows/offline-ci.ymlruns deterministic packaging and MCP handshake checks on every push and pull request..github/workflows/live-e2e.ymlruns secret-backed live checks onmain, on a schedule, and by manual dispatch.
Dependencies
A running Zebra node for chain queries (get_block_height, lookup_transaction)
The ZAP1 API at pay.frontiercompute.io for attestation tools (get_balance, attest_event, verify_proof, get_stats, get_anchor_history, get_anchor_status, get_events, get_agent_status)
Memo decoding works locally with no external dependencies
Related Packages
Package | What it does |
Zcash + Bitcoin signing via Ika 2PC-MPC | |
OpenClaw skill for ZAP1 attestation | |
ZAP1 attestation client | |
Silo agent attestation via ZAP1 |
Links
Dashboard - live ZAP1 attestation dashboard
MCP Registry - published MCP server listing
Frontier Compute - project homepage
License
MIT
quickstart (5 minutes)
add to your MCP config:
{
"mcpServers": {
"zcash": {
"command": "npx",
"args": ["@frontiercompute/zcash-mcp"]
}
}
}restart your client. ask: "what is the current zcash block height?"
done. 22 tools available. no API key needed for read operations.
get a trial key for write operations:
curl -s -X POST https://frontiercompute.cash/api/trial-keyMaintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Frontier-Compute/zcash-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server