BNB Chain MCP Skill for Openclaw

A comprehensive Model Context Protocol server for AI agents to interact with BNB Chain, opBNB, and Greenfield decentralized storage.

0xlucasliao
vv1.0.2
Mar 4, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install bnbchain

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install bnbchain using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is BNB Chain MCP Skill?

The BNB Chain MCP skill is a specialized interface designed for Openclaw Skills that bridges the gap between AI agents and the BNB Chain ecosystem. It allows developers and power users to equip their AI assistants with the ability to query blockchain data, manage assets, and interact with smart contracts across multiple EVM-compatible networks including BSC, opBNB, Ethereum, and Base.

Beyond simple wallet queries, this skill provides deep integration with BNB Greenfield for decentralized storage and the ERC-8004 standard for AI agent identity registration. Whether you are building an automated trading assistant or a decentralized file manager, this skill provides the necessary tools to perform both read-only operations and secure, state-changing transactions.

BNB Chain MCP Skill Use Cases

  • Monitoring real-time wallet balances and transaction history across various blockchain networks.
  • Automating token transfers for ERC20, ERC721, and ERC1155 assets via natural language.
  • Registering and managing AI agent identities on the ERC-8004 Identity Registry.
  • Managing decentralized data storage by creating buckets and uploading objects to BNB Greenfield.
  • Analyzing smart contract code and executing specific contract functions directly through an AI interface.

How BNB Chain MCP Skill Works

  1. The AI agent initializes a connection to the BNB Chain MCP server using the provided runtime environment.
  2. When a user requests blockchain data, the skill queries public or configured RPC endpoints to fetch information like block headers or token balances.
  3. If a transaction is requested, the skill checks for the presence of a PRIVATE_KEY in the local environment to sign the transaction safely.
  4. The skill validates the target network (e.g., BSC or opBNB) to prevent accidental execution on the wrong chain.
  5. Once the transaction is broadcasted, the skill returns a detailed receipt or confirmation to the AI agent for further processing within the Openclaw Skills ecosystem.

BNB Chain MCP Skill Setup

To deploy this skill, you can run the server using npx. Ensure your environment is configured with the necessary RPC endpoints if you are not using the defaults.

npx @bnb-chain/mcp@latest

For state-changing actions like transfers or contract writes, you must provide a PRIVATE_KEY in your environment variables. This key is used locally for signing and is never stored by the server. Openclaw Skills prioritize security, so always use a testnet wallet for initial development.

BNB Chain MCP Skill Data Schema & Taxonomy

The skill returns structured data designed for easy parsing by AI models. Data is categorized as follows:

Data Category Description Primary Metadata
Network Info Chain details and supported networks chainId, networkName, rpcUrl
Account Data Balance and token information address, symbol, decimals, balance
Greenfield Storage bucket and object metadata bucketName, objectId, visibility, size
ERC-8004 Agent identity and registry data agentId, owner, agentURI, wallet

BNB Chain MCP Skill Advanced Features

  • Support for complex smart contract interactions with both read and write capabilities.
  • Full integration with BNB Greenfield for AI-managed decentralized storage and payment accounts.
  • Implementation of ERC-8004 for verifiable AI agent identities on-chain.
  • Gas estimation tools to help agents optimize transaction costs before execution.
  • Multi-chain compatibility across several major EVM networks including BSC, opBNB, Polygon, and Base.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*