20 October 2026 · Release
DWG MCP Server
Gives AI agents structured access to DWG and DXF files. No AutoCAD, no Docker, no Python required. Browse objects, edit properties, render to SVG or PNG.Point your AI agent at a drawing — it just works.
Every file is indexed the moment it opens, so searches across blocks, layers, and layouts stay fast, even on large real-world drawings.
No rescanning. No AutoCAD. No waiting.
Quick start
Terminal
claude mcp add --scope user --transport stdio dwg-mcp -- npx -y @dmytro-prototypes/dwg-mcp-server
Terminal
codex mcp add dwg-mcp --env DWG_MCP_ALLOWED_ROOTS="$HOME" -- npx -y @dmytro-prototypes/dwg-mcp-server
Terminal · Apple Silicon · installs dwg-mcp-server into ~/.local/bin
curl -fsSL https://raw.githubusercontent.com/dimitrovakulenko/dwg-mcp-server/main/scripts/install.sh | sh
PowerShell · x64 · installs into %LOCALAPPDATA% and extends your user PATH
irm https://raw.githubusercontent.com/dimitrovakulenko/dwg-mcp-server/main/scripts/install.ps1 | iex
The npm launcher downloads the matching native build from GitHub Releases on first use, verifies its SHA-256 checksum, caches it, and runs it — it is the shortest way in if you have Node. Without Node, the installer scripts resolve the latest release, verify its SHA-256 checksum, and put a dwg-mcp-server executable on your PATH; they cover macOS Apple Silicon and Windows x64 only. They install the binary but write no client config, so add the MCP entry yourself afterwards: claude mcp add --scope user --transport stdio dwg-mcp -- dwg-mcp-server. On macOS the executable lands in ~/.local/bin, which may itself need adding to your PATH. Clients that do not pass MCP roots need DWG_MCP_ALLOWED_ROOTS set to the folders holding your drawings.
Listed in the official MCP registry as io.github.dimitrovakulenko/dwg-mcp-server ↗CAPABILITIES
What it can do
- dwg.list_roots
- List the folders available for DWG access.
- dwg.open_file
- Open a DWG or DXF from an allowed folder and return a document id.
- dwg.close_file
- Close a document and release its worker process.
- dwg.list_types
- List every DWG type the backend supports.
- dwg.list_file_types
- List only the types actually present in the opened drawing.
- dwg.describe_type
- Describe a type, its readable and writable properties, and its default projection.
- dwg.get_objects
- Fetch objects by handle, preserving order and reporting anything missing.
- dwg.query_objects
- Query with filters, scopes, relation traversal, sorting, projection, and pagination.
- dwg.set_entity_properties
- Change writable properties on one entity in memory. The source file is never modified.
- dwg.list_render_views
- List model space, paper-space layouts, and layout viewports.
- dwg.render_view
- Render a full view or a bounded region as SVG or PNG.
SVG is the canonical render output and PNG is rasterised from the same scene. Rendering expands block references and generated dimension blocks, draws 2D geometry, text, MTEXT and hatch contours, composes paper-space layouts through their viewports, and returns coverage diagnostics for anything it could not draw.
DOWNLOADS
Prebuilt binaries
Release v0.2.4, built and tested on GitHub Actions runners for four platforms.
6f684fd8b9141f9806fdc2548ec5d4c6fafa1889f87d3b8e16217b69ac6a711c
af3725bebe70d05b612518a04f28afce0f17abdc6ebed4bfb08900591a24a687
61b0097fa69cc64ea73b28c22bafdc2157f7fe49e520ae9e71dfd1388a6781ec
e4fe659e82d42458645bea3e68fe7472677d8171aef0ce52aacadd1316d56027
Checksums above are the SHA-256 values published with release v0.2.4; every asset ships with a matching .sha256 file on GitHub. Verify with shasum -a 256 (macOS, Linux) or Get-FileHash (Windows) before unpacking. Each archive contains the MCP host, the statically linked Rust worker, the LibreDWG schema files, and the GPL-3.0 licence text. Drawings are read locally and never uploaded.
All assets and .sha256 files on GitHub ↗Update feed
Releases, progress notes, and product decisions will be published here.28 August 2026 · Release
v0.2.3 published for four platforms
Native builds for macOS Apple Silicon, Windows x64, Linux x64, and Linux ARM64 are built and tested on GitHub Actions runners, published with SHA-256 checksum files, and fronted by the @dmytro-prototypes/dwg-mcp-server npm launcher. The server is also listed in the official MCP registry as io.github.dimitrovakulenko/dwg-mcp-server.Current status