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 |
Metadata
Release files for cosmos-migration-mcp 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cosmos_migration_mcp-0.1.5.tar.gz | 85.0 kB | With provenance | Details for cosmos_migration_mcp-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cosmos_migration_mcp-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for cosmos_migration_mcp-0.1.5-py3-none-any.whl |
Total release size: 181.0 kB
Release files / cosmos_migration_mcp-0.1.5.tar.gz
| Download URL | cosmos_migration_mcp-0.1.5.tar.gz |
|---|---|
| Size | 85.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffbb822b2312d8db18b5f76a458638013edc341f86d958f80b3c9f709fc17366
|
|
BLAKE2b-256 checksum How to use checksums |
8ef5eebcea6d58a55db287a9ed7d4c2890aa91bdafc7fc1a41b7ce7cf2e97279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 25, 2026.
Transparency logRelease files / cosmos_migration_mcp-0.1.5-py3-none-any.whl
| Download URL | cosmos_migration_mcp-0.1.5-py3-none-any.whl |
|---|---|
| Size | 96.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f28c5fe167c91a2b297e815e0f1dfcf5bd2452aa44f61b4063b3ddb3801d4ba
|
|
BLAKE2b-256 checksum How to use checksums |
652055a6eceaf9a7742abce9bc0b6f4f9bd170eaf1219599f8a2cc15fd7460b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 25, 2026.
Transparency logSecurity for cosmos-migration-mcp 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cosmos_migration_mcp-0.1.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.