Skip to main content
Glama
0xKoda
by 0xKoda

이더리움 RPC MCP 서버

이더리움 블록체인과 상호작용하기 위한 모델 컨텍스트 프로토콜(MCP) 서버.

개요

이 MCP 서버는 표준 JSON-RPC 방식을 통해 이더리움 블록체인 데이터를 쿼리하는 도구를 제공합니다. 이를 통해 AI 어시스턴트와 애플리케이션이 표준화된 프로토콜을 통해 이더리움 블록체인과 상호 작용할 수 있습니다.

Related MCP server: Geth MCP Proxy

특징

이 MCP 서버는 도구로 세 가지 주요 Ethereum RPC 방법을 제공합니다.

  • eth_getCode : 특정 Ethereum 주소의 코드를 검색합니다.

  • eth_gasPrice : 이더리움 네트워크의 현재 가스 가격을 가져옵니다.

  • eth_getBalance : 이더리움 계정의 잔액을 확인합니다.

참고: 더 많은 것이 나올 예정입니다.

용법

커서에 추가

이 MCP를 커서에 추가하려면:

  1. 먼저, 이 저장소를 복제합니다.

    지엑스피1

  2. 커서 설정 → MCP → 새 MCP 서버 추가로 이동

  3. 이름을 입력하세요(예: "eth-mcp")

  4. 유형으로 "명령"을 선택하세요

  5. 스크립트의 전체 경로를 입력하세요:

    node /path/to/eth-mpc/index.js

커서에 Ethereum MCP 추가

  1. 서버를 활성화하려면 "추가"를 클릭하세요.

추가되면 Ethereum RPC 도구를 Cursor 내에서 사용할 수 있습니다.

이 서버는 stdio 전송을 사용하므로 Claude Desktop, Cursor 등의 MCP 클라이언트와 호환됩니다.

MCP Inspector로 테스트

MCP Inspector는 MCP 서버를 테스트하고 디버깅하는 개발 도구입니다. 완전한 AI 클라이언트 없이도 MCP 서버의 기능을 테스트할 수 있는 대화형 인터페이스를 제공합니다.

검사기 실행

Inspector로 Ethereum RPC MCP 서버를 테스트하려면:

검사기를 실행하려면:

npx @modelcontextprotocol/inspector
  1. 명령어와 경로를 입력하세요

  2. 검사기는 실행 중인 MCP 서버에 연결하여 사용 가능한 도구를 표시합니다.

Inspector를 사용한 테스트 도구

검사기를 사용하면 다음 작업을 수행할 수 있습니다.

  • 사용 가능한 도구와 설명 보기

  • 각 도구를 다른 매개변수로 테스트합니다.

  • 구조화된 형식으로 응답을 확인하세요

  • MCP 서버 구현과 관련된 문제를 디버깅합니다.

예를 들어, eth_getBalance 도구를 테스트하려면 다음을 수행합니다.

  1. 검사기 인터페이스에서 도구를 선택하세요

  2. 유효한 Ethereum 주소를 입력하세요(예: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 - Vitalik의 주소)

  3. 기본 블록 매개변수( latest )를 사용합니다.

  4. 요청을 제출하고 응답을 확인하세요

MCP 클라이언트와의 통합

이 MCP 서버는 다음을 포함한 모든 MCP 호환 클라이언트와 통합될 수 있습니다.

  • 클로드 데스크탑

  • 클로드 코드

  • 커서(위의 지침)

  • 클라인

  • 기타 MCP 호환 애플리케이션

통합이 완료되면 클라이언트 애플리케이션은 이 서버가 제공하는 도구를 사용하여 Ethereum 블록체인 데이터를 직접 쿼리할 수 있습니다.

MCP 이해하기

모델 컨텍스트 프로토콜(MCP)은 AI 모델이 다양한 도구 및 서비스와 상호 작용할 수 있도록 하는 개방형 표준입니다. 개발자가 AI 어시스턴트에 API, 데이터 소스 및 기능을 노출할 수 있는 표준화된 방식을 제공합니다.

MCP에 대해 자세히 알아보세요

이와 같은 MCP 서버는 AI 어시스턴트가 각 서비스에 대한 맞춤형 통합을 요구하지 않고도 여러 서비스에 걸쳐 복잡한 작업을 수행할 수 있도록 하는 생태계의 일부를 형성합니다.

📚 공식 문서 : 모델 컨텍스트 프로토콜 개요

특허

MIT

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

Available Tools

3 tools
eth_gasPriceA

Retrieves the current gas price in wei

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the tool's behavior as a retrieval operation, which implies it's read-only and non-destructive. However, it lacks details on potential rate limits, error conditions, or response format, which would enhance transparency for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without any unnecessary words. It is appropriately sized and front-loaded, making it easy to understand quickly with zero waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no annotations, no output schema), the description is minimally adequate. It explains what the tool does but lacks details on return values or behavioral nuances. For a retrieval tool with no structured output information, it could benefit from specifying the response format to be more complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so the schema fully documents the absence of inputs. The description adds no parameter information, which is appropriate here. Baseline is 4 for 0 parameters, as no compensation is needed for schema gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Retrieves') and resource ('current gas price in wei'), distinguishing it from sibling tools like eth_getBalance (which retrieves account balance) and eth_getCode (which retrieves contract code). It precisely defines what the tool does without being vague or tautological.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context by specifying 'current gas price,' suggesting it should be used when needing real-time gas price information. However, it does not explicitly state when to use this tool versus alternatives or provide any exclusions, leaving some ambiguity about optimal use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

eth_getBalanceC

Retrieves the balance of a given Ethereum address

ParametersJSON Schema
NameRequiredDescriptionDefault
addressYesThe Ethereum address to check balance
blockParameterNoBlock parameter (default: "latest")latest

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('retrieves') but fails to add context such as read-only nature, potential rate limits, authentication needs, or error conditions. This leaves significant gaps in understanding the tool's behavior beyond basic functionality.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence that directly states the tool's purpose without unnecessary words. It is front-loaded and efficiently conveys the core functionality, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of annotations and output schema, the description is incomplete for a tool with two parameters and no behavioral context. It adequately states what the tool does but lacks details on usage, behavioral traits, or return values, which are crucial for effective agent operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, meaning the input schema already fully documents the parameters (address and blockParameter). The description does not add any additional meaning or clarification beyond what the schema provides, so it meets the baseline for adequate but unenhanced parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('retrieves') and resource ('balance of a given Ethereum address'), making the purpose specific and understandable. However, it doesn't explicitly differentiate from sibling tools like eth_gasPrice or eth_getCode, which prevents a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives or any contextual prerequisites. It lacks explicit usage scenarios, exclusions, or comparisons to sibling tools, leaving the agent without direction on tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

eth_getCodeC

Retrieves the code at a given Ethereum address

ParametersJSON Schema
NameRequiredDescriptionDefault
addressYesThe Ethereum address to get code from
blockParameterNoBlock parameter (default: "latest")latest

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool retrieves code but doesn't mention whether this is a read-only operation (implied but not explicit), potential rate limits, error conditions (e.g., invalid address), or what 'code' entails (e.g., bytecode, source code). This leaves significant gaps for a tool interacting with blockchain data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It's appropriately sized and front-loaded, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of Ethereum interactions and lack of annotations or output schema, the description is incomplete. It doesn't explain return values (e.g., hex-encoded bytecode), error handling, or behavioral traits like idempotency. For a tool with no structured safety or output information, more context is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, clearly documenting both parameters (address and blockParameter). The description adds no additional meaning beyond this, such as explaining why blockParameter matters or address format nuances. Baseline 3 is appropriate since the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('retrieves') and resource ('code at a given Ethereum address'), making the tool's purpose understandable. However, it doesn't differentiate from sibling tools like eth_getBalance (which retrieves balance rather than code), so it doesn't reach the highest score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like eth_getBalance or eth_gasPrice. It lacks context about typical use cases (e.g., verifying contract deployment, analyzing smart contracts) or prerequisites, leaving the agent without usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv1.0.0
    • Addedeth_gasPrice
    • Addedeth_getBalance
    • Addedeth_getCode

TDQS

B3.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: eth_gasPrice retrieves network gas price, eth_getBalance retrieves account balance, and eth_getCode retrieves contract code. There is no overlap or ambiguity between these functions, making tool selection straightforward for an agent.

Naming Consistency5/5

All tool names follow a consistent eth_verbNoun pattern (eth_gasPrice, eth_getBalance, eth_getCode), using snake_case and the same prefix. This predictable naming scheme enhances readability and agent usability without any deviations.

Tool Count2/5

With only 3 tools, this server feels thin for an Ethereum RPC server, as it lacks core operations like sending transactions, querying blocks, or checking transaction status. The count is too low for the apparent scope of Ethereum interaction, limiting functionality.

Completeness2/5

The tool surface is severely incomplete for an Ethereum RPC domain. It includes only read-only queries (gas price, balance, code) but omits essential operations such as eth_sendTransaction, eth_getTransactionByHash, or eth_blockNumber, creating significant gaps that will cause agent failures in typical workflows.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Bridges Ethereum JSON-RPC queries from Geth nodes to the Model Context Protocol ecosystem, exposing blockchain operations as MCP tools. Enables AI models and applications to securely interact with Ethereum data including blocks, transactions, balances, and advanced debug functions through schema-validated access.
    42 npm
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides comprehensive access to Ethereum Virtual Machine (EVM) JSON-RPC methods for querying blockchain data, executing smart contract calls, and interacting with any EVM-compatible network including Ethereum, Polygon, Arbitrum, and more. Enables users to check balances, analyze transactions, estimate gas, retrieve logs, and perform blockchain operations through natural language.
    19
    24 npm
    3
    MIT