AutoCAD LT AutoLISP

v1.0.0Developer Toolsstable

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-

autocad-lt-autolisp-mcp-servermcpai-integration
Share:
272
Stars
0
Downloads
0
Weekly
0/5

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

Execute AutoLISP code directly in AutoCAD LT via MCP.
Perform automated 3D modeling and component manipulation.
Control AutoCAD design workflows programmatically.
puran-water

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx autocad-lt-autolisp-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 sync
2

Load 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 Close
3

Create 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:\temp
4

Configure 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.0
5

Add 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"
      }
    }
  }
}
6

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 mode

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

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.

Quick Config Preview

{ "mcpServers": { "autocad-lt-autolisp-mcp-server": { "command": "npx", "args": ["-y", "autocad-lt-autolisp-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides