DWG MCP Server
Read-only DWG file access for AI clients through MCP.
10 stars92 downloads/wk
Reviews
Write oneNobody has reviewed DWG MCP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
DWG MCP Server tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-20 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 23 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the DWG MCP Server repository's README, as published. We do not edit it. Read it on GitHub
DWG MCP Server
DWG and DXF file format access for AI via MCP.
Connect DWG and DXF files to Claude, ChatGPT, Codex, Cursor, and other MCP clients. DWG MCP Server provides structured access to DWG data so AI can understand and reason about drawings. Source files remain read-only; supported entity properties can be changed in memory for inspection and rendering.
Quick Start
Use DWG MCP Server from the MCP client of your choice. The npm package downloads the matching native build from GitHub Releases on first use, verifies its SHA-256 checksum, caches it, and runs it directly. Docker and a separate Python installation are not required.
If your MCP client, AI agent, or test harness does not support MCP roots, set DWGMCPALLOWED_ROOTS to the folders that should be accessible.
Codex
codex mcp add dwg-mcp \
--env DWG_MCP_ALLOWED_ROOTS="$HOME" \
-- npx -y @dmytro-prototypes/dwg-mcp-serverCodex does not currently provide MCP client roots to stdio MCP servers. Configure explicit allowed roots for the folders that contain your drawings.
Claude
claude mcp add --scope user --transport stdio dwg-mcp -- npx -y @dmytro-prototypes/dwg-mcp-serverClaude Code provides MCP roots, so no extra path variable is usually needed.
Cursor
{
"mcpServers": {
"dwg-mcp": {
"command": "npx",
"args": ["-y", "@dmytro-prototypes/dwg-mcp-server"]
}
}
}Exposed Tools
A typical flow is:
- Discover available folders with dwg.list_roots.
- Open a file from one of those folders with dwg.open_file.
- Inspect supported or file-local types with dwg.listtypes, dwg.listfiletypes, or dwg.describetype.
- Fetch known handles with dwg.getobjects or search the drawing with dwg.queryobjects.
- Optionally change properties reported as writable with dwg.setentityproperties.
- Discover and render drawing views with dwg.listrenderviews and dwg.render_view.
- Close the session with dwg.close_file, discarding in-memory changes.
Architecture
Runtime model
In the packaged deployment, DWG MCP Server is a standalone native application built for the host operating system. The Python host exposes the MCP tools, validates file access, and manages document sessions.
Each dwg.openfile call starts a dedicated Rust dwg-worker process for that DWG and returns a host-side documentId. All later file-scoped calls use that document id. dwg.closefile terminates the worker for that session.
Worker and query model
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y @dmytro-prototypes/dwg-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add dwg-mcp-server -- npx -y @dmytro-prototypes/dwg-mcp-server
DWG MCP Server: common questions
- Is DWG MCP Server safe?
- Yes, by our scan: it is graded A (92/100). Read the DWG MCP Server safety report
- How do I install DWG MCP Server?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does DWG MCP Server need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is DWG MCP Server maintained?
- The last commit was 23 days ago (2026-08-28). The latest release is v0.2.3.