MCP.so
ログイン

RPC MCP Server

@karacurt

RPC MCP Server について

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

karacurt

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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.

コメント

「開発者ツール」の他のコンテンツ