ER Flow + Cursor AI

Let your AI coding assistant design your database

Connect ER Flow to Cursor via MCP Server. As you describe features in natural language, Cursor creates and modifies your database schema in ER Flow automatically. See changes in real-time on the visual canvas while you stay in your IDE.

Benefits

Schema updates directly from Cursor β€” no context switching
AI reads your current schema before making changes (get-data-model-dbml)
Batch operations create entire schemas in a single request
25+ MCP tools for tables, columns, indexes, foreign keys, views, triggers, and procedures
Changes appear on the visual canvas in real-time
All AI changes are undoable from the editor

How It Works

1

Configure

Add .cursor/mcp.json to your project with your ER Flow data model UUID.

2

Describe

Tell Cursor what you need: "Add a notifications system for comments on posts."

3

Verify

Cursor calls get-data-model-dbml to understand your current schema, then creates the tables.

4

Review

Open ER Flow to see the new tables on the canvas. Review relationships and column types.

5

Generate

Create a checkpoint and generate the migration file from the visual diff.

Connect Cursor to ER Flow

Free to get started. No credit card required.