Ethereum RPC MCP Server
以太坊 RPC MCP 服务器
用于与以太坊区块链交互的模型上下文协议 (MCP) 服务器。
概述
该 MCP 服务器提供通过标准 JSON-RPC 方法查询以太坊区块链数据的工具。它使 AI 助手和应用程序能够通过标准化协议与以太坊区块链进行交互。
Related MCP server: MCP Crypto Wallet EVM
特征
该 MCP 服务器提供了三种关键的以太坊 RPC 方法作为工具:
eth_getCode :检索特定以太坊地址的代码
eth_gasPrice :获取以太坊网络上的当前 gas 价格
eth_getBalance :检查以太坊账户的余额
注:更多内容即将推出
用法
添加到光标
要将此 MCP 添加到 Cursor:
首先,克隆此存储库:
git clone https://github.com/yourusername/eth-mpc.git前往 Cursor 设置 → MCP → 添加新的 MCP 服务器
输入名称(例如“eth-mcp”)
选择“命令”作为类型
输入脚本的完整路径:
node /path/to/eth-mpc/index.js

点击“添加”以启用服务器
一旦添加,以太坊 RPC 工具将可在 Cursor 中使用。
该服务器使用 stdio 传输,使其与 Claude Desktop、Cursor 等 MCP 客户端兼容。
使用 MCP Inspector 进行测试
MCP Inspector 是一款用于测试和调试 MCP 服务器的开发工具。它提供了一个交互式界面,无需完整的 AI 客户端即可测试 MCP 服务器的功能。
运行检查器
要使用检查器测试您的以太坊 RPC MCP 服务器:
要运行检查器:
npx @modelcontextprotocol/inspector输入命令和路径
检查器将连接到您正在运行的 MCP 服务器并显示可用的工具。
使用 Inspector 测试工具
检查器允许您:
查看可用的工具及其描述
使用不同的参数测试每个工具
以结构化格式查看回复
调试 MCP 服务器实施过程中的任何问题
例如,要测试eth_getBalance工具:
在检查器界面中选择工具
输入有效的以太坊地址(例如,
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045- Vitalik 的地址)使用默认区块参数(
latest)提交请求并查看响应
与 MCP 客户端集成
该 MCP 服务器可以与任何兼容 MCP 的客户端集成,包括:
克劳德桌面
克劳德·科德
光标(上面的说明)
克莱恩
其他 MCP 兼容应用程序
集成后,客户端应用程序可以使用该服务器提供的工具直接查询以太坊区块链数据。
了解 MCP
模型上下文协议 (MCP) 是一项开放标准,允许 AI 模型与各种工具和服务进行交互。它为开发者提供了一种标准化的方式,可以向 AI 助手公开 API、数据源和功能。
了解有关 MCP 的更多信息
像这样的 MCP 服务器构成了生态系统的一部分,允许 AI 助手跨多个服务执行复杂任务,而无需为每个服务进行定制集成。
📚官方文档:模型上下文协议概述
执照
麻省理工学院
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables Claude to interact with Ethereum nodes, allowing users to check ENS token balances, view smart contract code, and decode transactions through natural language.51MIT
- AlicenseBqualityDmaintenanceProvides Claude with access to Ethereum and EVM-compatible blockchain operations, enabling wallet management, transaction handling, contract interactions, and blockchain queries through natural language.358710MIT
- AlicenseNot gradedqualityCmaintenanceBridges 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.103MIT
- AlicenseAqualityDmaintenanceProvides 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.19143MIT
Related MCP Connectors
Safety-first EVM and Bitcoin RPC tools for balances, contracts, blocks, and transactions
Provide AI agents and automation tools with contextual access to blockchain data including balance…
Read-only on-chain intelligence for AI agents on Base: balances, tokens, gas, tx status.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/0xKoda/eth-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server