Skip to content
VS Code

DWG MCP Server for VS Code

io.github.dimitrovakulenko/dwg-mcp-server

Read-only DWG file access for AI clients through MCP.

client:VS Code transport:stdio runtime:npm

Install DWG MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "dwg-mcp-allowed-roots",
      "description": "DWG_MCP_ALLOWED_ROOTS",
      "password": true
    }
  ],
  "servers": {
    "dwg-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dmytro-prototypes/dwg-mcp-server"
      ],
      "env": {
        "DWG_MCP_ALLOWED_ROOTS": "${input:dwg-mcp-allowed-roots}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

DWG MCP Server in other clients