XE

xiaok/etherscan-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

18 stars 7 forks 품질 62 트렌드 22MIT

모형 Etherscan를 위한 Context 의정서 (MCP) 서버

개요

Etherscan의 API 및 서비스와 상호 작용하는 동적 MCP 서버. 테스트하고 서버를 디버그하는 가장 빠른 방법은 fastmcp dev로 입니다: 이 서버는 mcp-cli를 사용하여 터미널에서 MCP 서버를 테스트하고 디버깅합니다. 또 다른 방법은 공식 MCP Inspector를 사용하여 웹 UI로 서버를 검사합니다. 가이드 https://modelcontextprotocol.io/quickstart/user를 따르고 다음 구성을 추가하십시오. 지원 사슬 명부: https://docs.etherscan.io/etherscan-v2/getting-started/supported-chains 모든 엔드포인트가 지원되지 않습니다. https://forms.blockscan.com/public/grid/3E9QiN00NLhCQVibiP3Z-Bpqhmd7zGXsgapEKJupxiI]

개요(AI 번역)

Etherscan의 API 및 서비스와 상호 작용하는 동적 MCP 서버.

서버 실행

mcp-cli 테스트

테스트하고 서버를 디버그하는 가장 빠른 방법은 fastmcp dev:

이 서버가 mcp-cli]를 실행하고 터미널에서 MCP 서버를 디버깅합니다.

MCP Inspector로 검사

또 다른 방법은 공식 MCP Inspector을 사용하여 웹 UI로 서버를 검사합니다.

자주 묻는 질문

Claude Desktop에서 사용하는 방법?

가이드 https://modelcontextprotocol.io/quickstart/user를 따르고 다음 구성을 추가하십시오.

API 문서

https://docs.etherscan.io/etherscan-v2 https://docs.etherscan.io/etherscan-v2] [T6]] [T6]] [T6]] [T6]] [T6]] [T6]] [T6]] [T6] [T6] [T6]] [T6]] [T6]] [T6] [T6]] [T6] [T6]] [T6]] [T6] [T6]] [T6] [T6] [T6]] [T6]] [T6]] [T6] [T6]] [T6]] [T6] [T6] [T6] [T6] https://docs.etherscan.io/etherscan-v2]]] [T6]]] https://docs.etherscan.io/etherscan-v2 https://docs.etherscan.io/etherscan-v2] https://docs.etherscan.io/etherscan-v2]]] https://docs.etherscan.io/etherscan-v2] https://docs.etherscan.io/etherscan-v2]]] https://docs.etherscan.io/etherscan-v2 [[https://docs.etherscan.io/etherscan-v2]]]]]]]]] https://docs.etherscan.io/etherscan-v2]]]]]]]]]]]]]]]]]]

지원 사슬 명부: https://docs.etherscan.io/etherscan-v2/getting-started/supported-chains

모든 엔드포인트가 지원되지 않습니다. https://forms.blockscan.com/public/grid/3E9QiN00NLhCQVibiP3Z-Bpqhmd7zGXsgapEKJupxiI]

토도

  1. 지원 pro api

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

@xiaok/etherscan-mcp

A dynamic MCP server for interacting with Etherscan’s API and services.

Running Your Server

Test with mcp-cli

The fastest way to test and debug your server is with fastmcp dev:

npx fastmcp dev src/index.ts

This will run your server with mcp-cli for testing and debugging your MCP server in the terminal.

Inspect with MCP Inspector

Another way is to use the official MCP Inspector to inspect your server with a Web UI:

npx npx fastmcp inspect src/index.ts

FAQ

How to use with Claude Desktop?

Follow the guide https://modelcontextprotocol.io/quickstart/user and add the following configuration:

{
  "mcpServers": {
    "etherscan_mcp": {
      "command": "npx",
      "args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts"],
      "env": {
        "ETHERSCAN_API_KEY": "********"
      }
    }
  }
}

API Doc

https://docs.etherscan.io/etherscan-v2

support chain list: https://docs.etherscan.io/etherscan-v2/getting-started/supported-chains

Please note that not all endpoints are supported by all chains. Please find support list here: https://forms.blockscan.com/public/grid/3E9QiN00NLhCQVibiP3Z-Bpqhmd7zGXsgapEKJupxiI

TODO

  1. support pro api
GitHub에서 전체 README 보기

설치

npx tsx /PATH/TO/YOUR_PROJECT/src/index.ts
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "etherscan_mcp": { "command": "npx", "args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts"], "env": { "ETHERSCAN_API_KEY": "********" } } } }