MCP server for Cosmos SDK chain migration (v50+ -> v54)
Project description
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
- Canonical Cosmos SDK Upgrade Guide — The official upstream source for breaking changes and migration instructions for all Cosmos SDK versions.
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
| Tool | Description |
|---|---|
scan_chain_tool |
Detect SDK version and which specs apply to a chain |
get_migration_plan |
Preview all changes without modifying files |
apply_spec |
Apply a single spec, including go.mod edits, arg rewrites, and special cases |
verify_spec_tool |
Run verification checks for one spec |
verify_all_specs |
Run verification for an explicit spec list or for currently detectable specs |
verify_build |
Run go build ./... and return structured results |
run_go_mod_tidy |
Run go mod tidy and return structured results |
run_tests |
Run go test ./... and return structured results |
show_diff |
Show git diff of changes in the chain directory |
list_specs |
List all available migration specs |
get_spec |
Get full content of a specific spec |
check_warnings |
Check for fatal blocks and warnings |
Resources
| URI | Description |
|---|---|
specs://v50-to-v54/{id} |
Read a spec as YAML text |
specs://v50-to-v54/index |
List all specs with metadata |
agents://orchestration |
Read the bundled orchestration guide |
docs://upgrading/v0.54 |
Read the bundled v0.54 upgrade guide |
docs://upgrade-checklist/v0.54 |
Read the bundled upgrade checklist section |
docs://changelog/v0.54-breaking |
Read the bundled v0.54 breaking changes section |
docs://release-notes/v0.54 |
Read the bundled v0.54 release notes |
Prompts
| Prompt | Description |
|---|---|
migrate_chain |
Full workflow: scan → plan → apply → verify → report |
assess_chain |
Scan-only: detect version, estimate effort, no changes |
debug_build_failure |
Diagnose post-migration build errors |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cosmos_migration_mcp-0.1.0.tar.gz.
File metadata
- Download URL: cosmos_migration_mcp-0.1.0.tar.gz
- Upload date:
- Size: 76.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e10ab03fc5776a7b23a2ee96364bc8146d75ed6ff9af99046f5b7f71dbd1ee6f
|
|
| MD5 |
56faae7f0896943c9d23a242e8d4f3b0
|
|
| BLAKE2b-256 |
e7bdf23004488a6299b7e50e7ce834c0a432663337c3c8d87c96fd6afb23be39
|
Provenance
The following attestation bundles were made for cosmos_migration_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on cosmos/cosmos-sdk-migration-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cosmos_migration_mcp-0.1.0.tar.gz -
Subject digest:
e10ab03fc5776a7b23a2ee96364bc8146d75ed6ff9af99046f5b7f71dbd1ee6f - Sigstore transparency entry: 1181032474
- Sigstore integration time:
-
Permalink:
cosmos/cosmos-sdk-migration-mcp@9bdd98c8185b4c25c5e897a12698e5b84aa91214 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cosmos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9bdd98c8185b4c25c5e897a12698e5b84aa91214 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cosmos_migration_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cosmos_migration_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 90.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3963aa46cc26f40eff47cde7dc9cc1f520ef7f865bd3fcc97e6e5c02724f176
|
|
| MD5 |
b09c1bdd0214ca5de06efefa547700a3
|
|
| BLAKE2b-256 |
dd3bf699ed3e9d430c2c35d7a0f6f4027ad73416c3ce53d92f1de772911784d0
|
Provenance
The following attestation bundles were made for cosmos_migration_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on cosmos/cosmos-sdk-migration-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cosmos_migration_mcp-0.1.0-py3-none-any.whl -
Subject digest:
c3963aa46cc26f40eff47cde7dc9cc1f520ef7f865bd3fcc97e6e5c02724f176 - Sigstore transparency entry: 1181032521
- Sigstore integration time:
-
Permalink:
cosmos/cosmos-sdk-migration-mcp@9bdd98c8185b4c25c5e897a12698e5b84aa91214 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cosmos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9bdd98c8185b4c25c5e897a12698e5b84aa91214 -
Trigger Event:
push
-
Statement type: