DrawSQL

Turn SQL into an editable ER diagram link. With an API token, read diagrams and propose changes.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
90%
命名の品質
80%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~370トークン数(ツール定義)
~3.9 KB一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.29%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "mcp": {
      "url": "https://drawsql.app/mcp"
    }
  }
}

リモートエンドポイント

https://drawsql.app/mcpstreamable-http

できること

ツール一覧

ツール(1)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟡visualize_schema(ddl, schema, driver)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "ddl": {
      "description": "SQL CREATE TABLE and ALTER TABLE statements. Provide either this field or `schema`, but not both.",
      "type": "string"
    },
    "schema": {
      "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.",
      "type": "string"
    },
    "driver": {
      "description": "Database dialect, one of: mysql, pgsql, sqlsrv. Defaults to mysql.",
      "enum": [
        "mysql",
        "pgsql",
        "sqlsrv"
      ],
      "type": "string"
    }
  }
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 1 件