zetachain-mcp-server

zetachain-mcp-server

An MCP server that connects ZetaChain CLI into your editor. Query balances, send cross-chain transactions, and manage universal contracts directly through MCP.

Category
访问服务器

README

Universal Blockchain MCP

A comprehensive Model Context Protocol (MCP) server for universal blockchain development, providing full access to ZetaChain CLI, Foundry, and cross-chain functionality through AI assistants.

Features

🔐 Account Management

  • create_account: Create new ZetaChain accounts with mnemonic phrases
  • import_account: Import existing accounts using private keys or mnemonics
  • list_accounts: List all available ZetaChain accounts
  • show_account: Show detailed account information

💰 Balance & Token Operations

  • get_balances: Fetch native and ZETA token balances across chains
  • list_tokens: List all ZRC-20 tokens with addresses and chain info
  • request_faucet: Request testnet ZETA tokens from the faucet

🌐 Cross-Chain Operations

  • query_cctx: Query cross-chain transaction data in real-time
  • get_fees: Fetch omnichain and cross-chain messaging fees
  • call_contract: Call contracts on connected chains from ZetaChain
  • withdraw_tokens: Withdraw tokens from ZetaChain to connected chains
  • withdraw_and_call: Withdraw tokens and call contracts in one operation

⛓️ Network & Chain Information

  • list_chains: List all supported chains with IDs and token counts
  • get_network_info: Get current ZetaChain network status and information

🛠️ Development Tools

  • create_project: Create new universal contract projects with templates
  • check_foundry: Verify Foundry (forge, cast, anvil) installation and versions

🔧 Advanced Tools (65+ Available)

  • Foundry Integration: forge_build, forge_test, forge_create, forge_verify
  • Cast Operations: cast_call, cast_send, cast_balance, cast_nonce, cast_gas_price
  • Anvil Testing: anvil_start, anvil_snapshot, anvil_revert
  • ZetaChain Advanced: validator_create, governance_vote, staking_delegate, staking_rewards
  • Cross-Chain: cross_chain_send, cross_chain_status, bridge_status
  • Smart Contracts: contract_compile, contract_deploy, contract_interact
  • DeFi Operations: defi_swap, defi_liquidity_add, defi_yield_farm
  • NFT Operations: nft_mint, nft_transfer, nft_metadata
  • Wallet Management: wallet_export, wallet_backup, transaction_history
  • Security & Analysis: security_audit, gas_optimizer, multisig_create
  • Blockchain Tools: block_explorer, gas_tracker, portfolio_tracker

Note: Advanced tools provide full functionality when installed locally via NPM. Cloud versions provide helpful guidance and installation instructions.

Installation

🚀 Method 1: NPM Package (Recommended for Full Functionality)

One-Click Install with Auto-Setup:

npm install -g @ExpertVagabond/universal-blockchain-mcp

This automatically installs:

  • ✅ ZetaChain CLI globally
  • ✅ Foundry toolkit (forge, cast, anvil)
  • ✅ All 65+ MCP tools with full functionality
  • ✅ Complete development environment

Usage after installation:

# Run the MCP server
universal-blockchain-mcp

# Or use with Claude Desktop
# Add to Claude Desktop config:
{
  "mcpServers": {
    "universal-blockchain": {
      "command": "universal-blockchain-mcp",
      "args": []
    }
  }
}

🌐 Method 2: Smithery Cloud (Hosted)

Claude Code CLI:

claude mcp add --transport http universal-blockchain "https://server.smithery.ai/@ExpertVagabond/universal-blockchain-mcp/mcp"

Deep Link (HTTP):

claude://mcp/install?name=Universal%20Blockchain%20MCP&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fserver.smithery.ai%2F%40ExpertVagabond%2Funiversal-blockchain-mcp%2Fmcp%22%7D

Manual Configuration:

{
  "type": "http",
  "url": "https://server.smithery.ai/@ExpertVagabond/universal-blockchain-mcp/mcp"
}

Smithery Registry:

# Install via Smithery registry
SMITHERY_API_KEY=your_key smithery run @ExpertVagabond/universal-blockchain-mcp

📦 Method 3: Other MCP Registries

mcp.so Registry:

  • Visit: https://mcp.so
  • Search: "universal-blockchain-mcp"
  • One-click install available

PulseMCP Directory:

  • Visit: https://pulsemcp.com
  • Browse: Blockchain & Web3 category
  • Direct integration with Cursor, Claude, Cline

Glama Registry:

  • Visit: https://glama.ai
  • Search: "ZetaChain" or "blockchain"
  • Multi-tool ecosystem integration

Fleur (Mac + Claude):

  • Visit: https://fleur.ai
  • Zero-code MCP installation
  • Perfect for non-technical users

🔧 Method 4: Manual Configuration

stdio Configuration (Local):

{
  "type": "stdio", 
  "command": "npx",
  "args": ["-y", "@ExpertVagabond/universal-blockchain-mcp"]
}

Custom CLI Path:

{
  "type": "stdio",
  "command": "/path/to/universal-blockchain-mcp",
  "args": []
}

Manual Installation

Prerequisites

  • Node.js 18+
  • ZetaChain CLI (installed automatically)
  • Foundry (for smart contract development - installed automatically)

Quick Setup

# Clone and setup everything
git clone https://github.com/ExpertVagabond/zetachain-mcp-server.git
cd zetachain-mcp-server
npm run setup  # Installs dependencies, CLI, and builds project

Manual Setup

# 1. Clone repository
git clone https://github.com/ExpertVagabond/zetachain-mcp-server.git
cd zetachain-mcp-server

# 2. Install dependencies (includes ZetaChain CLI via npm)
npm install

# 3. Install ZetaChain CLI globally (optional, recommended)
npm install -g zetachain@latest

# 4. Build the project
npm run build

# 5. Run the server
npm start

Using Local ZetaChain Installation

If you have ZetaChain CLI installed locally, you can specify the path:

export ZETACHAIN_CLI_PATH=/path/to/zetachain
npm start

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Start production server
npm start

Usage Examples

Once added to Claude, you can use all ZetaChain functionality through natural language:

Account Management

Create a new ZetaChain account called "my-wallet"
Import my existing account using this private key: 0x...
Show me all my ZetaChain accounts

Cross-Chain Operations

Check ZETA balances for address 0x742d35Cc6634C0532925a3b8D5C20aE6f0f3FFaa
What are the current cross-chain fees from Ethereum to Polygon?
Query the status of cross-chain transaction 0xabc123...
Withdraw 100 ZETA from ZetaChain to Ethereum address 0x...

Token & Chain Information

List all supported chains on ZetaChain
Show me all ZRC-20 tokens
What tokens are available on BSC testnet?

Development

Create a new ZetaChain project called "my-dapp" 
Get testnet ZETA tokens for address 0x...
What's the current ZetaChain testnet status?

Supported Chains

ZetaChain MCP server supports all ZetaChain connected chains:

  • Ethereum (Sepolia Testnet)
  • BSC (Testnet)
  • Polygon (Amoy Testnet)
  • Avalanche (Fuji Testnet)
  • Arbitrum (Sepolia)
  • Base (Sepolia)
  • Bitcoin (Testnet/Signet)
  • Solana (Devnet)
  • TON (Testnet)
  • Sui (Testnet)
  • Kaia (Testnet)

Requirements

  • Node.js 18+
  • ZetaChain CLI (installed automatically as dependency)
  • Foundry (for smart contract development - installed automatically)

Architecture

This MCP server provides a bridge between AI assistants and the ZetaChain CLI, enabling:

  • Direct CLI Integration: All commands are executed through the official ZetaChain CLI
  • Real-time Data: Live blockchain data from ZetaChain networks
  • Cross-chain Functionality: Full access to ZetaChain's omnichain capabilities
  • Developer Tools: Project creation, account management, and testing utilities

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选