About Migration Advisor
Migration Advisor is an MCP server published by Dmitriusan in the Files category: mCP server for database migration risk analysis — Flyway and Liquibase XML/YAML/SQL support with lock detection and conflict analysis. Conduid read 6 tools from its source: analyze_liquibase, analyze_liquibase_yaml, analyze_migration, detect_conflicts, generate_rollback and score_risk. It is published to npm as mcp-migration-advisor and starts with npx.
Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include database-migration, devtools, flyway, java-backend, liquibase and risk-analysis.
Install
claude mcp add migration-advisor -- npx -y mcp-migration-advisornpx -y mcp-migration-advisorgit clone https://github.com/Dmitriusan/mcp-migration-advisorTools (6)
analyze_liquibaseAnalyze a Liquibase XML changelog for lock risks, data loss potential, and unsafe patterns. Supports all major change types: createTable, dropTable, addColumn, dropColumn, modifyDataType, addNotNullConstraint, createIndex, dropIndex, addForeignKeyConstraint, dropForeignKeyConstraint, renameTable, renameColumn. Inline <sql> changeSets are also analyzed for TRUNCATE, DELETE without WHERE, and UPDATE without WHERE. Returns lock risk severity (ACCESS EXCLUSIVE, SHARE locks) and data loss risk per operation.analyze_liquibase_yamlAnalyze a Liquibase YAML changelog for lock risks, data loss potential, and unsafe patterns. Supports all major change types: createTable, dropTable, addColumn, dropColumn, modifyDataType, addNotNullConstraint, createIndex, dropIndex, addForeignKeyConstraint, dropForeignKeyConstraint, renameTable, renameColumn. Inline sql changeSets are also analyzed for TRUNCATE, DELETE without WHERE, and UPDATE without WHERE. Returns lock risk severity (ACCESS EXCLUSIVE, SHARE locks) and data loss risk per operation.analyze_migrationAnalyze a SQL migration file for lock risks, data loss potential, and unsafe patterns. Detects: ACCESS EXCLUSIVE locks (DROP TABLE, ADD COLUMN NOT NULL, type changes, CREATE INDEX without CONCURRENTLY), data loss operations (TRUNCATE, DELETE without WHERE, UPDATE without WHERE, DROP COLUMN), and cascade risks. Supports Flyway versioned (V__*.sql) and repeatable (R__*.sql) migrations, as well as plain SQL files.detect_conflictsDetect structural conflicts between two SQL migration files — same-table modifications, same-column changes, lock contention, and drop dependencies. Use this when two migrations touch the same schema objects and you need to know if ordering or concurrent execution matters. Note: only structural conflicts are detected (same table/column); semantic conflicts such as two migrations adding different indexes on the same column are not reported.generate_rollbackGenerate reverse DDL to undo a SQL migration. Produces rollback SQL with warnings for irreversible operations (DROP TABLE, DROP COLUMN, type changes). Includes Flyway schema_history cleanup.score_riskCalculate the combined risk score (0-100) for a SQL migration. Aggregates both lock risk severity (ACCESS EXCLUSIVE, SHARE locks) and data loss potential (DROP, TRUNCATE, type changes) into a single score. Useful for CI gates and automated migration review pipelines.Security checks
- ✓README presentThe repository's README runs to about 1.1K words.
5 checks have not been run yet.
README
The repository's README runs to about 1.1K words. The original in the repository is authoritative.
Read full README