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.

评论

其他 分类下的更多 MCP 服务器