Drawing MCP Server

v0.2.13
net.dmytro-prototypes/drawing-mcp-server Checked 32 minutes ago Published 13 days ago

Read, query, edit and render DWG drawings with AI.

Values you need

VariableWhat it is
DRAWING_MCP_ALLOWED_ROOTSrequired Absolute paths the server may open DWG files from. Drawings are processed locally and never uploaded.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add drawing-mcp-server -e 'DRAWING_MCP_ALLOWED_ROOTS=<DRAWING_MCP_ALLOWED_ROOTS>' -- npx -y @dmytro-prototypes/cad-drawing-mcp-server@0.2.13
Add to claude_desktop_config.json
{
  "mcpServers": {
    "drawing-mcp-server": {
      "args": [
        "-y",
        "@dmytro-prototypes/cad-drawing-mcp-server@0.2.13"
      ],
      "command": "npx",
      "env": {
        "DRAWING_MCP_ALLOWED_ROOTS": "<DRAWING_MCP_ALLOWED_ROOTS>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "drawing-mcp-server": {
      "args": [
        "-y",
        "@dmytro-prototypes/cad-drawing-mcp-server@0.2.13"
      ],
      "command": "npx",
      "env": {
        "DRAWING_MCP_ALLOWED_ROOTS": "<DRAWING_MCP_ALLOWED_ROOTS>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "DRAWING_MCP_ALLOWED_ROOTS",
      "id": "drawing-mcp-allowed-roots",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "drawing-mcp-server": {
      "args": [
        "-y",
        "@dmytro-prototypes/cad-drawing-mcp-server@0.2.13"
      ],
      "command": "npx",
      "env": {
        "DRAWING_MCP_ALLOWED_ROOTS": "${input:drawing-mcp-allowed-roots}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.drawing-mcp-server]
command = "npx"
args = ["-y", "@dmytro-prototypes/cad-drawing-mcp-server@0.2.13"]
env = { "DRAWING_MCP_ALLOWED_ROOTS" = "<DRAWING_MCP_ALLOWED_ROOTS>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http drawing-mcp-server https://cad-drawing.dmytro-prototypes.net/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "drawing-mcp-server": {
      "args": [
        "-y",
        "mcp-remote",
        "https://cad-drawing.dmytro-prototypes.net/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "drawing-mcp-server": {
      "url": "https://cad-drawing.dmytro-prototypes.net/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "drawing-mcp-server": {
      "type": "http",
      "url": "https://cad-drawing.dmytro-prototypes.net/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.drawing-mcp-server]
command = "npx"
args = ["-y", "mcp-remote", "https://cad-drawing.dmytro-prototypes.net/mcp"]

For AI agents

  1. Ask the user for: DRAWING_MCP_ALLOWED_ROOTS. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: cad.license_status, cad.sign_in, cad.show_document, cad.list_roots, cad.open_file, cad.close_file, cad.list_documents, cad.document_info, ….
  5. 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