본문으로 건너뛰기
Skillpedia
커넥터 (MCP)7.0k · #13617

bnbchain-mcp

하는 일

이 스킬은 AI 도구를 BNB Chain MCP 서버에 연결하는 방법을 보여 줍니다. 이 서버는 BNB Chain, opBNB, 기타 EVM 네트워크용 도구를 에이전트에게 제공합니다. 읽기 전용 블록체인 조회와 개인 키가 필요한 상태 변경 작업을 다룹니다.

사용하는 경우

  • ✓AI 도구가 BNB Chain의 블록, 잔액, 컨트랙트 데이터를 조회하게 하고 싶을 때.
  • ✓에이전트가 BNB Chain에서 토큰을 보내거나 컨트랙트에 기록해야 할 때.
  • ✓MCP를 통해 에이전트 신원을 등록하거나 BNB Greenfield를 사용하고 싶을 때.

스킬 링크

https://github.com/internet-court/internet-court-skill/blob/main/vendored/bnb-chain/bnbchain-mcp/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/bnb-chain/bnbchain-mcp/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“AI 도구를 BNB Chain에 연결해 지갑 잔액을 확인하게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI 도구의 설정 파일에 서버를 추가합니다. 조회는 키 없이 작동하지만, 토큰 전송이나 컨트랙트 기록에는 서버 환경 설정에 저장된 개인 키가 필요합니다. 그다음 에이전트는 서버의 도구로 읽거나 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

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

Category Examples Needs PRIVATE_KEY?
Blocks get_latest_block, get_block_by_number, get_block_by_hash No
Transactions get_transaction, get_transaction_receipt, estimate_gas No (estimate only)
Network get_chain_info, get_supported_networks No
Wallet / balance get_native_balance, get_erc20_balance, get_address_from_private_key Balance: optional address or privateKey
Transfers / writes transfer_native_token, transfer_erc20, transfer_nft, transfer_erc1155, approve_token_spending, write_contract Yes
Contracts read_contract, is_contract No for read
Tokens / NFT get_erc20_token_info, get_nft_info, get_erc1155_token_metadata, check_nft_ownership, get_nft_balance, get_erc1155_balance No for read
ERC-8004 register_erc8004_agent, set_erc8004_agent_uri, get_erc8004_agent, get_erc8004_agent_wallet Register/set_uri: Yes
Greenfield gnfd_* bucket/object/payment tools Writes: Yes

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 — Gui
자주 묻는 질문

조회만 하는 데도 개인 키가 필요한가요?

아니요. 블록, 잔액, 컨트랙트 읽기는 키 없이 작동합니다.

개인 키는 어디에 넣어야 하나요?

서버의 환경 설정에만 넣고, 기록하거나 공유하지 말라고 스킬은 말합니다.

서버는 어떻게 시작되나요?

스킬의 설정은 npx로 BNB Chain MCP 패키지를 실행하며, 도구용 설정 블록을 포함합니다.

상세 정보

작성자의 원본 설명

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.

repo: internet-court/internet-court-skill

인기도

GitHub 스타
7.0k
순위
#13617
라이선스
—
업데이트
2026. 10. 26.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬