Ethereum RPC MPC Server logo

Ethereum RPC MPC Server

by Phillip-Kemper

A TypeScript MCP server that leverages the MCP SDK to support all Ethereum JSON-RPC calls. It enables AI models to interact with blockchain data through standardized JSON-RPC interfaces.

View on GitHub

Last updated: N/A

What is Ethereum RPC MPC Server?

This project provides a Model Context Protocol (MCP) server that allows AI assistants to interact with Ethereum blockchain data through standardized JSON-RPC interfaces. It acts as a bridge between AI models and EVM blockchains, enabling seamless access to on-chain data and functionality.

How to use Ethereum RPC MPC Server?

  1. Clone the repository, 2. Install dependencies using yarn install, 3. Build the project using yarn build, 4. Start the server using yarn start [RPC_URL] [CHAIN_NAME] or npx -y ethereum-rpc-mpc [RPC_URL] [CHAIN_NAME]. For use with Cursor, configure a new MCP server in Cursor settings with the provided command.

Key features of Ethereum RPC MPC Server

  • Supports all Ethereum JSON-RPC calls

  • Enables AI models to interact with blockchain data

  • Provides a standardized interface for accessing EVM blockchains

  • Supports Zircuit-specific RPC methods (zirc_isQuarantined, zirc_getQuarantined)

  • Supports MCP Analytics Middleware

Use cases of Ethereum RPC MPC Server

  • Getting the current block number

  • Checking an address balance

  • Getting contract information

  • Retrieving transaction details

  • Monitoring transaction quarantine status on Zircuit

FAQ from Ethereum RPC MPC Server

What is an MCP server?

An MCP (Model Context Protocol) server acts as a bridge between AI models and data sources, enabling AI models to access and interact with external data.

What is the default RPC URL?

The default RPC URL is https://eth.llamarpc.com if no RPC URL is provided when starting the server.

How do I use this server with Cursor?

In Cursor, go to Settings > Cursor Settings > MCP and add a new MCP server with the provided command.

What are the Zircuit-specific methods?

The supported Zircuit methods include: zirc_isQuarantined and zirc_getQuarantined. These are automatically activated when connecting to a Zircuit endpoint.

How do I enable analytics?

Pass the --analytics flag and a path for the Sqlite file when starting the server. Example: npx -y ethereum-rpc-mpc https://eth.llamarpc.com Ethereum --analytics --db-path /path/to/analytics.db