EVM MCP 服务器

EVM MCP 服务器

为AI代理提供与EVM兼容区块链交互的MCP服务器。

快速入门

安装

  1. 克隆仓库: git clone https://github.com/mcpdotdirect/evm-mcp-server.git cd evm-mcp-server
  2. 使用 Bun 安装依赖: bun install 或使用 npm: npm install

启动

  • CLI 模式运行: bun start
  • HTTP 模式运行: bun start:http

配置

  • 默认链ID:1(以太坊主网)
  • 默认端口:3001
  • 修改配置文件:src/core/chains.tssrc/server/http-server.ts

示例

  • 查询余额: console.log("查询 vitalik.eth 的 ETH 余额...");

更多信息请查看 README 文档。