Back to MCP directory
publicPublicdnsLocal runtime

web3-mcp-server

一个基于Model Context Protocol的Web3交互服务器,支持多链代币余额查询和智能合约调用功能。

article

README

🚀 Web3 MCP 服务器

一个用于 Web3 交互的模型上下文协议(MCP)服务器实现,适用于 EVM 链。此服务器借助 Model Context Protocol 达成与区块链网络的无缝交互,为 Web3 应用提供了强大支持。

🚀 快速开始

本服务器可助力开发者在 EVM 链上实现各类 Web3 交互操作,如查询代币余额、调用智能合约等。

✨ 主要特性

  • 📊 查询多链代币余额:可同时查询多条 EVM 兼容链上的代币余额。
  • 📝 调用智能合约功能:支持调用各种智能合约的功能。
  • 🔗 支持多种 EVM 兼容链:能与多种 EVM 兼容链进行交互。

📦 安装指南

Claude 桌面集成

通过 Smithery 安装

要通过 Smithery 自动安装 Web3 MCP Server for Claude Desktop,可使用以下命令:

npx -y @smithery/cli install web3-mcp-server --client claude

使用 NPX

将以下配置添加到您的 Claude Desktop 设置中:

{
  "mcpServers": {
    "web3": {
      "command": "npx",
      "args": ["-y", "web3-mcp-server"]
    }
  }
}

使用 Docker

对于基于 Docker 的部署,使用以下配置:

{
  "mcpServers": {
    "web3": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "emanueljr/web3-mcp-server"]
    }
  }
}

📄 许可证

该项目在 MIT License 下授权 - 有关详细信息,请参阅 LICENSE 文件。

👥 贡献

欢迎贡献!请随时提交 Pull Request。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client