mcp-drawdb

by tovarsh

Not rated
GitHub

About

Interact with drawdb database diagrams in the browser. Open https://drawdb.icen.ai/editor before using.

Details

Author
tovarsh
Categories
Database, Other, Knowledge Base

Setup

Install mcp-drawdb in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/tovarsh/mcp-drawdb

Follow the installation instructions in the repository README, then restart your MCP client.

MCP server fordrawdb— lets AI assistants (Claude Code, Cursor, etc.) directly read and modify database diagrams in your browser.

Claude Code ──stdio──► npx mcp-drawdb ──ws──► Relay (embedded) ◄──ws── Browser (drawdb)

- npx mcp-drawdbstarts a WebSocket relay server internally (auto port 23432–23442), then connects as a client. If a relay is already running, it reuses it.
- drawdbin the browser auto-scans ports 23432–23442 to find the relay, exposes diagram state to tools
- The relay routes messages between Claude Code and the browser

No separate relay process needed — everything runs inside the MCP bridge.

Add to yourclaude_desktop_config.jsonor.claude/settings.json:

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

Opendrawdb.icen.aiin your browser. You'll see a greenMCPdot in the header when connected.

Gray dot?The relay may be on a different port. The browser auto-scans 23432–23442, so just wait a moment. You can also click the MCP dot to manually set the WebSocket URL.

Claude Code can now read and modify your diagrams. Try:

"List all tables in the diagram" "Add a users table with id, email, name" "Create a relationship from users.id to posts.user_id" "Export SQL for MySQL"

When usingadd_table,update_table, each field supports:

HTTPS andws://localhost?All major browsers exempt localhost from mixed content checks.ws://localhostworks fromhttps://drawdb.icen.aiwithoutwss://.

Port 23432 is occupied?The relay auto-detects ports 23432–23442. The browser scans all ports automatically, so it will find the relay wherever it is.

For advanced setups (Docker, shared server), you can run the relay separately:

Then configure the bridge withRELAY_URL:

{ "mcpServers": { "drawdb": { "command": "npx", "args": ["mcp-drawdb"], "env": { "RELAY_URL": "ws://your-server:23432" } } } }

- Node.js >= 18
- drawdb with MCP integration (browser-side WebSocket client)
- A running browser tab with drawdb open

Postgres skills and documentation to help AI coding tools generate better PostgreSQL code.

Build custom MCP tools on any datasource and ship them to any agent builder from one control plane—using only SQL and a secure link.

The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.

Hosted MCP server for live sports data — scores, analytics, schedules, standings, multi-book odds, team form, head-to-head, model predictions, and pre-generated matchup analysis across 1,000+ leagues in 150+ countries. Free tier, no card.

A secure MCP server that connects AI agents to CloudBeaver web client, allowing them to explore database schemas, read metadata, and execute SQL queries.

Real-time company and people intelligence for AI agents

Fabi MCP is an autonomous agent that handles end-to-end data analysis tasks from natural language requests, automatically discovering data schemas, generating sql or python code, executing queries, and presenting insights.

Manage content databases in Notion using the Notion API.

MCP server providing AI assistants with safe, read-only access to SQL Server databases. Built with C#/.NET 10, it uses AST-based query validation (Microsoft's T-SQL parser) to ensure only SELECT statements execute - blocking INSERT/UPDATE/DELETE/DROP/EXEC at the syntax tree level. Features include schema exploration, PlantUML/Mermaid ER diagram generation, rate limiting, and integrated DBA diagnostic toolsets (First Responder Kit, DarlingData, sp_WhoIsActive).

MCP servers for Deephaven to orchestrate data workers and power documentation Q&A with LLMs, enabling AI-driven data workflows.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.