An MCP server that lets AI clients inspect AutoCAD DWG files in read-only mode. It can open a DWG, list and describe DWG types, fetch objects by handle, and run queries over drawing contents and relationships.
From the registry: Read-only MCP server for inspecting AutoCAD DWG files
Please install the `dwg-mcp-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js and npm/npx** — Install Node.js so you can launch the published MCP server package via npx.
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","@dmytro-prototypes/dwg-mcp-server"]
- optional environment variables:
- `DWG_MCP_ALLOWED_ROOTS`: Semicolon-separated list of absolute directories the server is allowed to access. Use this when your MCP client or agent does not provide MCP roots. In default setups where the client provides roots, this is usually not needed. (example: `<absolute-dir-1>;<absolute-dir-2>`)
- `DWG_MCP_DOCKER_MOUNTS`: Semicolon-separated list of host directories to mount read-only into the Docker container launched by the npm package. The launcher mounts $HOME by default; set this when your DWG files are outside that area or you need additional visible paths. (example: `<absolute-dir-1>;<absolute-dir-2>`)
Note: The npm package launches a published Docker image. This server is stdio-based. If the MCP client provides roots, those roots control access and no extra env is usually required. For clients without MCP roots, set DWG_MCP_ALLOWED_ROOTS so the server can authorize file access.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.DWG_MCP_ALLOWED_ROOTSrequiredSemicolon-separated list of absolute directories allowed for DWG access when the client does not provide MCP roots.DWG_MCP_DOCKER_MOUNTSrequiredHost folders to mount into the Docker container when drawings are outside the default mounted paths.DWG_WORKER_BINrequiredPath to the dwg-worker executable if it is not under target/release or target/debug.An MCP Server for computer-use in Windows OS