Substrate MCP Rs MCP Server

A Model Context Protocol [(MCP)](https://modelcontextprotocol.io/introduction) server for Substrate blockchains, written in Rust. This project

Local serverstdio

What is the Substrate MCP Rs MCP server?

Connect Substrate MCP Rs to Claude, Cursor or any other MCP client and it stops being a tab you switch to. A Model Context Protocol (MCP) server for Substrate blockchains, written in Rust. This project exposes dynamic Substrate blockchain operations (querying balances, blocks, pallets, storage. The substrate mcp rs mcp server is what makes that connection.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • query_balance — Fetch the balance of an account
  • list_pallets — List all pallets in the runtime
  • list_pallet_entries — List all storage entries for a pallet
  • dynamic_runtime_call — Execute a runtime API call
  • send_dynamic_signed_transaction — Construct, sign, and send a transaction
  • query_storage — Query storage by pallet and entry
  • get_latest_events — Get all events from the latest block
  • find_events — Find specific events by pallet and variant
  • get_latest_block — Get details about the latest block
  • get_block_by_hash — Get block details by hash
  • find_extrinsics — Find extrinsics in the latest block
  • get_system_info — Get system info via RPC

Credentials and setup notes

Configuration is passed through the environment: PROJECT_ROOT_ABSOLUTE_PATH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Where it fits

This sits in the file and storage access group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Substrate MCP Rs's toolset — query_balance, list_pallets, list_pallet_entries and 10 more — is a fair guide to whether it matches your workflow. It is maintained by ThomasMarches; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Substrate MCP Rs's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 13 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Substrate MCP Rs.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
query_balanceFetch the balance of an account
list_palletsList all pallets in the runtime
list_pallet_entriesList all storage entries for a pallet
dynamic_runtime_callExecute a runtime API call
send_dynamic_signed_transactionConstruct, sign, and send a transaction
query_storageQuery storage by pallet and entry
get_latest_eventsGet all events from the latest block
find_eventsFind specific events by pallet and variant
get_latest_blockGet details about the latest block
get_block_by_hashGet block details by hash
find_extrinsicsFind extrinsics in the latest block
get_system_infoGet system info via RPC
custom_rpcMake a custom RPC call

Configuration

VariableDescriptionRequired
PROJECT_ROOT_ABSOLUTE_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Substrate MCP Rs to query balance.
  • Use Substrate MCP Rs to list pallets.
  • Use Substrate MCP Rs to list pallet entries.

Frequently asked questions

It connects Substrate MCP Rs to MCP-compatible AI assistants such as Claude and Cursor, exposing 13 tools (query_balance, list_pallets, list_pallet_entries, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Substrate MCP Rs directly.