ZAN MCP Server

by jeasonstudio

2 stars
335 downloads
Not rated
GitHub

About

ZAN MCP Server is a Model Context Protocol (MCP) server that connects AI assistants to ZAN.top’s blockchain node services. It provides tools for querying and interacting with multiple EVM-compatible chains, enabling AI to read on-chain data, resolve ENS names, and submit…

Details

Author
jeasonstudio
GitHub stars
2
Downloads
335
Categories
Other

- Multi‑chain support: Ethereum, Polygon, BSC, Arbitrum, Optimism, and more
- Convenient blockchain queries via EVM and advanced API tools
- High‑reliability node service powered by ZAN.top
- Fully compliant with the MCP protocol standard
- Extensible architecture for adding new blockchain tools

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name ZAN MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install and run via npx without a local install: add a configuration entry to your MCP client (Claude Desktop, Cursor, VSCode) with "command": "npx", "args": ["-y", "zan-mcp-server", "--stdio", "--api-key", "<zan_api_key>"]. For write operations (sending transactions, signing), also supply the chain’s private key using --evm-private-key or --solana-private-key.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "zan mcp server": {
            "zan": {
                "command": "npx",
                "args": [
                    "-y",
                    "zan-mcp-server",
                    "--stdio",
                    "--api-key",
                    "<zan-api-key>"
                ]
            }
        }
    }
}

McpServers

{
    "zan": {
        "command": "npx",
        "args": [
            "-y",
            "zan-mcp-server",
            "--stdio",
            "--api-key",
            "<zan-api-key>"
        ]
    }
}

ZAN MCP Server

[![NPM version][npm-image]][npm-url]

[npm-image]: https://img.shields.io/npm/v/zan-mcp-server.svg?style=flat-square
[npm-url]: https://npmjs.org/package/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

zan-mcp-server-example

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

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.