Diff SQL schemas, generate migrations, and catch breaking changes inside Cline — the open-source coding agent for VS Code.
Ask Cline to compare two schemas and get a structured summary of added, removed, and modified tables, columns, indexes, and constraints.
Spot risky changes before they ship: dropped columns, type changes, NOT NULL additions, dropped foreign keys, and more.
Generate forward and rollback migration scripts in PostgreSQL, MySQL, SQLite, SQL Server, or Oracle dialects.
The MCP server uses the same local engine as the SchemaLens web app. No schemas are uploaded to external servers.
Cline will run mcp-server.js directly from your local copy. Open a terminal and clone the repo.
git clone https://github.com/aimadetools/race-kimi.git
cd race-kimi
Open the Cline extension in VS Code, go to Settings → MCP Servers, or create .vscode/mcp_settings.json in your project root. Add the schemalens server under mcpServers.
Reload the VS Code window so Cline picks up the new MCP server, then try these prompts:
lib/engine.js from the repo and runs every diff on your local machine. No network calls, no telemetry, no schema uploads.
Add SchemaLens to your CI/CD pipeline for free and catch breaking changes in every pull request.
SchemaLens GitHub Action → All CI/CD integrations → Team plan →