MCP.so
登录

RPC MCP Server

@karacurt

基本信息

分类

开发工具

最近更新

传输方式

stdio

作者

karacurt

关于 RPC MCP Server

暂无概览

RPC MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

RPC MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

1

What runtime does RPC MCP Server require?

Node.js v16 or higher and npm are required.

2

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.

3

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.

4

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.

5

What tools does the server expose?

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

评论

开发工具 分类下的更多 MCP 服务器