Bnbchain MCP Server

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

Local serverstdioGo

What is the Bnbchain MCP MCP server?

A MCP server for BNB Chain that supports BSC, opBNB, Greenfield, and other popular EVM-compatible networks. The bnbchain mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.

What it actually does

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

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.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Its toolset

Everything the assistant can do here goes through one of these:

  • get_block_by_hash — Get a block by hash
  • get_block_by_number — Get a block by number
  • get_latest_block — Get the latest block
  • get_transaction — Get detailed information about a specific transaction by its hash
  • get_transaction_receipt — Get a transaction receipt by its hash
  • estimate_gas — Estimate the gas cost for a transaction
  • transfer_native_token — Transfer native tokens (BNB, ETH, MATIC, etc.) to an address
  • approve_token_spending — Approve another address to spend your ERC20 tokens
  • transfer_nft — Transfer an NFT (ERC721 token) from one address to another
  • transfer_erc1155 — Transfer ERC1155 tokens to another address
  • transfer_erc20 — Transfer ERC20 tokens to an address
  • get_address_from_private_key — Get the EVM address derived from a private key

Configuration

You will need 2 environment variables: PRIVATE_KEY, BNBCHAIN_MCP_SKIP_TRANSFER_CONFIRMATION. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Bnbchain MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the bnbchain mcp mcp server does with a few real requests.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Bnbchain MCP's toolset — get_block_by_hash, get_block_by_number, get_latest_block and 11 more — is a fair guide to whether it matches your workflow. It is maintained by bnb-chain; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Bnbchain MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
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

How to install the Bnbchain MCP MCP server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PRIVATE_KEYCredential the server authenticates with.Yes
BNBCHAIN_MCP_SKIP_TRANSFER_CONFIRMATIONConfiguration value read at startup.Optional

Example prompts to try

  • Use Bnbchain MCP to get block by hash.
  • Use Bnbchain MCP to get block by number.
  • Use Bnbchain MCP to get latest block.

Frequently asked questions

It connects Bnbchain MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (get_block_by_hash, get_block_by_number, get_latest_block, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Bnbchain MCP directly.