autocad-mcp

autocad-mcp

50

The AutoCAD LT AutoLISP MCP Server enables natural language-driven control over AutoCAD LT, leveraging AutoLISP for generating and executing commands. It facilitates seamless interaction between conversational prompt tools and CAD software, enhancing drawing creation capabilities.

AutoCAD LT AutoLISP MCP Server

Overview

This project provides an MCP server that facilitates natural language control of AutoCAD LT 2024/2025 through AutoLISP code generation and execution. It allows integration with Claude or other LLM clients to create engineering drawings using conversational prompts.

Features

  • Generates and executes AutoLISP code in AutoCAD LT
  • Creates shapes, manages blocks, and layers
  • Provides tools for drawing operations and entity manipulation
  • Text-to-CAD functionality via natural language

Prerequisites

  • AutoCAD LT 2024 or newer
  • Python 3.10+
  • Claude Desktop or MCP client

Setup and Usage

Install dependencies, configure the client, start AutoCAD LT, and run the server. Tools available include creating lines, circles, text, blocks, and layers.

Limitations

  • Requires newer AutoCAD LT with AutoLISP support
  • Limited to 2D operations
  • Commands rely on window focus and keyboard simulation

Troubleshooting

Refer to the TROUBLESHOOTING.md for solutions to common issues.

License

MIT License

Contributing

Contributions via Pull Requests are welcome.