CAD-MCP Server
An MCP server for AutoCAD, GstarCAD and ZWCAD: draw, edit and inspect drawings in plain language
- 693 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Controls CAD and changes your drawings
- The send_command passthrough runs any CAD command
Install
- Works in
Manual install
pip install -e .
cad-mcpInstall from source as a CLI tool. Clone the repository first.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Controls CAD and changes your drawings
- The send_command passthrough runs any CAD command
This is third-party code. Review the repository files before installing.
What it does
The server links an agent to desktop CAD through the Windows COM interface. The agent draws lines, circles, arcs, ellipses, rectangles, polylines, text, hatches and dimensions, edits objects (move, rotate, scale, copy, mirror, offset, arrays), manages layers and DWG or DXF drawings, and works with blocks. Query tools return layers and entities with their properties and capture a screenshot of the window so the agent can see the result. It also passes through arbitrary CAD commands and supports stdio and streamable-http transports.
Who it is for. For engineers and drafters who work in AutoCAD, GstarCAD or ZWCAD and want to offload part of the work to an agent.
Good fit when
- You need to draw or edit geometry from a description
- You need a list of layers and entities with their properties
- You need to verify the result from a screenshot of the CAD window
Not a fit when
- You have no Windows or no AutoCAD, GstarCAD or ZWCAD installed
- You need CAD work on macOS or Linux
Example request
Draw a 100 by 50 rectangle on the walls layer and add a linear dimension along the bottom sideMCP
- Transport
- stdio, http
- Authentication
- not required
Limitations
Runs only on Windows with AutoCAD, GstarCAD or ZWCAD installed and Python 3.10 or newer. CAD type, transport and output folder are set in src/config.json. The send_command tool runs any CAD command, so check what you launch. Install is from source: python src/server.py or pip install -e . and run cad-mcp.
How to disable. Remove the server entry from your MCP client config. If installed via pip, uninstall the cad-mcp package with your package manager.
FAQ
Which CAD does it work with?
AutoCAD, GstarCAD and ZWCAD on Windows through the COM interface. The type is set in the config.
Can the agent see the drawing?
Yes, it can query entity properties and take a screenshot of the CAD window to verify the result.
How is CAD-MCP Server different from other MCP servers for AutoCAD?
The server links the agent to desktop CAD through the Windows COM interface and supports AutoCAD, GstarCAD and ZWCAD. The agent draws lines, circles, arcs, ellipses, polylines, text, hatching and dimensions and edits objects.
How do I connect an MCP for AutoCAD?
Install the server with pip install -e . and cad-mcp, then add it to the client config. You need Windows and an installed CAD. It works with Claude Desktop, Cursor and Windsurf.
Discussion
No questions or reviews yet.
Related
MCP serversAn MCP server to drive FreeCAD from Claude Desktop and other clients: create and edit models, run scripts and FEM analysis
AutoCAD MCP Pro
autocad-mcp-pro
An MCP server for AutoCAD with hundreds of tools: a live AutoCAD through COM or DXF without the program, with a token saving mode
AutoCAD MCP
autocad-mcp
An MCP server for AutoCAD LT: the agent draws and edits drawings through AutoLISP, and without AutoCAD writes DXF files
The MCP server connects agents to FreeCAD for part modeling, document edits, macro execution and model export.
An MCP server for SolidWorks: the agent models parts and assemblies, produces drawings and rebuilds a part from a DXF or DWG file
McNeel's MCP server for Rhino 3D: Claude, Codex and Gemini CLI model geometry in an open Rhino and build Grasshopper definitions
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| CAD-MCP Server (this card) | no | not required | 693 | |
| AutoCAD MCP | no | not required | 648 | works with AutoCAD LT through AutoLISP, eight consolidated tools |
| AutoCAD MCP Pro | no | not required | 277 | 247 tools, a live AutoCAD through COM or DXF without the program |
| KOMPAS-3D MCP in Python | no | not required | 0 | 76 tools, KOMPAS v25, Python |
README in short
The README describes natural-language CAD control and a 2.0 release built on FastMCP with structured output, tool annotations and Streamable HTTP. It lists drawing, query, editing, layer, drawing and block features plus an arbitrary command passthrough. It states dependencies, Windows and Python requirements, the src/config.json file and three ways to start the server. A total of 35 tools are documented. MIT licensed.