AutoCAD MCP Server
Enables programmatic control of AutoCAD to create and manage drawings, allowing for the creation of lines, circles, arcs, ellipses, rectangles, polylines, text, and dimensions through natural language commands.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AutoCAD MCP ServerDraw a red circle at 100,100 with a radius of 50"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AutoCAD MCP Server
Draw in AutoCAD by typing plain English into Claude Desktop.
What it does
You type "draw a red circle at (100, 100) with radius 50" in Claude Desktop, and the circle appears in AutoCAD. No scripting, no LISP, no macros.
Claude Desktop sends your request to this server, which translates it into AutoCAD commands over the Windows COM interface.
Related MCP server: Civil3D MCP Server
Before you start
You need all three:
Windows — the server talks to AutoCAD through COM, which only exists on Windows
Python 3.10 or newer
AutoCAD, GstarCAD, or ZWCAD installed
Setup
1. Install the server
git clone https://github.com/Porta048/autocad-mcp.git
cd autocad-mcp
pip install -e .2. Tell Claude Desktop about it
Open %APPDATA%\Claude\claude_desktop_config.json and add:
{
"mcpServers": {
"autocad": {
"command": "autocad-mcp"
}
}
}3. Restart Claude Desktop
That's it. Claude starts the server automatically — you don't run it yourself.
Using it
Open AutoCAD, then just talk to Claude:
Draw a red circle at (100, 100) with radius 50
Create a rectangle from (0, 0) to (200, 100)
Add text "Hello" at (50, 50)
Draw a line from (0, 0) to (100, 100)
Save the drawing to C:/drawings/test.dwgIf AutoCAD isn't already open, the server launches it and waits about 20 seconds for it to load.
Commands also work in Italian and Chinese — "disegna un cerchio rosso" does the same thing.
What you can draw
Tool | What it makes |
| A line between two points |
| A circle from a center point and radius |
| An arc, with start and end angles |
| An ellipse, optionally rotated |
| A rectangle from two opposite corners |
| A connected path through several points |
| Text at a position |
| A pattern fill inside a boundary |
| A dimension annotation |
| Saves to a |
| Handles free-form natural language |
You don't call these by name — Claude picks the right one from what you ask.
Colors
Name a color in your request and it gets applied:
|
|
|
|
|
|
|
Also available: gray, black, orange, brown, purple, and pink. You can use the number directly if you prefer.
Coordinates
Written as
(x, y)or(x, y, z)— z defaults to 0X goes right, Y goes up
Angles are in degrees, counter-clockwise from the X axis
Using a different CAD program
Edit src/autocad_mcp/config.json and set cad.type to AUTOCAD, GCAD, or ZWCAD:
{
"cad": {
"type": "AUTOCAD",
"startup_wait_time": 20
}
}Raise startup_wait_time if your CAD program is slow to open.
If something goes wrong
Nothing happens when you ask Claude to draw Check that Claude Desktop was restarted after editing the config file.
"CAD not initialized" Open AutoCAD manually first, then try again.
The server isn't listed in Claude
Confirm autocad-mcp runs from your terminal. If the command isn't found, pip install -e . didn't finish — run it again and watch for errors.
Errors are logged to autocad_mcp.log in the folder the server started from.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
- OwlCADOAuthcom.owlcad
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Convert Revit files to XKT, IFC, or DWG and query BIM data via natural language.
Draw buildings as DXF, IFC and 3D, plus exact French rent and charges calculations.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with AutoCAD through Python automation to draw geometric shapes like lines, circles, and polylines in real-time. It facilitates direct control of a running AutoCAD instance on Windows for basic geometric element creation.5MIT
- AlicenseNot gradedqualityDmaintenanceConnects Claude to a running Autodesk Civil 3D instance via COM automation to perform drawing, surface, alignment, COGO point, line, and corridor operations.7MIT
- AlicenseNot gradedqualityDmaintenanceEnables programmatic control of AutoCAD through COM automation, allowing natural language commands to create structures, manage layers, and manipulate entities via MCP clients like Claude.63Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables natural language control of AutoCAD drawings via LLMs like Claude, supporting drawing, layer management, and SQLite-backed entity analysis.-