Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Bnbchain Mcp

    A MCP server for BNB Chain that supports BSC, opBNB, Greenfield, and other popular EVM-compatible networks.

    43 stars
    TypeScript
    Updated Oct 2, 2025

    Table of Contents

    • Description
    • Core Modules
    • Important Notes
    • Integration with Cursor
    • Integration with Claude Desktop
    • Integration with Other Clients
    • Local Development
    • Prerequisites
    • Quick Start
    • Testing with MCP Clients
    • Testing with Web UI
    • Available Scripts
    • Available Prompts and Tools
    • Prompts
    • Tools
    • ERC-8004 Agent tools
    • Greenfield tools
    • Supported Networks
    • Contributing
    • License
    • References and Acknowledgments

    Table of Contents

    • Description
    • Core Modules
    • Important Notes
    • Integration with Cursor
    • Integration with Claude Desktop
    • Integration with Other Clients
    • Local Development
    • Prerequisites
    • Quick Start
    • Testing with MCP Clients
    • Testing with Web UI
    • Available Scripts
    • Available Prompts and Tools
    • Prompts
    • Tools
    • ERC-8004 Agent tools
    • Greenfield tools
    • Supported Networks
    • Contributing
    • License
    • References and Acknowledgments

    Documentation

    BNBChain MCP (Model Context Protocol)

    A powerful toolkit for interacting with BNB Chain and other EVM-compatible networks through natural language processing and AI assistance.

    Description

    BNBChain MCP is a Model Context Protocol implementation that enables seamless interaction with blockchain networks through AI-powered interfaces. It provides a comprehensive set of tools and resources for blockchain development, smart contract interaction, and network management.

    Core Modules

    The project is organized into several core modules:

    • Blocks: Query and manage blockchain blocks
    • Contracts: Interact with smart contracts
    • Network: Network information and management
    • NFT: NFT (ERC721/ERC1155) operations
    • Tokens: Token (ERC20) operations
    • Transactions: Transaction management
    • Wallet: Wallet operations and management
    • Common: Shared utilities and types
    • Greenfield: Support file management operations on Greenfield network including, uploading, downloading, and managing files and buckets
    • Additional features coming soon (Greenfield, Swap, Bridge, etc.)
    • Agents (ERC-8004): Register and resolve on-chain AI agent identities (ERC-8004 Trustless Agents) on BSC and BSC Testnet

    Important Notes

    We do not recommend deploying this MCP Server on the public internet. (1) The SSE endpoint has no authentication—anyone who can reach it can use the server. (2) There is no centralized service that custodies private keys or funds; keys and signing are the responsibility of the client. If you still need to deploy it publicly, add an authentication layer in front (e.g. API keys, JWT, or a reverse proxy with auth), or deploy a keyless version that only exposes read-only or non-sensitive tools.

    Integration with Cursor

    To connect to the MCP server from Cursor:

    1. Open Cursor and go to Settings (gear icon in the top right)

    2. Click on "MCP" in the left sidebar

    3. Click "Add new global MCP server"

    4. Enter the following details:

    Default mode

    json
    {
      "mcpServers": {
        "bnbchain-mcp": {
          "command": "npx",
          "args": ["-y", "@bnb-chain/mcp@latest"],
          "env": {
            "PRIVATE_KEY": "your_private_key_here. (optional)"
          }
        }
      }
    }

    SSE mode

    json
    {
      "mcpServers": {
        "bnbchain-mcp": {
          "command": "npx",
          "args": ["-y", "@bnb-chain/mcp@latest", "--sse"],
          "env": {
            "PRIVATE_KEY": "your_private_key_here. (optional)"
          }
        }
      }
    }

    Integration with Claude Desktop

    To connect to the MCP server from Claude Desktop:

    1. Open Claude Desktop and go to Settings

    2. Click on "Developer" in the left sidebar

    3. Click the "Edit Config" Button

    4. Add the following configuration to the claude_desktop_config.json file:

    json
    {
      "mcpServers": {
        "bnbchain-mcp": {
          "command": "npx",
          "args": ["-y", "@bnb-chain/mcp@latest"],
          "env": {
            "PRIVATE_KEY": "your_private_key_here"
          }
        }
      }
    }

    5. Save the file and restart Claude Desktop

    Once connected, you can use all the MCP prompts and tools directly in your Claude Desktop conversations. For example:

    • "Analyze this address: 0x123..."
    • "Explain the EVM concept of gas"
    • "Check the latest block on BSC"

    Integration with Other Clients

    If you want to integrate BNBChain MCP into your own client, please check out the examples directory for more detailed information and reference implementations.

    The examples demonstrate:

    • How to set up the MCP client
    • Authentication and configuration
    • Making API calls to interact with blockchain networks
    • Handling responses and errors
    • Best practices for integration

    Local Development

    Prerequisites

    • bun v1.2.10 or higher
    • Node.js v17 or higher

    Quick Start

    1. Clone the repository:

    bash
    git clone https://github.com/bnb-chain/bnbchain-mcp.git
    cd bnbchain-mcp

    2. Set up environment variables:

    bash
    cp .env.example .env

    Edit .env file with your configuration:

    • PRIVATE_KEY: Your wallet private key (required for transaction operations)
    • LOG_LEVEL: Set logging level (DEBUG, INFO, WARN, ERROR)
    • PORT: Server port number (default: 3001)

    3. Install dependencies and start development server:

    bash
    # Install project dependencies
    bun install
    
    # Start the development server
    bun dev:sse

    Testing with MCP Clients

    Configure the local server in your MCP clients using this template:

    json
    {
      "mcpServers": {
        "bnbchain-mcp": {
          "url": "http://localhost:3001/sse",
          "env": {
            "PRIVATE_KEY": "your_private_key_here"
          }
        }
      }
    }

    Testing with Web UI

    We use [@modelcontextprotocol/inspector](https://github.com/modelcontextprotocol/inspector) for testing. Launch the test UI:

    bash
    bun run test

    Available Scripts

    • bun dev:sse: Start development server with hot reload
    • bun build: Build the project
    • bun test: Run test suite

    Available Prompts and Tools

    Prompts

    NameDescription
    analyze_blockAnalyze a block and provide detailed information about its contents
    analyze_transactionAnalyze a specific transaction
    analyze_addressAnalyze an EVM address
    interact_with_contractGet guidance on interacting with a smart contract
    explain_evm_conceptGet an explanation of an EVM concept
    compare_networksCompare different EVM-compatible networks
    analyze_tokenAnalyze an ERC20 or NFT token
    how_to_register_mcp_as_erc8004_agentGet guidance on registering an MCP server as an ERC-8004 agent

    Tools

    NameDescription
    get_block_by_hashGet a block by hash
    get_block_by_numberGet a block by number
    get_latest_blockGet the latest block
    get_transactionGet detailed information about a specific transaction by its hash
    get_transaction_receiptGet a transaction receipt by its hash
    estimate_gasEstimate the gas cost for a transaction
    transfer_native_tokenTransfer native tokens (BNB, ETH, MATIC, etc.) to an address
    approve_token_spendingApprove another address to spend your ERC20 tokens
    transfer_nftTransfer an NFT (ERC721 token) from one address to another
    transfer_erc1155Transfer ERC1155 tokens to another address
    transfer_erc20Transfer ERC20 tokens to an address
    get_address_from_private_keyGet the EVM address derived from a private key
    get_chain_infoGet chain information for a specific network
    get_supported_networksGet list of supported networks
    resolve_ensResolve an ENS name to an EVM address
    is_contractCheck if an address is a smart contract or an externally owned account (EOA)
    read_contractRead data from a smart contract by calling a view/pure function
    write_contractWrite data to a smart contract by calling a state-changing function
    get_erc20_token_infoGet ERC20 token information
    get_native_balanceGet native token balance for an address
    get_erc20_balanceGet ERC20 token balance for an address
    get_nft_infoGet detailed information about a specific NFT
    check_nft_ownershipCheck if an address owns a specific NFT
    get_erc1155_token_metadataGet the metadata for an ERC1155 token
    get_nft_balanceGet the total number of NFTs owned by an address from a specific collection
    get_erc1155_balanceGet the balance of a specific ERC1155 token ID owned by an address

    ERC-8004 Agent tools

    Register and resolve AI agents on the ERC-8004 Identity Registry (Trustless Agents). Supported networks: BSC (56), BSC Testnet (97), Ethereum, Base, Polygon, and their testnets where the official registry is deployed. The agentURI should point to a JSON metadata file following the Agent Metadata Profile (name, description, image, and services such as MCP endpoint).

    NameDescription
    register_erc8004_agentRegister an agent on the ERC-8004 Identity Registry; returns agent ID
    set_erc8004_agent_uriUpdate the metadata URI for an existing ERC-8004 agent (owner only)
    get_erc8004_agentGet agent info (owner and tokenURI) from the Identity Registry
    get_erc8004_agent_walletGet the verified payment wallet for an agent (for x402 / payments)

    Greenfield tools

    NameDescription
    gnfd_get_bucket_infoGet detailed information about a specific bucket
    gnfd_list_bucketsList all buckets owned by an address
    gnfd_create_bucketCreate a new bucket
    gnfd_delete_bucketDelete a bucket
    gnfd_get_object_infoGet detailed information about a specific object
    gnfd_list_objectsList all objects in a bucket
    gnfd_upload_objectUpload an object to a bucket
    gnfd_download_objectDownload an object from a bucket
    gnfd_delete_objectDelete an object from a bucket
    gnfd_create_folderCreate a folder in a bucket
    gnfd_get_account_balanceGet the balance for an account
    gnfd_deposit_to_paymentDeposit funds into a payment account
    gnfd_withdraw_from_paymentWithdraw funds from a payment account
    gnfd_disable_refundDisable refund for a payment account (IRREVERSIBLE)
    gnfd_get_payment_accountsList all payment accounts owned by an address
    gnfd_get_payment_account_infoGet detailed information about a payment account
    gnfd_create_paymentCreate a new payment account
    gnfd_get_payment_balanceGet payment account balance

    Supported Networks

    Supports BSC, opBNB, Greenfield, Ethereum, and other major EVM-compatible networks. For more details, see [src/evm/chains.ts](src/evm/chains.ts).

    ERC-8004 agent registration is available on chains where the official registry is deployed: BSC (56), BSC Testnet (97), Ethereum (1), Sepolia (11155111), Base (8453), Base Sepolia (84532), Polygon (137), Polygon Amoy (80002), Arbitrum (42161), Arbitrum Sepolia (421614). Private key is used only to sign the registration or update transaction and is not stored or logged.

    Contributing

    We welcome contributions to BNBChain MCP! Here's how you can help:

    1. Fork the repository

    2. Create a feature branch

    3. Commit your changes

    4. Push to your branch

    5. Create a Pull Request

    Please ensure your code follows our coding standards and includes appropriate tests.

    License

    This project is licensed under the MIT License - see the LICENSE file for details.

    References and Acknowledgments

    This project is built upon and inspired by the following open-source projects:

    • TermiX-official/bsc-mcp - Original BSC MCP implementation
    • mcpdotdirect/evm-mcp-server - EVM-compatible MCP server implementation

    We extend our gratitude to the original authors for their contributions to the blockchain ecosystem.

    Similar MCP

    Based on tags & features

    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75
    • MC

      Mcgravity

      TypeScript·
      71
    • MC

      Mcp Open Library

      TypeScript·
      42
    • DI

      Discogs Mcp Server

      TypeScript·
      59

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75
    • MC

      Mcgravity

      TypeScript·
      71
    • MC

      Mcp Open Library

      TypeScript·
      42
    • DI

      Discogs Mcp Server

      TypeScript·
      59

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k