- zan-mcp-server
zan-mcp-server
ZAN MCP Server is a server implementation based on the Model Context Protocol specification, specifically designed for ZAN.top blockchain node services. It provides various tools and interfaces for blockchain interaction, enabling AI assistants to seamlessly access and process blockchain data through the MCP protocol.
内容
ZAN MCP Server
Model Context Protocol Server for ZAN.top node services.
Introduction
ZAN MCP Server is a server implementation based on the Model Context Protocol specification, specifically designed for ZAN.top blockchain node services. It provides various tools and interfaces for blockchain interaction, enabling AI assistants to seamlessly access and process blockchain data through the MCP protocol.
Features
- Multi-chain Support: Supports multiple EVM-compatible chains including Ethereum, Polygon, BSC, Arbitrum, and Optimism
- Convenient Blockchain Queries: Provides blockchain information, address resolution, and other features
- High-reliability Node Service: Based on ZAN.top's high-performance node service
- Standard MCP Protocol: Fully compliant with Model Context Protocol specification
- Extensible Architecture: Supports easy addition of new blockchain tools and services
Supported Blockchains
- Ethereum: Mainnet, Sepolia, Holesky test networks
- BSC: Mainnet, testnet
- Polygon: Mainnet, Amoy testnet
- Optimism: Mainnet, Sepolia testnet
- Arbitrum: One (Mainnet), Sepolia testnet
- Others: Base, zkSync, Tron, Avalanche, Fantom, Taiko, Mantle
Demo
API
Resources
- EVM Chain Service: Provides interfaces for Ethereum Virtual Machine compatible chains
- Advanced API Service: Provides advanced Web3 API services
- Solana Chain Service: (Coming soon) Will provide interfaces for Solana blockchain operations
Tools
EVM Tools
- evm_get_chain_info: Get information about a specific EVM network
- evm_resolve_ens: Resolve Ethereum Name Service (ENS) domains
- evm_get_supported_networks: Get a list of all supported networks
- evm_get_contract_address: Get deployed smart contract address information
- evm_get_address: Get currently used Ethereum address
- evm_create_access_list: Create an access list for a transaction
- evm_get_balance: Get account balance
- evm_get_transaction_count: Get the number of transactions (nonce) for an address
- evm_get_block: Get block information by block number or hash
- evm_get_block_number: Get the latest block number
- evm_get_block_transaction_count: Get the number of transactions in a block
- evm_call: Execute a smart contract call
- evm_estimate_gas: Estimate gas needed for a transaction
- evm_get_gas_price: Get current gas price
- evm_verify_message: Verify a signed message
- evm_verify_typed_data: Verify a typed data signature
- evm_get_transaction: Get transaction details
- evm_get_transaction_receipt: Get transaction receipt
- evm_get_logs: Get logs matching specific filter criteria
- evm_get_addresses: Get list of available account addresses
- evm_sign_message: Sign a message
- evm_sign_typed_data: Verify a typed data signature
- evm_sign_transaction: Sign a transaction without sending it
- evm_prepare_transaction_request: Prepares a transaction request with gas and nonce
- evm_send_raw_transaction: Send a raw, signed transaction
- evm_send_transaction: Sign and send a transaction
ZAN Advanced API Tools
- zan_evm_get_nft_metadata: Get metadata for a specific NFT contract address
- zan_evm_get_nfts_by_owner: Get NFTs owned by a specific wallet address
- zan_evm_get_nft_ids: Get token IDs list for an NFT contract address
Upcoming Blockchain Support
- Solana Tools: Solana blockchain interaction tools (in development)
- Bitcoin Tools: Bitcoin blockchain interaction tools (planned)
- Aptos Tools: Aptos blockchain interaction tools (planned)
- Sui Tools: Sui blockchain interaction tools (planned)
Usage
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"zan": {
"command": "npx",
"args": [
"-y",
"zan-mcp-server",
"--stdio",
"--api-key",
"<zan_api_key>"
]
}
}
}
Cursor
{
"mcpServers": {
"zan": {
"command": "npx",
"args": [
"-y",
"zan-mcp-server",
"--stdio",
"--api-key",
"<zan_api_key>"
]
}
}
}
VSCode
{
"inputs": [
{
"type": "promptString",
"id": "zan_api_key",
"description": "ZAN Node Service API Key",
"password": false
}
],
"servers": {
"zan": {
"command": "npx",
"args": [
"zan-mcp-server",
"--stdio",
"--api-key",
"${input:zan_api_key}"
]
}
}
}
Note: For write operations (e.g., sending transactions, signing messages), you need to provide the corresponding chain's private key:
- For EVM chains:
--evm-private-key <private-key>- For Solana:
--solana-private-key <private-key-base58>
Project Integration
import { createStdioServer } from 'zan-mcp-server';
// Create and start server
const server = createStdioServer({
// Configuration options
});
// Handle server lifecycle
Development
# Install dependencies
pnpm install
# Development mode
pnpm dev:watch
# Build
pnpm build
# Test with MCP inspector
pnpm inspect
License
服务器配置
{
"mcpServers": {
"zan": {
"command": "npx",
"args": [
"-y",
"zan-mcp-server",
"--stdio",
"--api-key",
"<zan-api-key>"
]
}
}
}推荐的 MCP Server
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
ChatWiseThe second fastest AI chatbot™
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Tavily Mcp
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
DeepChatYour AI Partner on Desktop
Playwright McpPlaywright MCP server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
CursorThe AI Code Editor
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
WindsurfThe new purpose-built IDE to harness magic