MCP.so
Sign In

RPC MCP Server

@karacurt

About RPC MCP Server

No overview available yet

Basic information

Category

Developer Tools

Runtime

node

Transports

stdio

Publisher

karacurt

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "rpc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "rpc-mcp"
      ],
      "env": {
        "RPC_URL": "",
        "API_URL": ""
      }
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is RPC MCP Server?

RPC MCP Server is a Model Context Protocol server implementation for interacting with any EVM-compatible RPC endpoint. It provides a standardized interface for AI models to interact with Ethereum and EVM-compatible blockchains. It is designed for developers using AI assistants like Cursor to query blockchain data.

How to use RPC MCP Server?

Install via npm (npm install -g .), set the RPC_URL environment variable to your RPC endpoint, then add the server to your Cursor mcp.json configuration. The server exposes tools like eth_blockNumber, eth_getBalance, and eth_call that can be invoked through the MCP client.

Key features of RPC MCP Server

  • Support for any EVM-compatible RPC endpoint
  • Get current block number
  • Check account balances
  • Get transaction counts (nonces)
  • Retrieve block information
  • Get transaction details
  • Make contract calls

Use cases of RPC MCP Server

  • Query blockchain state directly from an AI coding assistant
  • Monitor account balances or nonces during development
  • Debug transactions by fetching block and transaction details
  • Call smart contract functions without leaving the IDE

FAQ from RPC MCP Server

What runtime does RPC MCP Server require?

Node.js v16 or higher and npm are required.

How do I configure the server?

Set the RPC_URL environment variable to your RPC endpoint URL (e.g., 'https://mainnet-rpc.game7.io'). Optionally set API_URL for block explorer API endpoints.

Which blockchain networks are supported?

Any EVM-compatible network. The README provides example RPC URLs for Game7 mainnet and testnet but is not limited to those.

How do I use the server with Cursor?

Add a JSON configuration to your mcp.json file specifying the command npx -y rpc-mcp and the required environment variables.

What tools does the server expose?

eth_blockNumber, eth_getBalance, eth_getTransactionCount, eth_getBlockByNumber, eth_getTransactionByHash, eth_call, and trace_transaction.

Comments

More Developer Tools MCP servers