πŸ€– Model Context Protocol (MCP)

AI-powered blockchain RPC service for seamless network integration.

AllThatNode MCP(Beta) Builder's Guide

Introduction

AllThatNode MCP (Model Context Protocol) is a powerful service that integrates with Cursor IDE and Claude Desktop Client, enabling RPC requests to various blockchain networks. This guide will help you understand and use the MCP service in your applications.

Table of Contents

Getting Started

Prerequisites

  • AllThatNode API Key
  • Cursor IDE or Claude Desktop Client

Quick Setup

  1. Get your API key from AllThatNode Dashboard
  2. Enable the networks you want to use in your dashboard
    • Go to Project Settings
    • Click "Add Network" button
    • Select and enable the networks you need
  3. Configure your preferred client (Cursor IDE or Claude Desktop) to use AllThatNode MCP

Core Features

  • Support for 50+ blockchain networks (Ethereum, Bitcoin, Aptos, etc.)
  • JSON-RPC 2.0 compatible API
  • Enhanced security and request limiting
  • Seamless integration with AI development tools

Integration Guide

Cursor IDE Integration

  1. Install Cursor IDE from cursor.sh

  2. Edit ~/.cursor/mcp.json (for macOS/Linux) or C:\Users\<Username>\.cursor\mcp.json (for Windows):

{
  "mcpServers": {
    "allthatnode-mcp": {
      "url": "https://mcp.allthatnode.com",
      "env": {
        "x-allthatnode-api-key": "YOUR_API_KEY"
      }
    }
  }
}
  1. Restart Cursor IDE

Claude Desktop Integration

  1. Install Claude Desktop Client

  2. Edit the configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: C:\Users\<Username>\AppData\Roaming\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "allthatnode-mcp": {
      "url": "https://mcp.allthatnode.com",
      "env": {
        "x-allthatnode-api-key": "YOUR_API_KEY"
      }
    }
  }
}
  1. Restart Claude Desktop Client

Available Tools

1. sendRpcRequest

Sends RPC requests to blockchain networks.

Parameters:

  • network: Target network (e.g., ethereum-mainnet, ethereum-sepolia)
  • method: RPC method name (e.g., eth_blockNumber, eth_getBalance)
  • params: RPC method parameters (array format)

Example:

{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "sendRpcRequest",
    "arguments": {
      "network": "ethereum-mainnet",
      "method": "eth_blockNumber",
      "params": []
    }
  },
  "id": 1
}

2. showRPCEndpointList

Provides information about all supported networks.

Example:

{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "showRPCEndpointList",
    "arguments": {}
  },
  "id": 2
}

Important Notes

API Key Management

  • Keep your API key secure
  • Use environment variables for API keys in production

Usage Examples

1. List Supported Networks

Question: How can I see all networks supported by AllThatNode MCP?

Answer: You can use the showRPCEndpointList tool to get the list.

{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "showRPCEndpointList",
    "arguments": {}
  },
  "id": 1
}

Result: Currently supporting over 40 networks, including:

  • Ethereum (Mainnet, Sepolia, Holesky)
  • Layer 2 (Arbitrum, Optimism, Base)
  • Bitcoin (Mainnet, Testnet)
  • Polygon, BSC, Avalanche, and more

2. Check Vitalik's ETH Balance

Question: What is the ETH balance of Vitalik's address (0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045)?

Answer: You can check using the sendRpcRequest tool with the eth_getBalance method.

{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "sendRpcRequest",
    "arguments": {
      "network": "ethereum-mainnet",
      "method": "eth_getBalance",
      "params": ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "latest"]
    }
  },
  "id": 1
}

Result: The current balance is approximately 929.28 ETH (0xce0f57387983f205a Wei)

3. Get Latest Ethereum Block Number

Question: What is the current latest block number on Ethereum?

Answer: You can check using the sendRpcRequest tool with the eth_blockNumber method.

{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "sendRpcRequest",
    "arguments": {
      "network": "ethereum-mainnet",
      "method": "eth_blockNumber",
      "params": []
    }
  },
  "id": 1
}

Result: The current latest block number is #22422862 (0x155b54e)

Support

For additional support: