MCP server for drawdb — lets AI assistants (Claude Code, Cursor, etc.) directly read and modify database diagrams in your browser.
mcp-drawdb is an MCP project maintained in the tovarsh/mcp-drawdb repository. The maintainer describes its purpose as “MCP server for drawdb — lets AI assistants (Claude Code, Cursor, etc.) directly read and modify database diagrams in your browser”. Read the project documentation for the complete scope.
The documented npm package is mcp-drawdb. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| ping | Test connection to the browser |
| list_tables | List all tables with fields |
| get_diagram | Full diagram overview: tables, fields, layout (x/y/w/h), relationships, database type |
| add_table | Add a table with fields, color, comment |
| update_table | Rename table, add/drop/alter fields with full property control |
| delete_table | Delete a table (cascades to relationships) |
| add_relationship | Add FK with cardinality (1:1, 1:n, n:1, n:m) and constraint rules |
| delete_relationship | Delete a relationship |
| set_layout | Reposition tables on canvas |
| set_database | Switch database type (mysql, postgresql, sqlite, mariadb, transactsql, oraclesql, generic) |
| get_issues | Validate diagram: duplicate names, missing PKs, type mismatches, etc. |
| export_sql | Generate DDL SQL for the target database |
| clear_diagram | Remove all tables and relationships |
| undo | View last action on the undo stack |
{
"mcpServers": {
"drawdb": {
"command": "npx",
"args": [
"mcp-drawdb"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.