
RPC MCP Server
This is a Model Context Protocol (MCP) 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.
Features
- 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
Prerequisites
- Node.js (v16 or higher)
- npm (Node Package Manager)
Installation
- Clone the repository:
git clone <repository-url>
cd rpc-mcp
- Install dependencies:
npm install
- Build the project:
npm run build
- Install globally:
npm install -g .
This global installation makes the rpc-mcp
command available system-wide, which is required for Cursor to find and execute the MCP server.
Configuration
The server uses the following environment variable:
-
RPC_URL
: The RPC endpoint URL to connect to (e.g., 'https://mainnet-rpc.game7.io' or 'https://testnet-rpc.game7.io') -
API_URL
: The API endpoint URL to connect to (e.g., 'https://mainnet.game7.io/api/v2' or 'https://testnet.game7.io/api/v2')
Cursor MCP Configuration
Add the following to your mcp.json
file in your Cursor (Settings > MCP > Add New Global Server):
{
"mcpServers": {
"rpc-mcp": {
"command": "npx",
"args": ["-y", "rpc-mcp"],
"env": {
"RPC_URL": "YOUR_RPC_ENDPOINT",
"API_URL": "YOUR_API_ENDPOINT"
}
}
}
}
This configuration will make the following tools available in Cursor:
-
eth_blockNumber
-
eth_getBalance
-
eth_getTransactionCount
-
eth_getBlockByNumber
-
eth_getTransactionByHash
-
eth_call
-
trace_transaction
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Une liste organisée des serveurs de protocole de contexte de modèle (MCP)
Reviews

user_Tv7vDtEx
I've been using the evm-rpc-mcp-server for a while now, and I must say it's a fantastic tool created by karacurt. The integration with my existing MCP applications is seamless, and the performance is top-notch. The repository on GitHub is well-documented, making it easy to get started. I highly recommend it to anyone working with EVM and RPC functions. Great work, karacurt!