migrationpilot-mcp
v1.6.1
Published
MCP server launcher for MigrationPilot — analyze PostgreSQL migrations from AI assistants.
Maintainers
Readme
migrationpilot-mcp
MCP server launcher for MigrationPilot — catch dangerous PostgreSQL migrations before they hit production, straight from your AI assistant.
This is a thin launcher. The server itself ships inside the main migrationpilot package; this package just makes the documented npx migrationpilot-mcp command resolve to a real package on npm.
Usage
Add this to your MCP client config (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"migrationpilot": {
"command": "npx",
"args": ["migrationpilot-mcp"]
}
}
}Tools
The server exposes 4 tools over stdio:
analyze_migration— analyze SQL for safety issues (violations, risk level, lock analysis)suggest_fix— get a safe alternative for a specific rule violationexplain_lock— explain what lock a DDL statement acquireslist_rules— list the available safety rules
More
Full docs, the CLI, the GitHub Action, and the rule reference live in the main repo: https://github.com/mickelsamuel/migrationpilot.
MIT licensed.
