io.github.ExpertVagabond/universal-blockchain

编码与调试

by expertvagabond

面向 ZetaChain 的通用区块链 MCP 服务器,便于统一接入跨链能力与链上交互。

什么是 io.github.ExpertVagabond/universal-blockchain

面向 ZetaChain 的通用区块链 MCP 服务器,便于统一接入跨链能力与链上交互。

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:

bash
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:

bash
# 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:

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

Deep Link (HTTP):

code
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:

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

Smithery Registry:

bash
# 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):

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

Custom CLI Path:

json
{
  "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

bash
# 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

bash
# 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:

bash
export ZETACHAIN_CLI_PATH=/path/to/zetachain
npm start

Development

bash
# 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

code
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

code
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

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

Development

code
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

常见问题

io.github.ExpertVagabond/universal-blockchain 是什么?

面向 ZetaChain 的通用区块链 MCP 服务器,便于统一接入跨链能力与链上交互。

相关 Skills

网页构建器

by anthropics

Universal
热门

面向复杂 claude.ai HTML artifact 开发,快速初始化 React + Tailwind CSS + shadcn/ui 项目并打包为单文件 HTML,适合需要状态管理、路由或多组件交互的页面。

在 claude.ai 里做复杂网页 Artifact 很省心,多组件、状态和路由都能顺手搭起来,React、Tailwind 与 shadcn/ui 组合效率高、成品也更精致。

编码与调试
未扫描123.0k

前端设计

by anthropics

Universal
热门

面向组件、页面、海报和 Web 应用开发,按鲜明视觉方向生成可直接落地的前端代码与高质感 UI,适合做 landing page、Dashboard 或美化现有界面,避开千篇一律的 AI 审美。

想把页面做得既能上线又有设计感,就用前端设计:组件到整站都能产出,难得的是能避开千篇一律的 AI 味。

编码与调试
未扫描123.0k

网页应用测试

by anthropics

Universal
热门

用 Playwright 为本地 Web 应用编写自动化测试,支持启动开发服务器、校验前端交互、排查 UI 异常、抓取截图与浏览器日志,适合调试动态页面和回归验证。

借助 Playwright 一站式验证本地 Web 应用前端功能,调 UI 时还能同步查看日志和截图,定位问题更快。

编码与调试
未扫描123.0k

相关 MCP Server

GitHub

编辑精选

by GitHub

热门

GitHub 是 MCP 官方参考服务器,让 Claude 直接读写你的代码仓库和 Issues。

这个参考服务器解决了开发者想让 AI 安全访问 GitHub 数据的问题,适合需要自动化代码审查或 Issue 管理的团队。但注意它只是参考实现,生产环境得自己加固安全。

编码与调试
84.2k

by Context7

热门

Context7 是实时拉取最新文档和代码示例的智能助手,让你告别过时资料。

它能解决开发者查找文档时信息滞后的问题,特别适合快速上手新库或跟进更新。不过,依赖外部源可能导致偶尔的数据延迟,建议结合官方文档使用。

编码与调试
53.3k

by tldraw

热门

tldraw 是让 AI 助手直接在无限画布上绘图和协作的 MCP 服务器。

这解决了 AI 只能输出文本、无法视觉化协作的痛点——想象让 Claude 帮你画流程图或白板讨论。最适合需要快速原型设计或头脑风暴的开发者。不过,目前它只是个基础连接器,你得自己搭建画布应用才能发挥全部潜力。

编码与调试
46.4k

评论