CAD-MCP Server
MCP serverCommunity
Controls a running AutoCAD, GstarCAD or ZWCAD over Windows COM with 35 tools for drawing, editing, querying and saving. By daobataotie.
671 starsUpdated 10 days agoGitHub data from 5 Nov 2026
At a glance
- Type
- MCP server
- Works with
- AutoCAD
- How it connects
- Drives a running copy of the tool
- Access
- Can modify models
- Tool versions
- unknown (AutoCAD COM ProgID auto-detected from the registry, or set one such as AutoCAD.Application.25.1)
- Operating systems
- Windows
- Needs a AutoCAD licence
- Yes
- Transport
- Local (stdio), Remote (HTTP)
- AI clients documented
- Claude Desktop, Cursor, Windsurf, TRAE
- Licence
- MIT
- Language
- Python
What it can do
- Draws lines, arcs, polylines, hatches, text and linear dimensions, and edits entities by handle (move, rotate, scale, mirror, offset, arrays).
- Lists layers and entities and returns entity properties, plus a screenshot of the CAD window so the agent can check its work.
- Opens, saves and closes DWG or DXF files, manages blocks, and passes any command line through a send_command tool.
- Can run over Streamable HTTP so several clients share one CAD session.
Limitations
- Windows only; needs the CAD application installed and pywin32.
- Configuration lives in src/config.json, and the README gives no tested AutoCAD versions.
Install
# Option 1: Run directly (fully compatible with existing Claude/Cursor configs)
python src/server.py
# Option 2: Install as a CLI tool
pip install -e .
cad-mcpMCP servers and skills run code on your computer. Review the source before installing.
AI-generated models, drawings and results must be checked by a qualified engineer before use.