AutoCAD LT AutoLISP
MCP server for AutoCAD LT v3.1: freehand AutoLISP execution, 8 consolidated tools, File IPC + ezdxf backends, focus-free dispatch, undo/redo, P&ID symbols, and robust IPC with ESC prefix and UTF-8 fallback. Companion agent skill: puran-water/autocad-
What is AutoCAD LT AutoLISP?
AutoCAD LT AutoLISP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for autocad lt v3.1: freehand autolisp execution, 8 consolidated tools, file ipc + ezdxf backends, focus-free dispatch, undo/redo, p&id symbols, and robust ipc with esc prefix and utf-8 fal...
MCP server for AutoCAD LT v3.1: freehand AutoLISP execution, 8 consolidated tools, File IPC + ezdxf backends, focus-free dispatch, undo/redo, P&ID symbols, and robust IPC with ESC prefix and UTF-8 fallback. Companion agent skill: puran-water/autocad-
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server for AutoCAD LT v3.1: freehand AutoLISP execution,
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx autocad-lt-autolisp-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use AutoCAD LT AutoLISP
The AutoCAD LT AutoLISP MCP Server (v3.1) bridges AI assistants with AutoCAD LT by exposing eight consolidated tools covering drawing, entity, layer, block, annotation, P&ID, view, and system operations. It uses a File IPC mechanism—where AutoLISP scripts in AutoCAD watch a temp directory for JSON commands—so no COM or ActiveX automation is required, making it compatible with AutoCAD LT which lacks full API access. A secondary ezdxf backend enables headless DXF manipulation without AutoCAD running at all, giving developers a flexible solution for automating CAD workflows through natural language.
Prerequisites
- AutoCAD LT (any recent version) running on Windows (for the File IPC backend)
- Python 3.10+ and uv package manager installed
- Git to clone the repository
- The mcp_dispatch.lsp file loaded in AutoCAD LT via the APPLOAD command
- An MCP-compatible client such as Claude Desktop
Clone the repository and install dependencies
Clone the autocad-mcp repository and install Python dependencies using uv.
git clone https://github.com/puran-water/autocad-mcp.git
cd autocad-mcp
uv syncLoad the AutoLISP dispatch script in AutoCAD LT
Open AutoCAD LT and use the APPLOAD command to load mcp_dispatch.lsp from the cloned repository. This script watches C:/temp for incoming MCP commands.
# In AutoCAD LT command line:
APPLOAD
# Navigate to: autocad-mcp/mcp_dispatch.lsp
# Click Load, then CloseCreate the IPC temp directory
Create the C:/temp directory if it does not exist—this is where the File IPC backend exchanges commands and results between Python and AutoCAD.
mkdir C:\tempConfigure environment variables
Set the backend mode and IPC directory. Use AUTOCAD_MCP_BACKEND=auto to let the server detect whether AutoCAD is running and fall back to ezdxf automatically.
# Windows environment or set in MCP config env block:
AUTOCAD_MCP_BACKEND=auto
AUTOCAD_MCP_IPC_DIR=C:/temp
AUTOCAD_MCP_IPC_TIMEOUT=10.0Add to your MCP client configuration
Add the server to claude_desktop_config.json pointing at the Python interpreter in the uv virtual environment.
{
"mcpServers": {
"autocad-mcp": {
"command": "C:\\path\\to\\autocad-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "autocad_mcp"],
"env": {
"AUTOCAD_MCP_BACKEND": "auto",
"AUTOCAD_MCP_IPC_DIR": "C:/temp",
"AUTOCAD_MCP_IPC_TIMEOUT": "10.0"
}
}
}
}Verify the connection
Use the system tool to check the active backend and confirm AutoCAD LT is detected.
# In your MCP client, invoke the system tool:
# operation: "status"
# Expected response: {"backend": "file_ipc"} when AutoCAD is running
# or {"backend": "ezdxf"} in headless modeAutoCAD LT AutoLISP Examples
Client configuration
Complete claude_desktop_config.json entry for the AutoCAD LT MCP server with File IPC backend.
{
"mcpServers": {
"autocad-mcp": {
"command": "C:\\Users\\you\\autocad-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "autocad_mcp"],
"env": {
"AUTOCAD_MCP_BACKEND": "auto",
"AUTOCAD_MCP_IPC_DIR": "C:/temp",
"AUTOCAD_MCP_IPC_TIMEOUT": "15.0",
"AUTOCAD_MCP_ONLY_TEXT": "false"
}
}
}
}Prompts to try
Example prompts for driving AutoCAD LT through natural language via the MCP server.
- "Draw a circle at coordinates 100,100 with radius 50 on layer WALLS"
- "Create a new layer called PIPES with color red and make it current"
- "Add a linear dimension between points (0,0) and (200,0) with text offset 15"
- "Save the current drawing to C:/projects/site-plan.dwg"
- "Insert a pump P&ID symbol at position 300,200 with tag PUMP-01"
- "Export the current drawing as a DXF file for transfer"Troubleshooting AutoCAD LT AutoLISP
Commands time out with IPC timeout errors
Ensure mcp_dispatch.lsp is loaded in AutoCAD LT and actively listening. Re-run APPLOAD to reload the LISP file if AutoCAD was restarted. Increase AUTOCAD_MCP_IPC_TIMEOUT if your machine is slow. Check that C:/temp exists and is writable.
Server always uses ezdxf backend even when AutoCAD is running
The auto-detection checks for the IPC directory and running AutoCAD process. Ensure AUTOCAD_MCP_IPC_DIR matches the directory the LISP script monitors (default C:/temp). Reload mcp_dispatch.lsp in AutoCAD and set AUTOCAD_MCP_BACKEND=file_ipc explicitly to force the IPC backend.
P&ID tools return errors about missing CTO library
P&ID symbol insertion requires the CTO (Control Technology Objects) symbol library to be installed in AutoCAD LT. Install the library and confirm the symbols are accessible via the AutoCAD tool palettes before using the pid tool.
Frequently Asked Questions about AutoCAD LT AutoLISP
What is AutoCAD LT AutoLISP?
AutoCAD LT AutoLISP is a Model Context Protocol (MCP) server that mcp server for autocad lt v3.1: freehand autolisp execution, 8 consolidated tools, file ipc + ezdxf backends, focus-free dispatch, undo/redo, p&id symbols, and robust ipc with esc prefix and utf-8 fallback. companion agent skill: puran-water/autocad- It connects AI assistants to external tools and data sources through a standardized interface.
How do I install AutoCAD LT AutoLISP?
Follow the installation instructions on the AutoCAD LT AutoLISP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with AutoCAD LT AutoLISP?
AutoCAD LT AutoLISP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is AutoCAD LT AutoLISP free to use?
Yes, AutoCAD LT AutoLISP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
AutoCAD LT AutoLISP Alternatives — Similar Developer Tools Servers
Looking for alternatives to AutoCAD LT AutoLISP? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up AutoCAD LT AutoLISP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use AutoCAD LT AutoLISP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.