autocad-mcp

MCP.Pizza Chef: puran-water

Describe what you want drawn and it appears in AutoCAD LT: lines, circles, hatching, layers, dimensions, text, and standard piping symbols. It can also plot to PDF, export DXF files, and undo mistakes. An offline mode builds drawing files on any computer even without AutoCAD installed, while the live mode needs Windows and AutoCAD LT 2024 or newer. No paid account or key is involved, but installation means running commands and loading a helper file inside AutoCAD.

Files/PDF
Images/Design

Use This MCP server To

Draw a floor plan from a written description Add dimensions and text labels to an existing drawing Lay out a piping diagram using standard valve and pump symbols Export my drawing to PDF or DXF without hunting through menus Rename, freeze, and reorganize the layers in a messy drawing Capture a picture of the current view to check my work

README

AutoCAD MCP Server

MCP server for AutoCAD LT automation and headless DXF generation.

Two backends, one API:

Backend Runtime Requires AutoCAD? Screenshot
File IPC Windows Python Yes — AutoCAD LT 2024+ (Windows) Win32 PrintWindow
ezdxf Any platform No (headless) matplotlib render

The server exposes 8 consolidated tools (drawing, entity, layer, block, annotation, pid, view, system) over the MCP stdio transport. An MCP client (Claude Desktop, Claude Code, etc.) connects and drives AutoCAD through natural-language requests.

Prerequisites (File IPC backend)

  • Windows 10/11 (the File IPC backend uses Win32 APIs for focus-free window messaging)
  • AutoCAD LT 2024 or newer — AutoLISP support was added in LT 2024 for Windows. AutoCAD LT for Mac exists but does not support AutoLISP.
  • Python 3.10+ (Windows native — not WSL Python)
  • uv package manager (install guide)

The ezdxf headless backend works on any platform (Linux, macOS, WSL) for offline DXF generation without AutoCAD installed.

Quick Start

1. Clone and install

git clone https://github.com/puran-water/autocad-mcp.git
cd autocad-mcp
uv sync

2. Load the LISP dispatcher in AutoCAD LT

Open AutoCAD LT and load mcp_dispatch.lsp using APPLOAD:

  1. Type APPLOAD in the AutoCAD command line
  2. Browse to <repo>/lisp-code/mcp_dispatch.lsp
  3. Click Load
  4. You should see: === MCP Dispatch v3.1 loaded === and Ready for commands via (c:mcp-dispatch)

Tip: Add the file to your AutoCAD Startup Suite (in the APPLOAD dialog) so it loads automatically with every drawing.

autocad-mcp FAQ

Is this project still being maintained?
Yes. The repository is not archived and the most recent code change landed in February 2026, so it is current as of this writing.
Do I need AutoCAD installed to use it?
Not for everything. The offline mode creates and edits DXF drawing files on Windows, Mac, or Linux with no AutoCAD at all. Driving a live drawing does require AutoCAD LT 2024 or newer on Windows.
Does it work on a Mac?
Only the offline drawing mode. The live mode relies on Windows-only messaging, and AutoCAD LT for Mac lacks the scripting support this depends on.
Do I need to pay for an account or a key?
No. Everything runs on your own machine and talks to your own copy of AutoCAD. You still need an AutoCAD LT licence for the live mode.
Can I use this to build a piping and instrumentation diagram?
Yes — there are dedicated commands for valves, pumps, tanks, instruments, process lines, flow arrows, and equipment tags. The full symbol set needs a separate CAD Tools Online library installed.
Which apps does it work in?
Any assistant that supports MCP servers, including Claude Desktop and Claude Code.
How hard is setup?
Fairly involved. You download the project, run a couple of install commands, load a helper file inside AutoCAD, and paste a configuration block into your assistant's settings.