AUTOCADSS
Automates AutoCAD drawings, either in a live Windows AutoCAD session via a bundled AutoLISP dispatch or headless through ezdxf/DXF. Exposes tools for creating and opening drawings, saving and plotting to PDF, and creating/editing entities (lines, circles, polylines, rectangles, arcs, ellipses, mtext, hatches) with copy, move, rotate, scale, mirror, offset, array, fillet, chamfer and erase, plus layer management, block definition/insertion with attributes, text and dimension annotations, P&ID symbol insertion, undo/redo, zoom and screenshots, and arbitrary AutoLISP execution.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AUTOCADSS MCP
MCP server for AutoCAD automation and headless DXF generation.
Backend | Requires AutoCAD? | Screenshot |
File IPC | Yes, a running AutoCAD on Windows with an open drawing | Win32 PrintWindow |
ezdxf | No, headless | matplotlib render |
AUTOCADSS runs alongside the original autocad-mcp: the package, environment variables, IPC file names and AutoLISP command are all separate.
Install
git clone https://github.com/souhaibsmadi42/AUTOCADSS-MCP.git
cd AUTOCADSS-MCP
uv syncRelated MCP server: autocad-mcp
Connect to Claude Code
claude mcp add -s user AUTOCADSS -e AUTOCADSS_MCP_BACKEND=auto -- C:\path\to\AUTOCADSS-MCP\.venv\Scripts\python.exe -m autocadss_mcpRestart the client after adding it, then call system(operation="status").
Use with a live AutoCAD
Open AutoCAD and a drawing.
Run
APPLOADand loadlisp-code/autocadss_dispatch.lsp. Add it to the Startup Suite to load it automatically.The command line shows
=== AUTOCADSS Dispatch loaded ===.Call
system(operation="init")so the server switches to the File IPC backend.
Without a matching AutoCAD window, auto falls back to the headless ezdxf backend.
Tools
Tool | Operations |
|
|
|
|
|
|
|
|
|
|
| P&ID operations; symbol insertion needs the CAD Tools Online library at |
|
|
|
|
execute_lisp runs arbitrary AutoLISP in your AutoCAD session.
Backend limits
Operation | File IPC (live AutoCAD) | ezdxf (headless) |
| Yes | No |
| Yes | No |
| Yes | No |
| Yes | No |
| No | Yes |
| Yes | Yes |
| Needs | Yes, symbols are drawn as labelled placeholders |
P&ID on a live AutoCAD
The dispatcher calls P&ID functions from pid_tools.lsp, which is not included in this repository. Until that file is loaded in AutoCAD, every pid operation except list_symbols returns pid_tools.lsp not loaded. The attributes argument of insert_valve, insert_pump and insert_tank is not applied on this backend.
lisp-code/attribute_tools.lsp is an optional set of helper commands for use at the AutoCAD command line. The server does not need it.
Environment variables
Variable | Default | Description |
|
|
|
|
| IPC file folder. If changed, also change |
|
| Seconds to wait for one AutoCAD command (1-300) |
|
| Seconds allowed for one whole tool call |
|
| Disable screenshots |
| unset | Path of a file to write backend-detection details to, for troubleshooting |
|
| P&ID symbol library folder. Used by the ezdxf backend only; the AutoLISP files always read |
Changes from autocad-mcp v3.1
Fixed a Windows hang where the first tool call never returned: native modules now load before the stdio transport starts.
Every tool call has a time limit and returns an error instead of waiting forever.
Fixed the
devdependency declaration inpyproject.toml, which stoppeduv syncfrom installing test tools.Added a test that drives the real server over stdio.
Renamed everything so both servers can be installed together.
Development
uv sync
uv run pytest tests -qLicense
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
Read, query, edit and render DWG drawings with AI. No AutoCAD required.
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Read and edit the Revit 2024–2027 model on your PC. Needs the free Revit MCP add-in.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for full AutoCAD automation, AutoCAD LT automation, and headless DXF generation. It provides 8 consolidated tools for drawing, entity, layer, block, annotation, P&ID, view, and system operations via MCP stdio transport.1247MIT
- AlicenseAqualityDmaintenanceEnables automation of AutoCAD LT and headless DXF creation through two backends (File IPC for Windows AutoCAD LT and ezdxf for cross-platform) with tools for drawing, entity, layer, block, annotation, PID, view, and system operations.814MIT
- AlicenseAqualityDmaintenanceMCP server for AutoCAD LT automation and headless DXF generation, exposing tools for drawing, entities, layers, blocks, annotations, P&ID, and view operations via natural language.8MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables natural-language control of AutoCAD via file IPC or headless DXF generation, with tools for drawing, entities, layers, blocks, annotations, P&ID, views, and system operations.8MIT