GE

gskril/ethereum-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 2 forks 质量 53 趋势 38

MCP server for Ethereum developer tools

概览

- ABI: encode-abi-parameters, decode-abi-parameters, decode-function-data, encode-function-data, fetch-abi, function-selector - Crypto: keccak256-hash - ENS: chain-id-to-cointype, check-ens-name-availability, namehash, resolve-ens-address, resolve-ens-name - ETH: eth-call Most MCP clients connect to remote servers directly over Streamable HTTP. Add this to your client config: If your client only launches local subprocesses (no url support), use mcp-remote as a bridge: This spawns a local Node process that translates stdio to HTTP. Prefer native url config when your client supports it.

README

Remote MCP Server for Ethereum Tools

Available tools by category:

  • ABI: encode-abi-parameters, decode-abi-parameters, decode-function-data, encode-function-data, fetch-abi, function-selector
  • Crypto: keccak256-hash
  • ENS: chain-id-to-cointype, check-ens-name-availability, namehash, resolve-ens-address, resolve-ens-name
  • ETH: eth-call

Installation

Most MCP clients connect to remote servers directly over Streamable HTTP. Add this to your client config:

{
  "mcpServers": {
    "ethereum": {
      "url": "https://ethereum-mcp.gregskril.workers.dev/mcp"
    }
  }
}

Stdio-only clients

If your client only launches local subprocesses (no url support), use mcp-remote as a bridge:

{
  "mcpServers": {
    "ethereum": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://ethereum-mcp.gregskril.workers.dev/mcp"]
    }
  }
}

This spawns a local Node process that translates stdio to HTTP. Prefer native url config when your client supports it.

在 GitHub 查看完整 README

安装

npx -y mcp-remote https://ethereum-mcp.gregskril.workers.dev/mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ethereum": { "url": "https://ethereum-mcp.gregskril.workers.dev/mcp" } } }