Skip to content
Tresca

AutoCAD MCP Server

MCP serverCommunity

Drives AutoCAD LT 2024+ on Windows through an AutoLISP dispatcher, with a headless ezdxf mode that writes DXF without AutoCAD. By Puran Water.

630 starsUpdated 2 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
AutoCAD LT 2024 or newer on Windows for the live backend (revision tools exercised in LT 2027); the ezdxf backend needs no AutoCAD
Operating systems
Windows
Needs a AutoCAD licence
No
Transport
Local (stdio)
AI clients documented
Claude Desktop, Claude Code
Licence
MIT
Language
Python

What it can do

  • Groups its functions into eight tools (drawing, entity, layer, block, annotation, P&ID, view, system) that work the same on either backend.
  • Runs any AutoLISP expression you pass it through an execute_lisp operation, so the agent isn't limited to the built-in commands.
  • Sends commands to AutoCAD without stealing window focus and returns screenshots even when AutoCAD is minimised.
  • Applies journaled revision batches to an existing DWG (layer renames, colour and lineweight patches, revision clouds, block attribute updates) and records before and after values.
  • Places P&ID symbols from the CAD Tools Online library and draws process lines, tags and line numbers.

Limitations

  • The live backend needs Windows and AutoCAD LT 2024 or later; LT for Mac has no AutoLISP, and the README documents LT rather than full AutoCAD.
  • You load mcp_dispatch.lsp into AutoCAD with APPLOAD (or the Startup Suite) before the server can reach it.
  • P&ID symbol tools need the separately licensed CAD Tools Online symbol library; offset, fillet and chamfer are not available headlessly.
  • Revision journals are a record, not automatic rollback; the author advises working on a copy and checking screenshots after every batch.

Install

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

Source: github.com/puran-water/autocad-mcp#1-clone-and-install

MCP 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.