Diff SQL schemas, generate migrations, and catch breaking changes inside Cursor — right next to your code.
Ask Cursor 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.
Cursor 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 Cursor Settings → MCP, or edit ~/.cursor/mcp.json directly. Add the schemalens server under mcpServers.
Close and reopen Cursor so it 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 →