dwg-mcp
MCP gateway for AutoCAD 2022 to 2027: text extraction, spatial queries and drawing translation.
What it does and how it connects
dwg-mcp is a local MCP gateway for Autodesk AutoCAD 2022 to 2027 DWG workflows. It has two parts: a .NET 8 MCP server launched by Claude Code, Cursor, OpenCode or another stdio MCP client, and version-specific AutoCAD add-in shells loaded inside AutoCAD that execute commands against the drawing database. The agent talks MCP, the server talks to the plugin over a local wire, TCP NDJSON for AutoCAD 2022 to 2024 and a named pipe for 2025 to 2027, and the plugin talks to the AutoCAD .NET API. Everything stays on the user's machine.
The motivating workflow is drawing translation: construction and engineering drawings carry dense technical text, and when those drawings arrive in a foreign language the text must be translated before the project team can act. The server handles spatial clustering of fragmented text into logical sentences, automatic creation of a Unicode-capable text style, height scaling for Latin versus CJK text density, MText conversion where safe, and a single undo wrapping each operation. The README reports usage evidence of 220 completed tool calls over 19 days of active use on production construction drawings, at a 98.2 percent success rate.
The README badges 45 default MCP tools plus optional ones. Installation is from a client setup ZIP on GitHub Releases, which includes a self-contained MCP server and release-specific AutoCAD plugins; the README notes that source shells cover 2022 to 2027 while packaged plugins and tested host years depend on the release.
What engineers report
The v2.0.1 setup ZIP ships plugins for 2024 and 2027 only (packedAutocadYears: [2024, 2027]), so on a machine with AutoCAD 2024 + 2025 the installer only sets up 2024.
2026-10-27Read the original
Alternatives
Compare side by side- cad-skills
A two-module skill pack that teaches an AI agent AutoCAD automation and GB/T design standards, rather than a local MCP gateway for AutoCAD.
- AutoCAD-skills
A single GB/T drafting skill with explicit evidence gates for parameter authority, readback, cross-view proof and plot-scale truth, rather than a local MCP gateway for AutoCAD.
- qcad-mcp
A FastMCP server plus web app that opens QCAD Pro drafting to AI agents, rather than a local MCP gateway for AutoCAD.
Recurring errors it addresses
Error Index entries this tool is built to reduce or work around.
- An agent CAD edit landed (revision 2 to 3) but verification failed on an internal field mismatch, and recovery then failed because the tool's capability fingerprint changed between prepare and recovery on the same build, leaving the edit stuck half-verified. Issue #160 records the incident; PR #161 is the repair record.Error Index
- A team running an agent against DWG files records a human authorization for exactly one disposable run pinned to one commit; their earlier run made a real change to the drawing but ended in rework before verified save, and that state is frozen and cannot be reused.Error Index
Sources
Not verified
- Pricing: none stated on the repo.
- A named individual builder beyond the bimwright organization
Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.