Drawing MCP Server
v0.2.13Read, query, edit and render DWG drawings with AI.
Values you need
| Variable | What it is | |
|---|---|---|
DRAWING_MCP_ALLOWED_ROOTS | required | 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.13Add 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/mcpAdd 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
- Ask the user for: DRAWING_MCP_ALLOWED_ROOTS. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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