MCP Catalogs
首页

evm-mcp-server

by mcpdotdirect·376·综合分 49

全面的 MCP 服务器,提供跨 60+ EVM 网络的区块链交互工具和 AI 指导提示。

financedeveloper-toolsai-llm
101
Forks
6
活跃 Issue
6 个月前
最近提交
2 天前
收录于

概述

EVM MCP Server 是一个强大的实现,使 AI 能够通过统一接口与区块链网络交互。它支持 34 条主网和 26 条测试网,包括以太坊、Optimism、Arbitrum、Base 等。服务器提供全面的区块链服务,包括读取状态、智能合约交互、代币转账(ERC20、ERC721、 ERC1155)、ENS 名称解析和消息签名功能。其自动 ABI 获取功能无需预先了解合约 ABI,特别适合 AI 使用。

试试问 AI

装完之后,这里有 6 个你可以让 AI 做的事:

:AI 分析跨多个区块链的钱包活动和代币持有情况
:无需手动提供 ABI 信息即可与智能合约交互
:通过 AI 规划和执行自动化区块链交易
:使用 ENS 名称而不是复杂钱包地址进行人类可读的地址解析
:支持哪些网络?
:我需要手动提供合约 ABI 吗?

什么时候选它

当您的 AI 代理需要与区块链网络交互、转移代币、查询余额或在多个 EVM 链上使用智能合约时,选择此服务器。

什么时候不要选它

如果您需要在非 EVM 链(如比特币或 Solana)上使用区块链功能,或需要企业级安全功能(如多签钱包),请不要选择它。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • get_eth_balance

    Get the native token (ETH) balance of an address or ENS name

  • transfer_native

    Transfer native tokens (ETH) between addresses

  • get_token_balance

    Get balance of a specific ERC20 token for an address

  • transfer_erc20

    Transfer ERC20 tokens between addresses

  • read_contract

    Read data from a smart contract using its ABI

  • write_contract

    Execute a state-changing function on a smart contract

  • get_contract_abi

    Fetch the ABI of a smart contract from a block explorer

  • get_transaction_details

    Retrieve details and receipt of a transaction

  • sign_message

    Sign an arbitrary message with the configured wallet

  • approve_token_spending

    Approve a contract to spend tokens on behalf of the wallet

  • get_block_info

    Get information about a specific block

  • resolve_ens

    Resolve an ENS name to its Ethereum address

可对比工具

blockchain-mcpethereum-mcpweb3-mcppolygon-mcp

安装

安装

# 克隆仓库
git clone https://github.com/mcpdotdirect/mcp-evm-server.git
cd mcp-evm-server

# 使用 Bun 安装依赖
bun install

# 或使用 npm
npm install

Claude Desktop 配置

添加到您的 claude_desktop_config.json 文件中:

{
  "mcpServers": {
    "evm-mcp-server": {
      "command": "npx",
      "args": ["-y", "@mcpdotdirect/evm-mcp-server"]
    },
    "evm-mcp-http": {
      "command": "npx",
      "args": ["-y", "@mcpdotdirect/evm-mcp-server", "--http"]
    }
  }
}

FAQ

支持哪些网络?
该服务器支持 34 条主网和 26 条测试网,包括以太坊、Optimism、Arbitrum、Base、Polygon、Avalanche、币安智能链、zkSync Era 等。
我需要手动提供合约 ABI 吗?
不需要,服务器会自动从 Etherscan 等区块浏览器获取 ABI,无需手动提供。

evm-mcp-server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。