bnbchain-mcp
Installation
SKILL.md
BNB Chain MCP Skill
How to connect to the BNB Chain MCP server and use its tools: blocks, transactions, contracts, tokens, NFTs, wallet, ERC-8004 agents, and Greenfield. Use this skill when working with BNB Chain / opBNB / EVM or Greenfield via MCP.
Connection and credentials
- Run the server:
npx @bnb-chain/mcp@latest(fetches from npm at runtime). Source: github.com/bnb-chain/bnbchain-mcp. - RPC: Default chains use built-in RPC; no config unless self-hosting or custom RPC.
- PRIVATE_KEY: Omit or leave empty for read-only (blocks, balances, contract reads). Set in the MCP server
envfor state-changing tools (transfers,write_contract,approve_token_spending, ERC-8004 register/set_uri, Greenfield writes). Never log or expose private keys. - Read-only vs state-changing: Block/balance/contract-read tools work without a key; transfers and writes require
PRIVATE_KEYin the server environment.
1. MCP server config
Add the bnbchain-mcp server to the MCP client config (e.g. Cursor MCP settings, Claude Desktop claude_desktop_config.json).