
moonsong-labs/substrate-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
An MCP (Model Context Protocol) server that provides tools for working with Substrate-based blockchains.
Обзор
An MCP (Model Context Protocol) server that provides tools for working with Substrate-based blockchains. Substrate MCP is a Rust-based Model Context Protocol server for the Polkadot ecosystem. It lets AI agents explore chain metadata and state, decode extrinsics, submit dev extrinsics, scaffold pallets, and analyze Polkadot SDK releases to understand their impact on your codebase. - For the subxt_execute tool, install the subxt CLI: Choose one of the following installation methods: This will: - Download the appropriate binary for your platform - Install it to ~/.substrate-mcp/bin/substrate-mcp - Add the binary to your PATH Download the binary for your platform from the latest release. The binary will be available at ./target/release/substrate-mcp To use this MCP server with Claude Code, add it to your Claude Code configuration.
README
Показан фрагмент оригинального README. Открыть оригинал.
Table of Contents
- 📖 About
- 🛠️ Prerequisites
- ⬇ Installation
- 🤖 Usage with Claude Code
- 🎛️ Configuration
- ⚙️ Available Tools
- 🚀 Available Prompts
- 📜 License
📖 About
Substrate MCP is a Rust-based Model Context Protocol server for the Polkadot ecosystem. It lets AI agents explore chain metadata and state, decode extrinsics, submit dev extrinsics, scaffold pallets, and analyze Polkadot SDK releases to understand their impact on your codebase.
🛠 Prerequisites
-
For the
subxt_executetool, install the subxt CLI:
cargo install subxt-cli
⬇ Installation
Choose one of the following installation methods:
Quick Install
curl -sSfL https://raw.githubusercontent.com/Moonsong-Labs/substrate-mcp/main/install.sh | bash
This will:
- Download the appropriate binary for your platform
- Install it to
~/.substrate-mcp/bin/substrate-mcp - Add the binary to your PATH
Download from Releases
Download the binary for your platform from the latest release.
Install from Source
cargo install --locked --git https://github.com/Moonsong-Labs/substrate-mcp
Build Locally
git clone https://github.com/Moonsong-Labs/substrate-mcp.git
cd substrate-mcp
cargo build --release
The binary will be available at ./target/release/substrate-mcp
🤖 Usage with Claude Code
To use this MCP server with Claude Code, add it to your Claude Code configuration.
{
"mcpServers": {
"substrate-mcp": {
"command": "substrate-mcp"
}
}
}
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"substrate-mcp": {
"command": "substrate-mcp"
}
}
}