@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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@tonresistor/zkresistor-clideposit 10 TON into pool EQ_pool"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@tonresistor/zkresistor-cli
Self-hosted CLI and MCP interface for ZKResistor privacy pools on TON.
Version 2.0.0 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 ci
npm run build
npm install -g .The default mainnet Factory is:
EQD3rhFaCusU0715MZonDNj8GuHeA17KygIXkBLkalpkBjleRelated MCP server: zkproofport-ai
Usage
zkr wallet new --name main
zkr pools list
zkr deposit --pool EQ_pool --wallet main
zkr withdraw --note 'zkresistor:...' --to EQ_recipient --wallet mainCommand | Purpose |
| Encrypted local wallets |
| Discover and inspect pools |
| 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 payloads are journaled under
~/.config/zkresistor/pending-deposits/before a deposit send.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 run lint
npm test
npm run build
bash scripts/smoke.shMIT License. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/TONresistor/zk-resistor-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server