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 Server?

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

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.

Configuration

Recorded tools

  • 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
  • get_chain_info — Get chain information for a specific network
  • get_supported_networks — Get list of supported networks

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

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

How to install the Bnbchain MCP Server

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

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
PRIVATE_KEYDeclared in the maintainer’s client configuration.Yes
BNBCHAIN_MCP_SKIP_TRANSFER_CONFIRMATIONDeclared in the maintainer’s client configuration.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

A MCP server for BNB Chain that supports BSC, opBNB, Greenfield, and other popular EVM-compatible networks. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.