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개