MCP Migration Advisor MCP Server

MCP server for database migration risk analysis — Flyway and Liquibase XML/YAML/SQL support with lock detection and conflict analysis

Local serverstdio

What is the MCP Migration Advisor MCP server?

MCP server for database migration risk analysis — Flyway and Liquibase XML/YAML/SQL support with lock detection and conflict analysis. Exposed over MCP by the mcp migration advisor mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

MCP server for database migration risk analysis. Detects dangerous schema changes before they hit production.

Its toolset

Everything the assistant can do here goes through one of these:

  • analyze_migration — Full analysis of a SQL migration file. Returns lock risks, data loss analysis, and recommendations
  • analyze_liquibase — Full analysis of a Liquibase XML changelog. Parses changeSets and applies the same lock risk and data loss analysis
  • analyze_liquibase_yaml — Full analysis of a Liquibase YAML changelog. Parses changeSets from YAML format and applies the same lock risk and data loss analysis. Supports all
  • score_risk — Quick risk score (0-100) with verdict (LOW/MODERATE/HIGH RISK)
  • generate_rollback — Generate reverse DDL to undo a SQL migration. Produces rollback SQL with warnings for irreversible operations
  • detect_conflicts — Detect conflicts between two SQL migration files. Identifies same-table modifications, same-column changes, lock contention risks, and drop

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at mcp-migration-advisor on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

When to reach for it

Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP Migration Advisor's toolset — analyze_migration, analyze_liquibase, analyze_liquibase_yaml and 3 more — is a fair guide to whether it matches your workflow. It is maintained by dmitriusan; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Migration Advisor's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp migration advisor mcp server does with a few real requests.

Available tools

ToolWhat it does
analyze_migrationFull analysis of a SQL migration file. Returns lock risks, data loss analysis, and recommendations.
analyze_liquibaseFull analysis of a Liquibase XML changelog. Parses changeSets and applies the same lock risk and data loss analysis.
analyze_liquibase_yamlFull analysis of a Liquibase YAML changelog. Parses changeSets from YAML format and applies the same lock risk and data loss analysis. Supports all standard change types: createTable, dropTable, addColumn, dropColumn, mo
score_riskQuick risk score (0-100) with verdict (LOW/MODERATE/HIGH RISK).
generate_rollbackGenerate reverse DDL to undo a SQL migration. Produces rollback SQL with warnings for irreversible operations.
detect_conflictsDetect conflicts between two SQL migration files. Identifies same-table modifications, same-column changes, lock contention risks, and drop dependencies that could cause failures if applied concurrently or in the wrong o

How to install the MCP Migration Advisor MCP server

{
  "mcpServers": {
    "migration-advisor": {
      "command": "npx",
      "args": ["-y", "mcp-migration-advisor"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use MCP Migration Advisor to analyze migration.
  • Use MCP Migration Advisor to analyze liquibase.
  • Use MCP Migration Advisor to analyze liquibase yaml.

Frequently asked questions

It connects MCP Migration Advisor to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (analyze_migration, analyze_liquibase, analyze_liquibase_yaml, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Migration Advisor directly.