SchemaSketch

v1.3.1
dev.schemasketch/mcp-server Checked 2 hours ago Published 13 days ago

Design database diagrams in DBML: create, edit, validate, export SQL, Laravel, Mermaid.

Values you need

VariableWhat it is
SCHEMASKETCH_TOKENoptional secret Token from schemasketch.dev (Connect AI agent in the app menu). Offline tools work without it.

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-server -- npx -y schemasketch-mcp-server@1.3.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "schemasketch-mcp-server@1.3.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "schemasketch-mcp-server@1.3.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "args": [
        "-y",
        "schemasketch-mcp-server@1.3.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "schemasketch-mcp-server@1.3.1"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp-server https://mcp.schemasketch.dev/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp-server": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.schemasketch.dev/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://mcp.schemasketch.dev/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-server": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://mcp.schemasketch.dev/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.schemasketch.dev/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_dbml_syntax_guide, list_diagrams, get_diagram, validate_dbml, create_diagram, update_diagram, delete_diagram, export_sql, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json