Best for
- Engineers and designers needing to automate AutoCAD LT (Windows)
- Developers who want to generate DXF without AutoCAD
- Process industry applications integrating with CTO P&ID symbol library
This server provides a powerful MCP interface for AutoCAD LT with dual backends for flexibility. It supports rich entity operations, P&ID symbols, and arbitrary AutoLISP execution, offering high extensibility. However, it relies on Windows environment and AutoCAD LT's limitations.
An MCP server for automating AutoCAD LT and generating DXF headlessly. It provides two backends: File IPC (requires AutoCAD LT 2024+ on Windows) and ezdxf (cross-platform, headless). The server exposes 8 consolidated tools (drawing, entity, layer, block, annotation, pid, view, system) over stdio transport. It supports freehand AutoLISP execution, focus-free dispatch, undo/redo, P&ID symbols, and robust IPC with ESC prefix and UTF-8 fallback.
Clone the repository: git clone https://github.com/puran-water/autocad-mcp.git, then cd autocad-mcp and run uv sync. In AutoCAD LT, open and load <repo>/lisp-code/mcp_dispatch.lsp using APPLOAD (optionally add to Startup Suite). Configure your MCP client (e.g., Claude Desktop) with the mcpServers configuration pointing to the venv's python.exe and set AUTOCAD_MCP_BACKEND to auto (or file_ipc/ezdxf). If your client runs in WSL, launch via cmd.exe. Verify by calling system(operation="status").
{
"mcpServers": {
"autocad-mcp": {
"command": "C:\\path\\to\\autocad-mcp\\.venv\\Scripts\\python.exe",
"args": [
"-m",
"autocad_mcp"
],
"env": {
"AUTOCAD_MCP_BACKEND": "auto"
}
}
}
}