MCP server
Your coding agent can now read the schema you keep in DrawSQL, so it writes migrations and queries against the real tables and columns instead of guessing them from the codebase.
Connect Claude Code, Cursor, Codex, Windsurf or VS Code to drawsql.app/mcp and your agent can work with your schemas directly.
Turn SQL DDL into an editable diagram link (no token required). With an API token it also lists your diagrams and reads a schema in the same AI-readable Markdown you get from Take to your AI. Read-only for now.
🌟 Improvements and Fixes
AI format from the API: GET /v1/diagrams/{uuid}/schema returns the same Markdown when you send Accept: text/markdown or ?format=ai. Add ?level=simple for names only
Patch contract: the JSON schema your AI writes against is published at drawsql.app/schema-patch-contract.json