@tonresistor/zkresistor-cli
Provides tools for interacting with ZKResistor privacy pools on the TON blockchain, enabling wallet management, pool operations (create, deposit, withdraw), and zero-knowledge proof generation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
zkresistor-cli
Self-hosted CLI and MCP interface for ZKResistor privacy pools on TON.
Version 2.0.1 reconstructs pool state and generates Groth16 proofs locally.
Public TON infrastructure supplies chain data only. No private bridge, indexer,
or public relayer daemon is required.
Install
Requires Node.js 22 or newer.
npm install -g zkresistor-cli
zkrRun once without installing globally with npx zkresistor-cli.
The default mainnet Factory is:
EQB8W1W276GWiQpK88Sx46K20rsMrCKIezOpwFGJ4dhjWz58Related MCP server: zkproofport-ai
Usage
Open the interactive CLI:
zkrBrowse Pools lists every active Pool. Filter by GRAM or Jettons, or select
Search Pool to search by token, denomination, or address. Selecting a Pool
carries its full address into deposit, withdraw, and inspection flows.
Commands remain available for scripts and automation:
zkr wallet new --name main
zkr pools list
zkr pools list --compact
zkr deposit --pool EQ_pool --wallet main
zkr deposits recover --wallet main
zkr withdraw --note 'zkresistor:...' --to EQ_recipient --wallet mainCommand | Purpose |
| Encrypted local wallets |
| List full Pool addresses and inspect state |
| Create and activate pools |
| Synchronize, prove, and deposit |
| Synchronize, prove, and withdraw |
| Local stdio MCP server |
Use --json for structured output and --yes to skip write confirmations.
Security
A deposit note is the only way to withdraw. Store it before broadcasting.
Notes and deposit metadata are journaled under
~/.config/zkresistor/pending-deposits/before a deposit send. New journals encrypt the note with the local wallet; recover it withzkr deposits recover.Wallet mnemonics are encrypted locally with AES-256-GCM and scrypt.
Verified pool state is stored under
~/.config/zkresistor/state/.Withdrawals bind the complete recipient address and reject incompatible pool code before proving.
Final ceremony artifacts are packaged under
artifacts/circuits/and checked against pinned sizes and SHA-256 hashes before use.
The depth-20 tree has 1,048,576 slots. The bundled in-memory state provider is
a reference implementation, not a full-capacity database benchmark.
Configuration
Common variables are ZKR_NET, ZKR_FACTORY_ADDRESS, ZKR_RPC_ENDPOINT,
ZKR_RPC_API_KEY, ZKR_PASSPHRASE, and ZKR_STATE_DIR. Non-secret defaults
may also live in ./zkresistor.config.json or
~/.config/zkresistor/config.json.
Development
npm ci
npm run check
bash scripts/smoke.shMIT License. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP tools for TON Sites, TON DNS and TON Storage.
Self-hosted MCP server: 26 deterministic dev, security, and EVM tools.
ZKEvidenceOracle - 14 zero-knowledge proof tools for compliance evidence: Groth16, PLONK.
Tenzro Network MCP server: wallet, identity, payments, inference, staking, bridges, verification.
Related MCP Servers
- AlicenseAqualityCmaintenanceZcash MCP server for AI agents. 12 tools for shielded operations, memo decoding, ZAP1 attestation. Works with Claude, ChatGPT, OpenClaw.2080 npm1MIT
- AlicenseAqualityBmaintenanceZero-knowledge proof generation MCP server. AI agents can prove identity claims (Coinbase KYC, Country, Google OIDC, Google Workspace, Microsoft 365) without revealing personal data. Runs in AWS Nitro Enclave TEE with x402 USDC payments.72MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for managing TON blockchain sites, deployments, DNS, and storage via the Resistance Tools platform.MIT

vcc-proverofficial
AlicenseAqualityBmaintenanceGenerates and verifies zero-knowledge proofs locally for Energy Web Verified Compute, keeping private meter readings and blinding salts on the user's machine while enabling agents to submit verifiable proof packages.3230 npmMIT