DrawSQL MCP
An official MCP server that allows AI agents to visualize SQL schemas as editable ER diagrams, list team diagrams, retrieve schema details, create new diagrams, and propose schema changes for review.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://drawsql.app/mcpWhat its tools do
1 tool, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Not annotated (1)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to drawsql.app ·
- Passed Endpoint is on the registry namespace domain ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Visualize SQL DDL as an editable ER diagram
- List and retrieve team database schemas
- Create new private diagrams from SQL
- Propose schema changes for team review
Source and maintenance
Protocol and capabilities
- Server
- DrawSQL 1.3.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 1 advertised
- Resources
- 0 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
1 advertised
visualize_schema — Visualize schema
Create an interactive, editable DrawSQL entity-relationship diagram from a database schema. Return a shareable drawsql.app/draw link.
{
"type": "object",
"properties": {
"ddl": {
"type": "string",
"description": "SQL CREATE TABLE and ALTER TABLE statements. Provide either this field or `schema`, but not both."
},
"driver": {
"enum": [
"mysql",
"pgsql",
"sqlsrv"
],
"type": "string",
"description": "Database dialect, one of: mysql, pgsql, sqlsrv. Defaults to mysql."
},
"schema": {
"type": "string",
"description": "A DrawSQL schema patch encoded as a JSON string. Top-level keys: tables, relationships, groups, sticky_notes. Example: {\"tables\":[{\"name\":\"users\",\"columns\":[{\"name\":\"id\",\"type\":\"bigint\"}]},{\"name\":\"posts\",\"columns\":[{\"name\":\"id\",\"type\":\"bigint\"},{\"name\":\"user_id\",\"type\":\"bigint\"}],\"parent_name\":\"Content\"}],\"relationships\":[{\"type\":\"one-to-many\",\"source_table\":\"users\",\"source_column\":\"id\",\"target_table\":\"posts\",\"target_column\":\"user_id\"}],\"groups\":[{\"name\":\"Content\"}],\"sticky_notes\":[{\"content\":\"Draft\"}]}. Relationship types: one-to-one, one-to-many, many-to-one (hyphenated). Identifiers (names, uuids, references) match exactly: no leading/trailing whitespace or control characters, table and group names unique, uuids unique across the whole patch, and entries repeating a uuid must repeat its name. Full format: https://drawsql.app/llms-full.txt. Provide either this field or `ddl`, but not both."
}
}
}{
"openWorldHint": false,
"destructiveHint": false
}Prompts
0 advertised
Resources
0 advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-27: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1396 ms
- 95th percentile latency
- 1396 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1396 ms · metadata changed · 1 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http drawsql-mcp https://drawsql.app/mcpCodex
codex mcp add drawsql-mcp --url https://drawsql.app/mcpCursor
{
"mcpServers": {
"drawsql-mcp": {
"url": "https://drawsql.app/mcp"
}
}
}Cline
{
"mcpServers": {
"drawsql-mcp": {
"type": "streamableHttp",
"url": "https://drawsql.app/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"drawsql-mcp": {
"type": "http",
"url": "https://drawsql.app/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http drawsql-mcp https://drawsql.app/mcpClaude Desktop
https://drawsql.app/mcpWindsurf
{
"mcpServers": {
"drawsql-mcp": {
"serverUrl": "https://drawsql.app/mcp"
}
}
}Let your agent find its tools
Find servers like DrawSQL MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other developer tools servers
Do you run DrawSQL MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.