Drawdb MCP Server

DrawDB - Free, simple, and intuitive database design tool and SQL generator

Local serverstdio

What is the Drawdb MCP Server?

DrawDB - Free, simple, and intuitive database design tool and SQL generator

The short version

This fork of DrawDB extends the original with AI assistant integration via Model Context Protocol (MCP). AI assistants like Claude can create, modify, and manage database diagrams programmatically.

What it needs from you

  • Node.js 20.19+ or 22.22+ (see engines in package.json) - pnpm 8.15.0+ (install via npm install -g pnpm) Start both GUI and backend: Start GUI only: ```bash pnpm gui:dev

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
export_sqlExport diagram as SQL DDL for current database type
export_dbmlExport diagram as DBML
import_dbmlImport database schema from DBML
export_diagramExport complete diagram as JSON
import_diagramImport complete diagram from JSON

How to install the Drawdb MCP Server

{
  "mcpServers": {
    "drawdb": {
      "command": "npx",
      "args": ["-y", "pnpm"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 20.19+ or 22.22+ (see engines in package.json) - pnpm 8.15.0+ (install via npm install -g pnpm) Start both GUI and backend: Start GUI only: ```bash pnpm gui:dev

Example prompts to try

  • “Use Drawdb MCP to macOS.”
  • “Use Drawdb MCP to DBML.”
  • “Use Drawdb MCP to export sql.”

Frequently asked questions

DrawDB - Free, simple, and intuitive database design tool and SQL generator Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.