bnbchain-mcp
Interact with the BNB Chain Model Context Protocol (MCP) server. Blocks, contracts, tokens, NFTs, wallet, Greenfield, and ERC-8004 agent tools. Use npx @bnb-chain/mcp@latest or read the official skill page.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/0xlucasliao/bnbchainWhat This Skill Does
The bnbchain-mcp skill acts as a powerful bridge between your AI agent and the BNB Chain ecosystem. It leverages the Model Context Protocol (MCP) to provide a standardized, secure, and extensible interface for interacting with EVM-compatible networks. Whether you need to audit smart contracts, track wallet activities, fetch real-time blockchain data, or participate in the emerging ERC-8004 agent-to-agent economy, this skill provides the necessary tooling. It treats the blockchain as a first-class data source, allowing your agent to query block headers, token balances, and NFT metadata with ease. For advanced users, it supports state-changing operations like contract interactions and token transfers, turning your AI agent into an active participant on-chain.
Installation
To integrate this skill, use the clawhub command: clawhub install openclaw/skills/skills/0xlucasliao/bnbchain. Once installed, the underlying MCP server is invoked via npx @bnb-chain/mcp@latest. Ensure you have your environment variables, particularly your RPC provider URL, correctly configured in your MCP client settings before attempting to execute transactions.
Use Cases
- DeFi Analysis: Query historical contract data and token prices to help your agent provide insights on liquidity or market trends.
- Asset Management: Monitor wallet balances and automate tracking of NFTs or tokens across BNB Chain.
- Agent Identity: Utilize ERC-8004 standards to register your AI agent on-chain, allowing for verified interactions in decentralized agent marketplaces.
- Development Debugging: Quickly fetch block data, transaction receipts, and contract event logs to troubleshoot your smart contract deployments.
Example Prompts
- "Check the current BNB balance and the last 5 transaction hashes for this wallet address: 0x..."
- "Read the total supply and the name of the token at this contract address: 0x..."
- "Register this agent using the ERC-8004 standard so it can be discovered in the BNB chain registry."
Tips & Limitations
Always operate under the principle of least privilege. If your task is purely informational, do not provide a PRIVATE_KEY in your environment configuration. This keeps the agent strictly in read-only mode, eliminating the risk of accidental fund loss. For state-changing operations, always use a dedicated testnet wallet with limited funds to sandbox your interactions. Be aware that RPC performance depends on your chosen provider, so choose a reliable endpoint to minimize latency.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-0xlucasliao-bnbchain": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution
Related Skills
erc8004-identity
Maintain your agent on-chain identity (ERC-8004) on BNB Chain. Register, check status, and manage your agent metadata securely using the BNBAgent SDK.
bnbchain-mcp
Interact with the BNB Chain Model Context Protocol (MCP) server. Use to query DeFi data, get token prices, search documentation, fetch git diffs, and retrieve smart contract source code on BNB Chain.