BC

bnb-chain/bnbchain-mcp

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

61 stars 28 forks 品質 79 トレンド 28MIT

bnb-chain/bnbchain-mcp は [https://github.com/bnb-chain/bnbchain-mcp.] からインポートされた MCP サーバー候補です

概要

bnb-chain/bnbchain-mcp は [https://github.com/bnb-chain/bnbchain-mcp.] からインポートされた MCP サーバー候補です

概要(AI 翻訳)

自然言語処理とAIの支援を通じて、BNBチェーンと他のEVM互換ネットワークと相互作用するための強力なツールキット。

説明

BNBChain MCP は、AI 搭載インターフェイスを介してブロックチェーンネットワークとのシームレスなやり取りを可能にするモデルコンテキストプロトコルの実装です。 ブロックチェーン開発、スマートコントラクトのやり取り、ネットワーク管理のための包括的な一連のツールとリソースを提供します。

コアモジュール

プロジェクトは複数のコアモジュールに構成されます。

  • ブロック: ブロックチェーンブロックのクエリと管理
  • 契約:スマートコントラクトとの相互作用 -ネットワーク:ネットワーク情報と管理
  • NFT: NFT (ERC721/ERC1155) 操作
  • トークン:トークン(ERC20)操作
  • トランザクション: 取引管理
  • ウォレット:ウォレット操作と管理 -Common:共有ユーティリティとタイプ -グリーンフィールド: Greenfieldネットワーク上のファイル管理操作をサポートし、ファイルやバケットのアップロード、ダウンロード、管理
  • 近日追加機能(グリーンフィールド、スワップ、ブリッジなど)

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

BNBChain MCP (Model Context Protocol)

A powerful toolkit for interacting with BNB Chain and other EVM-compatible networks through natural language processing and AI assistance.

Description

BNBChain MCP is a Model Context Protocol implementation that enables seamless interaction with blockchain networks through AI-powered interfaces. It provides a comprehensive set of tools and resources for blockchain development, smart contract interaction, and network management.

Core Modules

The project is organized into several core modules:

  • Blocks: Query and manage blockchain blocks
  • Contracts: Interact with smart contracts
  • Network: Network information and management
  • NFT: NFT (ERC721/ERC1155) operations
  • Tokens: Token (ERC20) operations
  • Transactions: Transaction management
  • Wallet: Wallet operations and management
  • Common: Shared utilities and types
  • Greenfield: Support file management operations on Greenfield network including, uploading, downloading, and managing files and buckets
  • Additional features coming soon (Greenfield, Swap, Bridge, etc.)
  • Agents (ERC-8004): Register and resolve on-chain AI agent identities (ERC-8004 Trustless Agents) on BSC and BSC Testnet

Important Notes

We do not recommend deploying this MCP Server on the public internet. (1) The SSE endpoint has no authentication—anyone who can reach it can use the server. (2) There is no centralized service that custodies private keys or funds; keys and signing are the responsibility of the client. If you still need to deploy it publicly, add an authentication layer in front (e.g. API keys, JWT, or a reverse proxy with auth), or deploy a keyless version that only exposes read-only or non-sensitive tools.

Credentials: Prefer setting PRIVATE_KEY in the MCP server environment. Do not pass the private key in tool parameters when avoidable, as it may be stored in conversation history, client logs, or request logs and lead to exposure.

Transfer and payment confirmation

Transfer and payment tools (e.g. transfer_native_token, transfer_erc20, approve_token_spending, transfer_nft, transfer_erc1155, gnfd_deposit_to_payment, gnfd_withdraw_from_payment, gnfd_create_payment_account) use a preview-then-confirm flow by default so that no funds move until the user explicitly confirms.

  • Default behavior: Calling a transfer or payment tool returns a preview (recipient, amount, network, etc.) and a short-lived confirmToken. No transaction is sent. To execute, call the confirm_transfer tool with that confirmToken and your privateKey. The token expires after 5 minutes.
GitHub で README 全文を見る

インストール

npx -y @bnb-chain/mcp@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "bnbchain-mcp": { "command": "npx", "args": ["-y", "@bnb-chain/mcp@latest"], "env": { "PRIVATE_KEY": "your_private_key_here. (optional)", "BNBCHAIN_MCP_SKIP_TRANSFER_CONFIRMATION": "false" } } } }