Koskamo

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.

DrawSQL MCP logo, by DrawSQLVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-27Operated by DrawSQL
You need:API tokens require a paid plan.Authorization: Bearer <your-token>
MCP endpoint (Streamable HTTP)
https://drawsql.app/mcp
Vendor documentation

What its tools do

1 tool, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

Not annotated (1)

1 of 1 have a description · 0 of 1 declare behavior hints · 1 of 1 with parameters document them all

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

Vendor evidenceRegistry 1.3.0

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
Server-advertised capabilities
{
  "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.

DrawSQL turns a database schema into an interactive, editable entity-relationship diagram. Anonymous (no account needed): - `visualize_schema` — when a user wants to see, share, or edit a database schema as a diagram. Pass either a SQL `ddl` dump (CREATE TABLE / ALTER TABLE statements) or a DrawSQL `schema` patch (JSON). Returns a `drawsql.app/draw` link that opens the diagram in the browser, ready to edit, share, or export. Limits: the free canvas shows at most 20 tables (larger DDL opens with the first 20). Links are anonymous; an unopened link expires after 30 days, and opening it extends the expiry by a year. Saving to a free account keeps the diagram permanently. With a DrawSQL API token (send `Authorization: Bearer <token>`; create one under Account → API tokens — paid plans): - `list_diagrams` — the diagrams visible to the token (names, ids, table counts, URLs). - `get_schema` — a diagram's schema as compact markdown. Consult it before writing queries or migrations against a schema the team keeps in DrawSQL. - `get_diagram_link` — the canonical URL to cite or share. - `get_driver_rules` — a driver's data types and the schema patch format. Read it before writing a patch. - `get_proposal_status` — the outcome of a proposal: pending, applied, declined, or expired. With a token that also carries the `write` ability: - `create_diagram` — create a diagram in the token's team from SQL DDL or a schema patch. Returns within 15 seconds; a longer import comes back as `importing`, and `get_diagram_link` reports when it is `ready`. - `propose_diagram_changes` — propose a schema patch to an existing diagram. A human reviews and applies it in DrawSQL; nothing changes until then. - Call order for a change: `list_diagrams → get_schema → get_driver_rules → propose_diagram_changes → get_proposal_status`.

Tools

1 advertised

visualize_schema — Visualize schema
Advertised by the server during the last successful anonymous check.

Create an interactive, editable DrawSQL entity-relationship diagram from a database schema. Return a shareable drawsql.app/draw link.

visualize_schema input schema
{
  "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."
    }
  }
}
visualize_schema annotations
{
  "openWorldHint": false,
  "destructiveHint": false
}

Prompts

0 advertised

No prompt definitions available.

Resources

0 advertised

No resource definitions available.

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.

Too few checks for a percentage yet (1 of 1 answered).

  1. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http drawsql-mcp https://drawsql.app/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add drawsql-mcp --url https://drawsql.app/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable drawsql-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "drawsql-mcp": {
      "url": "https://drawsql.app/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "drawsql-mcp": {
      "type": "streamableHttp",
      "url": "https://drawsql.app/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start drawsql-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "drawsql-mcp": {
      "type": "http",
      "url": "https://drawsql.app/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http drawsql-mcp https://drawsql.app/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://drawsql.app/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing