universal-blockchain
ZetaChain CLI
A command-line interface for building and interacting with ZetaChain universal applications. Seamlessly interact with EVM, Solana, Bitcoin, Sui, and TON, all from one CLI.
✨ Features
Scaffold new ZetaChain universal apps from templates
Spin up a local multi-chain development environment (EVM, Solana, etc.) in one command
Query cross-chain fees, contracts, balances, cross-chain transaction, tokens, and more
Make cross-chain calls between Solana, Sui, Bitcoin, TON, and universal apps on ZetaChain
Transfer supported tokens across connected chains
✅ Prerequisites
Node.js ≥ 18
Git (for template cloning)
(Optional) Docker ≥ 24 for
localnet
🚀 Quick Start
Run without installing:
npx zetachain@next newOr install globally:
npm install -g zetachain@latestUse zetachain@next for bleeding-edge builds.
📘 Examples
Create a new project:
zetachain newStart localnet:
zetachain localnet startQuery cross-chain balances:
zetachain query balances🤖 MCP Server Installation
The ZetaChain CLI can be used as an MCP (Model Context Protocol) server, allowing AI assistants like Claude Code and Cursor to execute ZetaChain commands.
Local Installation (Recommended)
Install locally for full access to your filesystem, accounts, and localnet:
npm install -g zetachain
zetachain mcp install --client claude # for Claude Code
# or
zetachain mcp install --client cursor # for CursorThen restart your AI editor to activate the MCP server.
Check installation status:
zetachain mcp listRemove:
zetachain mcp remove --client claudeCloud Installation (Smithery)
For quick setup without local installation, visit Smithery and click "One-Click Install".
⚠️ Note: The cloud version runs on remote servers and cannot access your local files, accounts, or localnet.
🧭 CLI Reference
For full command documentation:
zetachain docsOr use --help with any command:
zetachain accounts --help🤝 Contributing
We welcome contributions! Please open issues or submit pull requests.
📚 Learn More
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/zeta-chain/cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server