AutoCAD MCP for Claude Code and Claude Desktop
autocad-mcp
An MCP server for AutoCAD LT: the agent draws and edits drawings through AutoLISP, and without AutoCAD writes DXF files
Install in Claude Code, Claude Desktop and SourceCraft
Manual install
{
"command": "C:\\path\\to\\autocad-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "autocad_mcp"],
"env": {"AUTOCAD_MCP_BACKEND": "auto"}
}First clone the repository and run uv sync. Load mcp_dispatch.lsp into AutoCAD LT with APPLOAD.
Access and checks
How we reviewBroad access. The tool can change data, run commands or handle secrets.
- Runs AutoLISP inside an open AutoCAD LT
- Creates and changes objects in your drawing
- Exchange goes through files in the C:/temp folder
This is third-party code. Review the repository files before installing.
What it does
The server works in two modes. File IPC drives a live AutoCAD LT 2024 or newer on Windows 10 and 11 through AutoLISP. Headless ezdxf needs no AutoCAD, runs on any system and writes DXF files. There are eight consolidated tools: drawing, entity, layer, block, annotation, pid (P&ID diagrams), view and system. Exchange with AutoCAD goes through JSON files in the C:/temp folder. The AUTOCAD_MCP_BACKEND variable sets the mode: auto, file_ipc or ezdxf.
Who it is for. For engineers and drafters who work in AutoCAD LT or prepare DXF and want to give an agent layers, blocks, annotations and diagrams.
Good fit when
- You need to build a drawing or a P&ID diagram from a description
- You need to sort objects into layers and add annotations
- You need a DXF file without AutoCAD installed
Not a fit when
- You need work with full AutoCAD through COM: this server uses File IPC and AutoLISP
- You are not ready to let an agent run AutoLISP in your drawing
Example request
Create layers for walls, axes and dimensions and draw a 6 by 4 meter rectangular room with dimension linesMCP
- Transport
- stdio
- Authentication
- not required
Keys and settings
AUTOCAD_MCP_BACKEND- Server mode: auto, file_ipc or ezdxf
Limitations
In File IPC mode the server runs AutoLISP in an open AutoCAD LT, so work on a copy of the drawing. Windows 10 or 11, an installed licensed AutoCAD LT 2024 or newer, Python 3.10 or newer for Windows (not WSL) and the uv manager are required. The mcp_dispatch.lsp file has to be loaded into AutoCAD by hand with APPLOAD. There is no PyPI package: install from the repository sources. P&ID symbols need the CTO library in the C:\PIDv4-CTO\ folder.
How to disable. Remove the AutoCAD server entry from the client config and unload mcp_dispatch.lsp from AutoCAD. The exchange files in C:/temp can be deleted.
FAQ
Do I need AutoCAD?
No, if you choose the ezdxf mode: the server writes DXF files itself. Controlling a live drawing needs AutoCAD LT 2024 or newer on Windows.
Is there a PyPI package?
No. Per the README you install from the repository sources: clone and run uv sync.
What does AUTOCAD_MCP_BACKEND mean?
The server mode: auto chooses itself, file_ipc drives AutoCAD LT through AutoLISP, ezdxf works without AutoCAD and writes DXF.
How is it different from AutoCAD MCP Pro?
This server works with AutoCAD LT through AutoLISP and has eight consolidated tools, while Pro uses COM, a PyPI package and hundreds of tools.
Which agents does AutoCAD MCP work with?
AutoCAD MCP works in Claude Code, Claude Desktop, SourceCraft, Koda and Coddy.
Does AutoCAD MCP need an API key?
No keys are required. Optional variables: AUTOCAD_MCP_BACKEND.
Discussion
No questions or reviews yet.
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| AutoCAD MCP (this card) | no | not required | 707 | |
| AutoCAD MCP Pro | no | not required | 403 | 247 tools, a live AutoCAD through COM or DXF without the program |
| CAD-MCP Server | no | not required | 747 | one server for AutoCAD, GstarCAD and ZWCAD |
| Revit MCP | no | not required | 470 | a BIM building model in Revit |
README in short
The README describes a server with two modes, File IPC for AutoCAD LT and headless ezdxf for DXF, and eight consolidated tools. It gives installation steps with uv, loading mcp_dispatch.lsp and the client configuration. MIT license.