ML

moonsong-labs/substrate-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

5 stars 4 forks 品質 60 トレンド 13Apache-2.0

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

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

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"
    }
  }
}
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "substrate-mcp": { "command": "substrate-mcp" } } }