Ethereum RPC
STDIOMCP server for interacting with Ethereum blockchain through standard JSON-RPC methods.
MCP server for interacting with Ethereum blockchain through standard JSON-RPC methods.
A Model Context Protocol (MCP) server for interacting with Ethereum blockchain.
This MCP server provides tools to query Ethereum blockchain data through standard JSON-RPC methods. It enables AI assistants and applications to interact with the Ethereum blockchain through a standardized protocol.
This MCP server provides three key Ethereum RPC methods as tools:
Note: More are coming
To add this MCP to Cursor:
First, clone this repository:
git clone https://github.com/yourusername/eth-mpc.git
Go to Cursor settings → MCP → Add new MCP server
Enter a name (e.g., "eth-mcp")
Select "command" as the type
Input the full path to the script:
node /path/to/eth-mpc/index.js
Once added, the Ethereum RPC tools will be available to use within Cursor.
The server uses stdio transport, making it compatible with MCP clients like Claude Desktop, Cursor, and others.
The MCP Inspector is a development tool for testing and debugging MCP servers. It provides an interactive interface to test your MCP server's functionality without needing a full AI client.
To test your Ethereum RPC MCP server with the Inspector:
To run the Inspector:
npx @modelcontextprotocol/inspector
Input the command and path
The Inspector will connect to your running MCP server and display available tools.
The Inspector allows you to:
For example, to test the eth_getBalance
tool:
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
- Vitalik's address)latest
)This MCP server can be integrated with any MCP-compatible client, including:
When integrated, the client application can use the tools provided by this server to query Ethereum blockchain data directly.
Model Context Protocol (MCP) is an open standard that allows AI models to interact with various tools and services. It provides a standardized way for developers to expose APIs, data sources, and functionality to AI assistants.
MCP servers like this one form part of an ecosystem that allows AI assistants to perform complex tasks across multiple services without requiring custom integration for each service.
📚 Official Documentation: Model Context Protocol Overview
MIT
Contributions are welcome! Please feel free to submit a Pull Request.