Agent skill

BNB Chain MCP Server

by internet-court in internet-court/internet-court-skill

Connects an agent to the BNB Chain MCP server to read blocks and contracts, move tokens and NFTs, register ERC-8004 agents and use Greenfield storage.

MITAuto-check passedAgent Workflows

Install BNB Chain MCP Server

skills CLI
$ npx skills add internet-court/internet-court-skill --skill bnbchain-mcp -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install internet-court/internet-court-skill bnbchain-mcp --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/internet-court/internet-court-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vendored/bnb-chain/bnbchain-mcp .claude/skills/bnbchain-mcp && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bnbchain-mcp
GitHub stars
6.6k
Used in
1 other repo
Token cost
~1.7k tokens
SKILL.md length
635 words
Files
6 (incl. references)
Skills in repo
80
Repo updated
First seen
Licence
MIT

At a glance

Connects an agent to the BNB Chain MCP server to read blocks and contracts, move tokens and NFTs, register ERC-8004 agents and use Greenfield storage.

  • Works in 6 steps: MCP server config → Credentials and environment → Agent registration (ERC-8004) → …
  • Connecting an MCP client to the BNB Chain server
  • SKILL.md covers Connection and credentials, 1. MCP server config, 2. Credentials and environment and 3. Agent registration (ERC-8004), plus 4 more sections
  • Calls npx and bun; needs PRIVATE_KEY

What it does

The skill explains how to run and configure the `bnbchain-mcp` server, started with `npx @bnb-chain/mcp@latest`, in an MCP client such as Cursor or Claude Desktop, using stdio by default or an SSE mode and a local dev URL. Default chains use built-in RPC. Read-only tools for blocks, balances and contract reads work without a key, while transfers, `write_contract`, `approve_token_spending`, ERC-8004 registration and Greenfield writes need `PRIVATE_KEY` in the server's `env`, which must never be logged or committed.

The tools cover blocks, transactions, contracts, ERC20 and NFT transfers, wallet functions, agent registration through `register_erc8004_agent`, and Greenfield. Read-only tools take an optional `network` parameter that defaults to `bsc`, and `get_supported_networks` lists the options. Reference files document the EVM, ERC-8004, Greenfield and prompt tools. The excerpt is cut off in the quick-reference section.

When your agent uses it

  • Connecting an MCP client to the BNB Chain server
  • Querying blocks, balances or contracts on BNB Chain or opBNB
  • Sending token or NFT transfers from a configured wallet
  • Registering an agent under ERC-8004 through the MCP tool

Example prompts

  • “Add the bnbchain-mcp server to my Claude Desktop config in read-only mode.”
  • “Read the current block number on opBNB with the MCP tools.”
  • “Register my agent on-chain with register_erc8004_agent.”

Requirements

  • Node.js with npx to run `@bnb-chain/mcp@latest`
  • A `PRIVATE_KEY` in the server environment, only for state-changing tools
  • An MCP client such as Cursor or Claude Desktop

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. MCP server config
  2. Credentials and environment
  3. Agent registration (ERC-8004)
  4. Quick reference — tools and prompts
  5. Reference files (per-tool usage)
  6. Safety and best practices

What it can do on your machine

Read from SKILL.md and the folder at commit fa89195. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • PRIVATE_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

BNB Chain MCP Server loads about 1.7k tokens when it runs, and up to ~4.5k if it reads all its reference files. Until then it costs about 94 tokens; SKILL.md has 635 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from internet-court/internet-court-skill at commit fa89195, republished under its MIT licence (© internet-court). 635 words, ~1,698 tokens.

Download SKILL.mdSave it as .claude/skills/bnbchain-mcp/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
bnbchain-mcp
description
BNB Chain MCP server connection and tool usage. Covers npx @bnb-chain/mcp@latest, PRIVATE_KEY and RPC, and every MCP tool — blocks, transactions, contracts, ERC20/NFT transfers, wallet, ERC-8004 agent registration, Greenfield. Use when connecting to bnbchain-mcp, querying or transacting on BNB Chain/opBNB/EVM, registering as ERC-8004 agent, or using Greenfield.
displayName
bnbchain-mcp
version
1.0.0

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 env for 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_KEY in 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).

Default (stdio):

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

SSE mode: "args": ["-y", "@bnb-chain/mcp@latest", "--sse"] (and client SSE URL if required). Local dev server (e.g. bun dev:sse in bnbchain-mcp): "url": "http://localhost:3001/sse" with the same env.

Restart or reload the MCP client after changing config so the server starts.


2. Credentials and environment

  • RPC: Built-in for default chains.
  • PRIVATE_KEY: Set in the server’s env when state-changing tools are needed; leave empty for read-only. Do not commit or echo keys.

3. Agent registration (ERC-8004)

  1. Register the agent on-chain with the MCP tool register_erc8004_agent (see references/erc8004-tools-reference.md).
  2. Owners can then check registration on 8004scan (mainnet) or 8004scan (testnet).

4. Quick reference — tools and prompts

Network parameter
  • Read-only tools (blocks, balances, contract reads, get_chain_info, etc.): network is optional; default is bsc. Use get_supported_networks to list options.
  • Write operations (transfer_native_token, transfer_erc20, transfer_nft, transfer_erc1155, approve_token_spending, write_contract, register_erc8004_agent, set_erc8004_agent_uri, Greenfield writes): network is REQUIRED. There is no default for writes. If the user does not specify the network, you MUST ask before calling the tool. Do not assume or default to mainnet (bsc); accidental mainnet execution causes irreversible financial loss.
Tool categories
CategoryExamplesNeeds PRIVATE_KEY?
Blocksget_latest_block, get_block_by_number, get_block_by_hashNo
Transactionsget_transaction, get_transaction_receipt, estimate_gasNo (estimate only)
Networkget_chain_info, get_supported_networksNo
Wallet / balanceget_native_balance, get_erc20_balance, get_address_from_private_keyBalance: optional address or privateKey
Transfers / writestransfer_native_token, transfer_erc20, transfer_nft, transfer_erc1155, approve_token_spending, write_contractYes
Contractsread_contract, is_contractNo for read
Tokens / NFTget_erc20_token_info, get_nft_info, get_erc1155_token_metadata, check_nft_ownership, get_nft_balance, get_erc1155_balanceNo for read
ERC-8004register_erc8004_agent, set_erc8004_agent_uri, get_erc8004_agent, get_erc8004_agent_walletRegister/set_uri: Yes
Greenfieldgnfd_* bucket/object/payment toolsWrites: Yes
Show full SKILL.md (247 more words)Show less
Prompts (MCP prompts)

Use the MCP prompt names when the user wants analysis or guidance:

  • analyze_block — Analyze a block and its contents
  • analyze_transaction — Analyze a specific transaction
  • analyze_address — Analyze an EVM address
  • interact_with_contract — Guidance on interacting with a smart contract
  • explain_evm_concept — Explain an EVM concept
  • compare_networks — Compare EVM-compatible networks
  • analyze_token — Analyze an ERC20 or NFT token
  • how_to_register_mcp_as_erc8004_agent — Guidance on registering MCP as ERC-8004 agent

5. Reference files (per-tool usage)

For parameter names, examples, and detailed usage of each tool, use:

ReferenceContent
references/evm-tools-reference.mdBlocks, transactions, network, wallet, contracts, tokens, NFT — all EVM tools
references/erc8004-tools-reference.mdregister_erc8004_agent, set_erc8004_agent_uri, get_erc8004_agent, get_erc8004_agent_wallet
references/greenfield-tools-reference.mdBuckets, objects, folders, payment accounts — all Greenfield tools
references/prompts-reference.mdAll MCP prompts and when to use them

6. Safety and best practices

  1. Confirm before sending transactions: For transfer_*, write_contract, or approve_token_spending, confirm recipient, amount, and network before calling the tool.
  2. Network required for writes: For any write (transfers, write_contract, approve_token_spending, ERC-8004 register/set_uri), you MUST have an explicit network from the user. If not specified, ask — do not default to mainnet. Do not use advisory language like "prefer testnet" as a substitute; the constraint is: no network specified → do not call the write tool until the user confirms.
  3. Private keys: Only in MCP server env; never in chat or logs.
  4. ERC-8004 agentURI: JSON metadata per the Agent Metadata Profile (name, description, image, services e.g. MCP endpoint).

© internet-court, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in vendored/bnb-chain/bnbchain-mcp of internet-court/internet-court-skill.

  • SKILL.md
  • LICENSE
  • references/erc8004-tools-reference.md
  • references/evm-tools-reference.md
  • references/greenfield-tools-reference.md
  • references/prompts-reference.md

Open the folder on GitHubat commit fa89195

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in internet-court/internet-court-skill, which our catalogue first saw on October 7, 2026.

Compare with similar skills

BNB Chain MCP Server next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

BNB Chain MCP Server compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
BNB Chain MCP Server this skillinternet-court/internet-court-skill6.6k1 repos~1.7kAutomated safety check: PassMIT
Wallet MCPbase/skills121—~3.7kAutomated safety check: PassMIT
Solana Devaiskillstore/marketplace433—~2.4kAutomated safety check: PassMIT
Payram Crypto PaymentsPayRam/payram-mcp158—~2kAutomated safety check: NotesNone
Aomi Transactsickn33/agentic-awesome-skills47k1 repos~2.3kAutomated safety check: PassMIT
Finance District MCPaeonfun/aeon770—~1.1kAutomated safety check: PassMIT

Similar skills

  • Wallet MCP

    base/skills

    Wallet MCP — gives your AI assistant access to a Coinbase Wallet Account via the Wallet MCP server (wallet-mcp.coinbase.com).

    121 GitHub stars~3.7k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Solana Dev

    aiskillstore/marketplace

    A skill your agent uses when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "deploy to…

    433 GitHub stars~2.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Payram Crypto Payments

    PayRam/payram-mcp

    Self-hosted crypto and stablecoin payment gateway. An agent skill from PayRam/payram-mcp.

    158 GitHub stars~2k tokensUpdated 2 days ago
    Backend & APIsAuto-check: notes
  • Aomi Transact

    sickn33/agentic-awesome-skills

    Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini).

    47k GitHub starsUsed in 1 repo~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Multichain non-custodial agent wallet via Finance District - check balances, prices, and best DeFi yields, move funds, swap, and make x402 paid API calls across EVM, Solana, Bitcoin, and Sui.

    770 GitHub stars~1.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • AI trading agent for Myriad prediction markets on BNB Chain.

    113 GitHub stars~1.6k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check: notes

More from internet-court/internet-court-skill

All 80 skills in this repo
  • Kleros IPFS Upload

    internet-court/internet-court-skill

    Uploads one Kleros-related file per paid request to IPFS through the Kleros x402 gateway for 0.01 USDC on Base, returning a CID that Kleros contracts can reference.

    6.6k GitHub stars~4.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • 0G Compute Network Guide

    internet-court/internet-court-skill

    Guides building on the 0G Compute Network, a decentralized GPU marketplace for AI inference and fine-tuning, with SDK patterns and CLI commands.

    6.6k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • PNP Prediction Markets on Solana

    internet-court/internet-court-skill

    Creates, trades and settles permissionless prediction markets on Solana with any SPL token as collateral, including social-media and custom-oracle markets.

    6.6k GitHub stars~7.5k tokensUpdated 1 mo ago
    Auto-check: notes
  • GenLayer ERC-7710 Connector

    internet-court/internet-court-skill

    Specifies how a GenLayer Intelligent Contract decision about an agent's performance becomes an ERC-7710 revocation or policy change, through a relayer or bridge and an EVM controller.

    6.6k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • GenLayer Agent Supervision Adapter

    internet-court/internet-court-skill

    Specifies how a GenLayer Intelligent Contract should supervise an AI agent, with review rubrics, evidence schemas and continue, warn, constrain or revoke decisions.

    6.6k GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Heurist Mesh Crypto Data

    internet-court/internet-court-skill

    Pulls live crypto token data, DeFi metrics, wallet holdings, project research and Twitter/X signals through Heurist Mesh agents over a REST API.

    6.6k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check: notes

Questions about BNB Chain MCP Server

What does BNB Chain MCP Server do?

Connects an agent to the BNB Chain MCP server to read blocks and contracts, move tokens and NFTs, register ERC-8004 agents and use Greenfield storage. The skill explains how to run and configure the `bnbchain-mcp` server, started with `npx @bnb-chain/mcp@latest`, in an MCP client such as Cursor or Claude Desktop, using stdio by default or an SSE mode and a local dev URL. Default chains use built-in RPC.

When should I use BNB Chain MCP Server?

BNB Chain MCP Server fits situations like: connecting an MCP client to the BNB Chain server; querying blocks, balances or contracts on BNB Chain or opBNB; sending token or NFT transfers from a configured wallet; registering an agent under ERC-8004 through the MCP tool.

How do I install BNB Chain MCP Server in Claude Code?

Run `npx skills add internet-court/internet-court-skill --skill bnbchain-mcp -a claude-code`. Or copy the skill folder (vendored/bnb-chain/bnbchain-mcp in internet-court/internet-court-skill) into .claude/skills/bnbchain-mcp in your project. Claude Code loads it when a task matches its description.

How do I install BNB Chain MCP Server in Codex?

Run `npx skills add internet-court/internet-court-skill --skill bnbchain-mcp -a codex`. Or copy the skill folder (vendored/bnb-chain/bnbchain-mcp in internet-court/internet-court-skill) into .agents/skills/bnbchain-mcp in your project. Codex loads it when a task matches its description.

Can I use BNB Chain MCP Server in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add internet-court/internet-court-skill --skill bnbchain-mcp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bnbchain-mcp, .gemini/skills/bnbchain-mcp, .github/skills/bnbchain-mcp and .opencode/skills/bnbchain-mcp in your project.

What does BNB Chain MCP Server need to run?

Going by SKILL.md and its folder, BNB Chain MCP Server needs the command-line tools its instructions call (npx and bun) and credentials named PRIVATE_KEY. Our summary lists: Node.js with npx to run `@bnb-chain/mcp@latest`; A `PRIVATE_KEY` in the server environment, only for state-changing tools; An MCP client such as Cursor or Claude Desktop.

Does BNB Chain MCP Server access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is BNB Chain MCP Server safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does BNB Chain MCP Server use?

BNB Chain MCP Server is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does BNB Chain MCP Server use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to BNB Chain MCP Server?

Skills that share tags, products or a category with BNB Chain MCP Server: Wallet MCP (base/skills, 121 stars), Solana Dev (aiskillstore/marketplace, 433 stars), Payram Crypto Payments (PayRam/payram-mcp, 158 stars) and Aomi Transact (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains BNB Chain MCP Server?

internet-court (a GitHub organization) maintains it in internet-court/internet-court-skill, which has 6,551 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on August 19, 2026.

Source: internet-court/internet-court-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.