create_new_drawingLABSCO SUMMARY
Drawing entities become records you can query.
Beyond the drawing commands, the scan-into-SQLite step is what changes the workflow: once entities are indexed you can ask SQL questions about a drawing — how many of a thing, where the text matches are — instead of clicking through it. It is Windows-only by construction, since it drives AutoCAD over COM, and it runs from a checkout rather than a package, so budget a few minutes for the virtual environment before the first call.
What it is
A Python server that drives AutoCAD through its COM interface, so drawing entities can be created and manipulated from a conversation.
What you get
- Drawing primitives created: lines, circles, rectangles, polylines and text
- Entities transformed and located: moved, copied, rotated and highlighted in the drawing
- Layers created or modified, and new drawings started
- The whole drawing scanned into an indexed set of entities, then queried with SQL against the embedded SQLite store
- Text pattern work: occurrences counted, and matches highlighted across the drawing
- PMC control diagrams generated automatically
Requirements
Windows, AutoCAD 2018 or newer with COM support, and Python 3.10+. There is no published package to launch: clone the repository, create a virtual environment, install from requirements.txt, and point your client's command at that environment's python.exe and server.py. The author states the project is not being actively maintained and welcomes co-maintainers.
Setup effort
Build from source — git clone https://github.com/zh19980811/Easy-MCP-AutoCad.git
USE CASES
Sketching geometry from a description
Create the lines, circles, rectangles and polylines directly in the open drawing rather than placing them by hand.
Auditing what is actually in a drawing
Scan every entity into the local database, then answer counting and grouping questions with a SQL query instead of a visual sweep.
Finding every place a label appears
Count the occurrences of a text pattern across the drawing, then highlight the matches so they can be checked on screen.
Repositioning parts of a drawing
Move, copy or rotate the entities you named, and highlight one when you need to confirm you have the right object.
Starting a drawing with the layers set up
Create the drawing, add the layers it should have, and place the first annotations before any geometry goes in.
15 tools
Listed in project docs. Your client may show a different list.
draw_linedraw_polylinedraw_rectangledraw_circledraw_textcreate_layermove_entityrotate_entitycopy_entityhighlight_entityhighlight_text_matchesscan_all_entitiescount_text_patternsexecute_queryBEFORE YOU INSTALL
What to know first
Tools you get
15 tools named in the project's documentation.
Requires
Python 3.10+
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone this one yourself.
Server setup
git clone https://github.com/zh19980811/Easy-MCP-AutoCad.git
cd Easy-MCP-AutoCad
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txtEdit %APPDATA%\Claude\claude_desktop_config.json and add the mcpServers block below
MCP Clients
Any MCP client
{
"mcpServers": {
"easy-autocad": {
"command": "<YOUR_PATH_TO_PROJECT>/.venv/Scripts/python.exe",
"args": [
"<YOUR_PATH_TO_PROJECT>/server.py"
]
}
}
}