PricingGitHubDashboard

Guides

MCP: AI agents on RpcNode

The RpcNode MCP server exposes your account to AI agents over the Model Context Protocol. Any client with streamable HTTP support connects with a few lines of JSON. The account tools use the same services as the Public API under the same key, plan and limits; the public tools read the open endpoints.

MCPAI agentsClaudeCursor

← All guides

Steps

  1. Create an API key in the cabinet (API keys page). The key is shown once: keep it in the client config, not in code.
  2. Add the server to your client: URL https://mcp.rpcnode.dev/mcp, header Authorization: Bearer <key id>.<secret> — the uuid and the sk_live_… secret of one API key, joined by a dot.
  3. Restart the client or reload the window and allow the rpcnode server.
  4. Ask in plain language: "latest block on Base?", "watch this address on TRON", "screen this transaction".

Claude Desktop config

JSON

{
  "mcpServers": {
    "rpcnode": {
      "type": "http",
      "url": "https://mcp.rpcnode.dev/mcp",
      "headers": {
        "Authorization": "Bearer <key id>.<secret>"
      }
    }
  }
}

Cursor config

JSON

{
  "mcpServers": {
    "rpcnode": {
      "type": "http",
      "url": "https://mcp.rpcnode.dev/mcp",
      "headers": {
        "Authorization": "Bearer <key id>.<secret>"
      }
    }
  }
}

VS Code config

JSON

{
  "servers": {
    "rpcnode": {
      "type": "http",
      "url": "https://mcp.rpcnode.dev/mcp",
      "headers": {
        "Authorization": "Bearer ${env:RPCNODE_MCP_TOKEN}"
      }
    }
  }
}

Tips

  • One key per client: revoke it in the cabinet and the agent loses access at once.
  • aml_check spends plan credits like POST /v1/aml/*; rpc_call, network_status and search_docs are free public reads and charge nothing.
  • Without a key, the tools that read public endpoints still work, within the public rate limits per IP.
  • Every example in the tool sections below is the arguments object of tools/call: send {"name": "<tool>", "arguments": <example>}.
  • The marketing page /mcp on rpcnode.dev shows the same configs and the full tool list.

Endpoint and auth

The endpoint is https://mcp.rpcnode.dev/mcp and it speaks streamable HTTP — the MCP transport over HTTPS, one JSON answer per request (no SSE stream). The bearer token is <key id>.<secret>: the uuid and the sk_live_… secret of one API key, joined by a dot. The secret is checked against the stored one, and the key obeys its IP allowlist and the account limits. The token is sent only to mcp.rpcnode.dev and stays in the local config of your client.

Without a key the public tools work: rpc_call and network_status read the open endpoints (public rate limits per IP), and search_docs is open too. The account tools — watch_address, aml_check, usage_stats — answer an authentication error. A wrong token gets HTTP 401.

Tool rpc_call

Calls one JSON-RPC method on the open public endpoint of a network. Free, no key needed; the public per-IP limits of the gateway apply. Returns the JSON-RPC result; an upstream JSON-RPC error comes back as an error answer of the tool.

Parameters: network (string, required) — the network slug, for example ethereum, base, tron, bitcoin, solana. environment (string, optional, default mainnet) — mainnet or a testnet slug the network offers an open endpoint for. method (string, required) — the JSON-RPC method name. params (array, optional, default []) — the positional parameters of the method, exactly as in its JSON-RPC call. The result is an object with network, environment and result.

Example

{"network":"ethereum","method":"eth_getBalance","params":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","latest"]}

Tool network_status

The health of the networks, from the same open-endpoints catalog as the public-nodes page: status (ok / degraded / unknown), block height and latency in milliseconds per open endpoint. Free, no key needed.

Parameters: network (string, optional) — filter by network slug. environment (string, optional) — filter by environment slug. Without arguments returns every open endpoint; an empty filter result is an error answer saying nothing matched.

Example

{"network":"ethereum"}

Tool watch_address

The address watches of the account — the same Address Watch as the cabinet and POST /v1/address-watches. Needs the bearer key; adding a watch uses a slot of the plan. Events of a watch also arrive by the signed webhook of the account.

Parameters: action (string, required) — add, remove, list or events. add needs network + address and returns the new watch with its watch_id. remove needs watch_id. list takes the optional filters network and address plus page / per_page. events takes watch_id, network, address, event_type and page / per_page, and returns the events newest first with total and has_more.

Example

{"action":"add","network":"tron","address":"TDuGmBDskFDpESMpvPDGsSzsUVeSnMrvFG"}

Tool aml_check

AML / KYT screening of an address or a transaction through the provider of the account (MistTrack), the same check as POST /v1/aml/address and POST /v1/aml/transaction. Needs the bearer key and costs plan credits. The result is a risk signal, not a legal conclusion.

Parameters: network (string, required) — a covered network. Exactly one of address (string) or tx_hash (string). direction (string, optional, only for a transaction) — deposit or withdraw. The answer has risk (low / medium / high / severe), score 0–100, labels, credits_charged and credits_remaining; a network outside the covered list is an error answer.

Example

{"network":"tron","address":"TDuGmBDskFDpESMpvPDGsSzsUVeSnMrvFG"}

Tool usage_stats

The plan of the account with its limits and the usage of all its endpoints together: requests and credits per UTC day. The same numbers as GET /v1/account and GET /v1/usage. Needs the bearer key.

Parameters: days (integer, optional) — 7, 30 (default) or 90. The answer has the plan (slug, rps_limit, endpoints_limit, address_slots, payment_slots, payments_per_month), total_requests, total_credits and the series with one point per day.

Example

{"days":30}

Tool search_docs

Searches this documentation (guides, Public API, errors) and returns the best pages with their URLs and summaries — use it before answering a question about RpcNode, and cite the page. Free, no key needed.

Parameters: query (string, required) — plain words, for example "signed webhook" or "rate limit". Returns up to five pages, best first.

Example

{"query":"aml"}

Limits and security

The MCP server is your account over a new protocol: credits and permissions are the same as in the cabinet and the Public API, and calls per second are limited by the RPS of your plan — the same number your endpoints obey. The tools only read data and manage the settings of the account — there is no way to write to a chain, move funds or change billing through MCP.