MCP.so
ログイン

Blockchain MCP Server DEMO

@darwintree

基本情報

カテゴリ

その他

トランスポート

stdio

作者

darwintree

Blockchain MCP Server DEMO について

概要はまだありません

#blockchain-mcp-server#mcp-server#blockchain-tools

Blockchain MCP Server DEMO の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "blockchain-mcp-server": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "node",
        "dist/index.js"
      ]
    }
  }
}

Blockchain MCP Server DEMO のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Blockchain MCP Server DEMO?

A Model Context Protocol (MCP) server for interacting with multiple EVM-compatible blockchains, providing tools and resources for blockchain data access and analysis. It supports Ethereum Mainnet and Conflux eSpace, built with TypeScript, Viem, and Zod.

How to use Blockchain MCP Server DEMO?

Clone the repository, install dependencies with npm install, build with npm run build, and start with npm start. Interact via MCP client tools (e.g., MCP Inspector: npx @modelcontextprotocol/inspector node dist/index.js) using defined tools and resources like callTool("get_transaction", ...) or resource URIs like blockchain://transaction/{hash}.

Key features of Blockchain MCP Server DEMO

  • Multi-chain support for Ethereum Mainnet and Conflux eSpace.
  • Tools for RPC calls, transactions, addresses, blocks, and chain lists.
  • Resource URIs for cross-chain transaction, block, and address lookup.
  • Automatic failover between RPC endpoints on network failure.
  • Input validation using Zod schemas with TypeScript type safety.
  • Extensible configuration to add new EVM chains.

Use cases of Blockchain MCP Server DEMO

  • Fetch transaction details across multiple chains with a single call.
  • Retrieve address balances and nonce information for a given chain.
  • Execute arbitrary Ethereum JSON‑RPC methods (e.g., eth_getBalance, eth_call).
  • Access block data by chain ID and block number.
  • List all supported blockchain networks and their RPC endpoints.

よくある質問

1

Which blockchains are supported?

Ethereum Mainnet (chain ID 1) and Conflux eSpace (chain ID 1030). Other EVM chains can be added by modifying the configuration file.

2

How can I add a new blockchain?

Edit the `SUPPORTED_CHAINS` object in `src/config.ts` with the new chain’s RPC URLs, explorer, and native currency details.

3

What RPC methods are available?

Standard Ethereum JSON‑RPC methods including `eth_getBalance`, `eth_getTransactionByHash`, `eth_blockNumber`, `eth_call`, `eth_estimateGas`, and others listed in the README.

4

How do I test the server without a full MCP client?

Use the MCP Inspector: run `npx @modelcontextprotocol/inspector node dist/index.js` to explore tools and resources interactively.

5

Where does the data come from?

The server fetches live data from public RPC endpoints of the supported chains. No data is stored locally.

コメント

「その他」の他のコンテンツ