Checks PostgreSQL migrations against lock-safety rules using the Postgres parser, offline and before an agent applies them.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add migrationpilot -- npx -y migrationpilot~/.codex/config.toml
[mcp_servers.migrationpilot]
command = "npx"
args = ["-y", "migrationpilot"]
# codex mcp add migrationpilot -- npx -y migrationpilot~/.cursor/mcp.json
{
"mcpServers": {
"migrationpilot": {
"command": "npx",
"args": [
"-y",
"migrationpilot"
]
}
}
}.vscode/mcp.json
{
"servers": {
"migrationpilot": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"migrationpilot"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"migrationpilot": {
"command": "npx",
"args": [
"-y",
"migrationpilot"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"migrationpilot": {
"command": "npx",
"args": [
"-y",
"migrationpilot"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"migrationpilot": {
"command": "npx",
"args": [
"-y",
"migrationpilot"
]
}
}
}