Skip to content
Cosmopediaby Unity Nodes
Documentationcosmos/cosmos-sdk-migration-mcpcosmos/cosmos-sdk-migration-mcpView on cosmos/cosmos-sdk-migration-mcp ↗

Cosmos SDK Migration MCP Server

Cosmos SDK Migration MCP Server

An MCP (Model Context Protocol) server for migrating Cosmos SDK chains from v0.50+ to v0.54.

This repository packages the migration server, the YAML migration specs, the orchestration guide, and the bundled upgrade-doc resources it exposes over MCP.

Install

pip install cosmos-migration-mcp

Or for local development:

git clone https://github.com/cosmos/cosmos-sdk-migration-mcp.git
cd cosmos-sdk-migration-mcp
pip install -e .

Run

The package exposes a cosmos-migration-mcp console script:

cosmos-migration-mcp

You can also run it as a module:

python -m cosmos_migration_mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "cosmos-migration": {
      "command": "cosmos-migration-mcp"
    }
  }
}

Claude Code

claude mcp add cosmos-migration -- cosmos-migration-mcp

Reference

This MCP server bundles snapshots of the v0.54 upgrade documentation and migration specs. Always consult the canonical upstream guide for the latest information and breaking changes.

Tools

ToolDescription
scan_chain_toolDetect SDK version and which specs apply to a chain
get_migration_planPreview all changes without modifying files
apply_specApply a single spec, including go.mod edits, arg rewrites, and special cases
verify_spec_toolRun verification checks for one spec
verify_all_specsRun verification for an explicit spec list or for currently detectable specs
verify_buildRun go build ./... and return structured results
run_go_mod_tidyRun go mod tidy and return structured results
run_testsRun go test ./... and return structured results
show_diffShow git diff of changes in the chain directory
list_specsList all available migration specs
get_specGet full content of a specific spec
check_warningsCheck for fatal blocks and warnings

Resources

URIDescription
specs://v50-to-v54/{id}Read a spec as YAML text
specs://v50-to-v54/indexList all specs with metadata
agents://orchestrationRead the bundled orchestration guide
docs://upgrading/v0.54Read the bundled v0.54 upgrade guide
docs://upgrade-checklist/v0.54Read the bundled upgrade checklist section
docs://changelog/v0.54-breakingRead the bundled v0.54 breaking changes section
docs://release-notes/v0.54Read the bundled v0.54 release notes

Prompts

PromptDescription
migrate_chainFull workflow: scan → plan → apply → verify → report
assess_chainScan-only: detect version, estimate effort, no changes
debug_build_failureDiagnose post-migration build errors