Skip to main content
Glama
ShimmyCAD MCP

ShimmyCAD MCP

by ShimmyCane

ShimmyCAD MCP

Drive a running AutoCAD from Claude, in plain words: draw, edit, annotate, manage blocks and xrefs, set up sheets and plot PDFs.

How-to page · Releases · User guide · Public skills · Security · MIT license

Status: version 0.2.1, experimental. 99 tools; 283 unit tests pass without AutoCAD. Many tools have run in live AutoCAD and some have not: check the tool guide before relying on one. Windows only, imperial units.

Contents

  1. Purpose

  2. Quick start

  3. How it works

  4. Running the MCP Guide

  5. Troubleshooting

  6. Tools

  7. Safety and limits

  8. Schematic

  9. Version

Related MCP server: autocad-mcp

1. Purpose

ShimmyCAD MCP is a companion for drafters, not a replacement. It explores how a drafter can hand the harder and more annoying CAD tasks to an AI model, while the drafter keeps control of the drawing and makes the design decisions.

Every capability should answer two questions: what annoying task does this remove, and how does the drafter check the result (dimensions, layers, sheet output)?

Walls, doors and windows are out of scope.

2. Quick start

Only want to use it? Download version 0.2.1 (experimental), then follow the user guide. See Releases. The steps below install from source.

For a Windows PC.

Install these first:

Then:

  1. Download or clone this repository into the folder where it will stay.

  2. Double-click quick_start.bat. For AutoCAD 2026, run quick_start.bat 2026 from a terminal.

    The script

    When

    Creates .venv and installs the server

    First run, or if .venv points at another folder

    Builds ShimmyBridge.dll

    If it is not built yet

    Registers the server with Claude Code

    If not registered. It asks before changing an existing registration.

    Opens AutoCAD, loads the DLL (NETLOAD) and runs SHIMMYSTART

    Every run, if AutoCAD is closed

  3. If AutoCAD asks about loading the DLL, allow it. Wait for the bridge port message.

  4. Open a test drawing, or ask Claude for a new one.

  5. In Claude, ask: "Run acad_ping and acad_status." You should see your AutoCAD version and the active drawing.

  6. Try: "On a new layer called TEST, draw a 10 ft by 8 ft rectangle and dimension one side."

To see what the script would do without changing anything, run quick_start.bat check.

The first-run path has been tested only in check mode on the development PC. It has not yet been run on a clean machine.

Claude Code (the script does this). By hand, from the project folder in PowerShell:

claude mcp add --scope user shimmy-acad2027 -- "$PWD\.venv\Scripts\python.exe" -m shimmy_acad
claude mcp list

Claude Desktop (by hand). Open Settings > Developer > Edit Config, add the following, replace C:\\path\\to\\ShimmyCAD-MCP with your folder, then fully quit and reopen Claude Desktop:

{
  "mcpServers": {
    "shimmy-acad2027": {
      "command": "C:\\path\\to\\ShimmyCAD-MCP\\.venv\\Scripts\\python.exe",
      "args": ["-m", "shimmy_acad"]
    }
  }
}

The server keeps the name shimmy-acad2027 for both AutoCAD years.

Every session after that

  1. Open AutoCAD.

  2. Type NETLOAD and pick plugin\ShimmyBridge\bin\Release\net10.0-windows\ShimmyBridge.dll (Release-2026 for AutoCAD 2026). Once per AutoCAD session.

  3. Type SHIMMYSTART.

(quick_start.bat also does this when AutoCAD is closed.)

After changing the plugin code

Save your drawings, then run tools\reload_cad_2027.bat or tools\reload_cad_2026.bat. The script closes that year's AutoCAD, builds for that year, and reopens it with the bridge started. Add buildonly to build without touching AutoCAD.

3. How it works

Claude Code / Claude Desktop
        |  MCP over stdio
        v
Python server (server/shimmy_acad)    input and path checks
        |  JSON over 127.0.0.1, random port and token
        v
ShimmyBridge.dll, inside AutoCAD      AutoCAD .NET API
        |
        v
Your active drawing
  1. Claude reads your request and picks tools. MCP (Model Context Protocol) is the standard that lets it call them. See MCP in Claude Code or local servers in Claude Desktop.

  2. The Python server is built on the MCP Python SDK. It checks input before anything reaches AutoCAD.

  3. The bridge starts only when SHIMMYSTART runs. It writes its port and token to %LOCALAPPDATA%\ShimmyACAD2027\bridge.json.

  4. The plugin is written in C# with the AutoCAD .NET API. It queues each request and runs it on AutoCAD's main thread when AutoCAD is idle, so an open dialog or a running command can hold it up.

AutoCAD commands

Command

What it does

NETLOAD

AutoCAD's own command to load a .NET DLL. Search "NETLOAD" in AutoCAD Help.

SHIMMYSTART

Start the bridge

SHIMMYSTATUS

Show whether the bridge is running, and its port

SHIMMYSTOP

Stop the bridge

Requirements

Item

Requirement

Notes

Operating system

Windows

AutoCAD

2026 or 2027

One source, one build per year. The current guide work was live-tested on 2026; the v0.1 live suite ran on 2027.

.NET

10 SDK

To build the plugin

Python

3.10+, 64-bit

Python packages

mcp 2.x; pymupdf for the guide (included in the download setup). Optional: pytest; matplotlib for review sheets

See pyproject.toml. PyMuPDF has its own licence.

Claude

Claude Code or Claude Desktop

A Claude account is required

Allowed folders

The project folder is always allowed. To allow more folders without a confirmation, set SHIMMY_ALLOWED_ROOTS (separate several with ;).

  • Claude Desktop: add "env": { "SHIMMY_ALLOWED_ROOTS": "C:\\CAD\\Test Drawings" } to the server entry.

  • Claude Code: remove the server, then add it again with -e:

claude mcp remove shimmy-acad2027 -s user
claude mcp add --scope user shimmy-acad2027 -e "SHIMMY_ALLOWED_ROOTS=C:\CAD\Test Drawings" -- "$PWD\.venv\Scripts\python.exe" -m shimmy_acad

Manual build and tests

py -3 -m venv .venv
.venv\Scripts\python.exe -m pip install -e ".[test,guide]"
dotnet build plugin\ShimmyBridge\ShimmyBridge.csproj -c Release                      # AutoCAD 2027
dotnet build plugin\ShimmyBridge\ShimmyBridge.csproj -c Release -p:AcadYear=2026     # AutoCAD 2026
.venv\Scripts\python.exe -m pytest -q                                                # no AutoCAD needed

These need AutoCAD with the bridge running. They draw in the active drawing, so open a scratch drawing first:

  • tests\probe.py methods lists bridge methods; tests\probe.py call <method> "{json}" sends one.

  • tests\live_suite_2027.py runs the older live suite.

Logs

%LOCALAPPDATA%\ShimmyACAD2027\logs\ holds server.log and bridge.log. Server logging is verbose by default; set SHIMMY_LOG_LEVEL=INFO to reduce it. acad_diagnostics reports all file locations.

4. Running the MCP Guide

The SHIMMYCAD MCP GUIDE is a set of AutoCAD sheets (42 x 30 in) that the MCP draws about itself: tool samples, status labels and version notes. It is also a broad end-to-end exercise of the tools. Guide development has ended; the builder remains available.

The easy way: ask Claude to Run mcp-guide. It asks first, builds in the background (a few minutes), and names the PDF. This works with the download too. See the user guide.

The rest of this section runs the same builder by hand from the source.

Before you run it

  • Install the guide extra (the quick start does this).

  • Start AutoCAD with the bridge running.

  • Save your work, and do not click in AutoCAD or switch drawings during the build. The builder makes its own drawing.

Run it from the project folder:

.venv\Scripts\python.exe tools\make_guide_dwg_v4.py            # next unused label
.venv\Scripts\python.exe tools\make_guide_dwg_v4.py V3.10      # a specific unused label

Or double-click tools\generate_guide_v4.bat.

What you get

Output

Location

Guide drawing and PDF

Test\YYMMDD\SHIMMYCAD_MCP_GUIDE_<label>.dwg and .pdf

Checkpoint drawings

Test\YYMMDD\scratch\

Run note (stages, warnings, errors)

%LOCALAPPDATA%\ShimmyACAD2027\runs\

The builder never reuses a label. Cell 045 is filled in on each build: time, AutoCAD version, plugin and server versions, tool count and output file name. To record the AI model or conversation there, set SHIMMY_AI_MODEL or SHIMMY_AI_CONVERSATION first. Never put personal details in them, because the guide is published.

The published copy is Template/MCP Guide - Latest.pdf. After you replace it, run .venv\Scripts\python.exe tools\make_previews.py to refresh the web page images, and check the PDF for personal details.

After a build, check the PDF by eye. The status words on the sheets come from tools/guide_cells.py and tools/guide_review.json; they are set by review and are not measured by the build. Edit the sheet text in guide_cells.py. See the tools schematic.

The builder has not been tried on a fresh clone, where the Test folder does not exist yet.

There is also a public guide-building skill.

5. Troubleshooting

Quick checks: quick_start.bat check, then SHIMMYSTATUS in AutoCAD, then /mcp in Claude Code.

IF

THEN

"AutoCAD bridge is not running"

Load the plugin and type SHIMMYSTART

"AutoCAD did not respond in time"

Close any open dialog; check the drawing before retrying

Claude shows no acad_* tools

Check claude mcp list, then restart Claude

You moved the project folder

Run quick_start.bat and let it repoint the setup

Full guide: docs/TROUBLESHOOTING.md

6. Tools

Group

Covers

Connection and files

Status, diagnostics, new, open, save, close, switch drawings

Layers and properties

Layers, linetypes, no-plot, match properties, transparency

Draw

Lines, polylines, circles, arcs, splines, hatch, revision cloud

Edit

Move, copy, rotate, scale, mirror, erase, offset, array, trim, extend, break, fillet, chamfer

Annotate

Text, MText, find and replace, dimensions, leaders, tables

Query and select

Geometry readback, counts, extents, property selection

Blocks

Create, insert, redefine, attributes, library import

Xrefs and underlays

Attach, reload, detach, bind, images, PDF

Sheets and output

Layouts, viewports, paper-space text, page setups, PDF plot

Raw command

acad_send_command, off by default

Every tool, its live-test status and the to-dos: docs/TOOLS.md

7. Safety and limits

This software changes real drawings. Work on copies, keep backups, and check every result. There is no undo tool.

Protections in the code

  • Local only. The bridge listens on 127.0.0.1, on a random port, and requires a new random token each run. It runs only after SHIMMYSTART.

  • Input checks. Many values, such as names, points, colours, lineweights and sizes, are checked before they reach AutoCAD.

  • Folder rules. Opening, saving to a new path, reading another drawing's blocks, PDF output and attaching files need confirm_outside_root outside the allowed folders. Xref, image and PDF attach allow only the project folder without it.

  • Confirm flags. Required to erase an object, close without saving, erase originals when making a block or revision cloud, redefine a block, bind or detach an xref, start the guide build, and send a raw command.

What is not protected

  • Claude sets the confirm flags itself. The tools tell it to ask you first, but the code cannot know that it did. Your real control is Claude's tool permission prompt: do not auto-approve destructive tools.

  • Many edits need no confirm flag: trim, extend, break, fillet, chamfer, move, find and replace (across all layouts by default), layer changes, block attributes and page setups.

  • Saving has no folder check. acad_save, and acad_close with save=true, overwrite the drawing's current file wherever it is.

  • One review-sheet input is unchecked: the optional results_json file read by acad_export_sheet_pdf can be anywhere.

  • "Ask once per file" is a working rule in CLAUDE.md for development in this folder. It is not enforced by the server.

  • The token file can be read by programs running under your Windows account.

  • Drawing content goes to Claude. Anything the tools read is sent to the AI service. Check client confidentiality terms first. Treat text inside drawings you did not make as untrusted.

  • Logs record tool inputs, which can include drawing text and file paths.

SendCommand (off by default)

acad_send_command sends one line to the AutoCAD command line. It is built but turned off, and has not been live-tested.

It works only if you set SHIMMY_ALLOW_SENDCOMMAND=1 in the server's environment, in the same way as allowed folders (include every setting you want to keep). Each call also needs confirm=true, a single line of up to 200 characters.

A raw command bypasses every folder rule and confirm check above. It is queued, so the tool does not report whether AutoCAD completed it. Leave it off unless you need it.

Paper space

Paper space is supported and has been used live: layouts, viewports, view scale, paper-space text and MText, title blocks, page setups and PDF plots.

Limits:

  • Most drawing tools add to model space only.

  • Listing, counting, property selection and extents work on model space. acad_get_geometry can also read a layout.

  • There are no tools to rename or delete layouts. Plot style editing is not included.

Other limits

  • Windows only; AutoCAD LT is not supported.

  • Imperial drawing units are assumed; nothing is converted.

  • PDF underlays show the first page only. Images cannot be clipped.

  • Associative hatch does not reliably follow a moved boundary.

  • Sheet sets, dynamic block parameters, 3D solids, gradient hatch and xref unload are not supported.

  • The plugin is not set to load automatically: NETLOAD it once in each AutoCAD session.

8. Schematic

Scope, design decisions, the repository layout and a breakdown of the files: schematic.md

9. Version

Current package version: 0.2.1. History: CHANGELOG.md · Open work: todo.md

License

MIT. Dependencies keep their own licenses; note that PyMuPDF (used by the guide build; the download fetches it on first run) is offered under AGPL or a commercial license.


AutoCAD is a trademark of Autodesk, Inc. Claude is a trademark of Anthropic. This project is not affiliated with or endorsed by either company.

Available Tools

99 tools
acad_activate_drawingA

Make an open drawing the active one, by its file name (for example 'Drawing14.dwg'). Use it before acting on a drawing that is open but not active.

Inputs: name (required). Returns: object

acad_add_arcA

Add a true arc (an ARC entity) counter-clockwise from start_deg to end_deg, in degrees (0 is +X). Less than a full turn; use acad_add_circle for a full circle. Arcs can be trimmed with acad_trim_arc.

Inputs: center (required), radius (required), end_deg (required), start_deg (required), +2 more. Returns: object

acad_add_arrayA

Rectangular array of one entity: rows x cols copies, dx apart across and dy apart up. The original stays at its place (row 0, column 0). Built from acad_transform copies, so it is at most 500 copies.

Inputs: dx (required), dy (required), cols (required), rows (required), +1 more. Returns: object

acad_add_associative_hatchB

Hatch a closed boundary with an associative hatch: the hatch follows its boundary when the boundary moves. pattern: SOLID or an AutoCAD pattern name such as ANSI31. island_handles: optional closed boundaries inside the outer one that stay unhatched (islands).

Inputs: boundary_handle (required), layer, scale, pattern, +2 more. Returns: object

acad_add_circleB

Add a circle in model space. center = [x, y]; radius in drawing units (inches). Returns its handle.

Inputs: center (required), radius (required), layer, color_index. Returns: object

acad_add_diameter_dimensionC

Diameter dimension ("Ø...") on a circle or arc, by its handle. leader_in is the leader length in inches.

Inputs: handle (required), layer, leader_in. Returns: object

acad_add_hatchB

Hatch a closed polyline (give its handle). pattern: SOLID or an AutoCAD pattern name such as ANSI31. Associative hatch is not supported yet.

Inputs: boundary_handle (required), layer, scale, pattern, +2 more. Returns: object

acad_add_lineA

Add a line in model space. start and end are [x, y] or [x, y, z] in drawing units (inches). Returns the new entity's handle, which markups and dimensions use.

Inputs: end (required), start (required), layer, color_index. Returns: object

acad_add_markupA

Mark up the drawing. Markups default to red (colour 1).

kind='dimension': measure a LINE by its handle (target_handle). AutoCAD measures it; offset_in moves the dimension line away from the line (default 1 in). kind='label': text at point. kind='leader': arrow from start (tip, on the linework) to end (text at end), with text. height_in: text height in inches (default 0.25).

Inputs: kind (required), end, text, layer, +6 more. Returns: object

acad_add_mtextA

Add multi-line text (MTEXT) to model space, or to a layout's paper space when layout is given. point = [x, y] (top left), text up to 2000 characters. Put a new line with \P in the text. height and width in inches. style must exist in the drawing, for example "Annotative" for the template text. Returns the entity handle.

Inputs: text (required), point (required), layer, style, +4 more. Returns: object

acad_add_polyarcA

Add an arc drawn as a polyline (a polyarc). Counter-clockwise from start_deg to end_deg, in degrees, 0 is to the right (+X). Less than a full turn; use acad_add_circle for a full circle.

Inputs: center (required), radius (required), end_deg (required), start_deg (required), +2 more. Returns: object

acad_add_polylineB

Add a 2D polyline. vertices: [[x, y], ...] or [[x, y, bulge], ...]. A bulge other than 0 makes an arc to the next vertex (bulge = tan(angle/4)). closed=true joins the last vertex to the first. width_in: constant width along the whole polyline (0 to 100 in). Omit for a hairline.

Inputs: vertices (required), layer, closed, width_in, +1 more. Returns: object

acad_add_radial_dimensionB

Radius dimension ("R...") on a circle or arc, by its handle. leader_in is the leader length in inches.

Inputs: handle (required), layer, leader_in. Returns: object

acad_add_rotated_dimensionB

Angled (rotated) linear dimension between p1 and p2, with the dimension line through dim_point. angle_deg is the direction of the dimension line, counter-clockwise from the X axis.

Inputs: p1 (required), p2 (required), dim_point (required), layer, +1 more. Returns: object

acad_add_sheet_outlineA

Draw a no-plot sheet outline in model space: a rectangle the size of a sheet, with its name above it.

Use one per sheet so each sheet has its own area in model space. Put sheets side by side: for sheet n (from 0), x_in = n * (width_in + 6). y_in is the bottom edge. The outline is on layer SHIMMY_SHEET_OUTLINE, which does not plot. Default size 36 x 24 in (landscape).

Inputs: name (required), x_in (required), y_in (required), width_in, +1 more. Returns: object

acad_add_sheet_textA

Put text on a layout's paper space (a title, a date, a version log). Not model space.

items: list of {"text": str, "point": [x, y] in paper inches, "height_in": float (default 0.25)}. Up to 50 items per call. The layout must exist (see acad_create_layout).

Inputs: items (required), layout (required). Returns: object

acad_add_splineA

Add a smooth spline through fit points: points = [[x, y], ...] (3 to 10000). The curve passes through each point.

Inputs: points (required), layer, color_index. Returns: object

acad_add_tableB

Draw a real AutoCAD table at point (top-left). rows and cols set the grid; values fills cells row by row. Sizes are in inches (drawing units).

Inputs: cols (required), rows (required), point (required), layer, +4 more. Returns: object

acad_add_textB

Add text (single-line) to model space. point = [x, y], text = string, height in inches. Returns the text entity handle.

Inputs: text (required), point (required), layer, style, +2 more. Returns: object

acad_add_title_blockA

Add a simple title block to a sheet: title and date at top left, version log at bottom right.

Positions are paper inches for a sheet of sheet_width_in by sheet_height_in (default 36 x 24, landscape). version_log: newest entry first, for example ["V1.09 2026-11-24 added title block"]. Up to 20 lines.

Inputs: title (required), layout (required), date, version_log, +2 more. Returns: object

acad_add_viewportB

Add a viewport to a layout. center_in and width/height are paper inches on the sheet. scale_factor = drawing units per paper inch (48 = 1/4 in = 1 ft). model_center = the drawing point to show.

Inputs: layout (required), width_in (required), center_in (required), height_in (required), +2 more. Returns: object

acad_apply_page_setupA

Copy a named page setup (made with acad_create_page_setup) onto each layout listed. Changes those layouts' plot settings; ask the user first when the layouts are not the guide sheets.

Inputs: name (required), layouts (required). Returns: object

acad_attach_imageA

Place a PNG or JPG under the drawing as an image, at point, width_in wide (height follows the picture's shape). A file outside this project folder needs confirm_outside_root=true; ask the user first.

Inputs: path (required), point (required), width_in (required), layer, +1 more. Returns: object

acad_attach_pdfB

Place a PDF under the drawing as an underlay, at point, width_in wide. The underlay shows the PDF's first page. A file outside this project folder needs confirm_outside_root=true; ask the user first.

Inputs: path (required), point (required), width_in (required), layer, +1 more. Returns: object

acad_attach_xrefB

Attach another DWG as an xref at point. The file must exist and end in .dwg. A file outside this project folder needs confirm_outside_root=true; ask the user first.

Inputs: path (required), point (required), name, layer, +1 more. Returns: object

acad_bind_xrefA

Bind an attached xref into this drawing, so it becomes a normal block. insert=true uses the insert method (names become $0$ style); the default bind keeps the names. Binding cannot be undone from the MCP: it needs confirm=true; ask the user first.

Inputs: name (required), insert, confirm. Returns: object

acad_break_lineB

Break a line: the part between point1 and point2 is removed, and the two outer parts stay as lines. Both points must lie on the line, inside its ends.

Inputs: handle (required), point1 (required), point2 (required). Returns: object

acad_build_capability_demoB

Build the MCP Guide: four 42 x 30 in landscape sheets, on layouts _1 to _4.

Sheet 1 is the drawing tools (boxes 1-9), sheet 2 annotation, text and underlays (boxes 10-18), sheet 3 layout mode (boxes 19-27), sheet 4 live module checks, model snapshot, wish list and how to use (boxes 28-31). Each sheet's drawing is in model space, one area per sheet, with a 1:1 viewport on its layout. Needs an open drawing with the bridge running. Things the MCP cannot do yet are listed in each box.

save_dwg: .dwg path to save to. plot_pdf: base .pdf path; each sheet plots to _1of4.pdf ... _4of4.pdf. version_log: up to 20 lines for the title block, newest first.

Inputs: date, layout, project, plot_pdf, +3 more. Returns: object

acad_build_mcp_guideA

mcp-guide: build the SHIMMYCAD MCP GUIDE, seven 42 x 30 in sample sheets drawn by these tools, saved as DWG and PDF. It runs in the background for a few minutes. It creates NEW drawings and takes over AutoCAD, so it needs confirm=true: first tell the user to save their work and not to click in AutoCAD during the build.

Inputs: confirm. Returns: object

acad_build_sheetA

Draw a sheet on a layout: double border, title block on the right, notes column to its left, and a main viewport for plan and details in the middle.

Paper is width_in by height_in (default 36 x 24, landscape). Use an existing layout (acad_create_layout). model_center: the drawing point the main viewport shows. scale_factor: drawing units per paper inch (48 = 1/4 in = 1 ft). notes: up to 30 short lines, numbered on the sheet. Keep each to one line that fits the notes column.

Inputs: title (required), layout (required), date, notes, +6 more. Returns: object

acad_chamfer_linesB

Chamfer the corner of two lines: each line is cut back by its distance from the corner, and a line joins the cuts.

Inputs: handle1 (required), handle2 (required), distance1 (required), distance2 (required). Returns: object

acad_change_layerA

Move an existing object to another layer, keeping the object and its handle. The layer must exist. Use this instead of erase and re-add.

Inputs: layer (required), handle (required). Returns: object

acad_change_textA

Find and replace text that is already in the drawing (single-line and multi-line text).

The text is changed in place: its position, layer, height and colour stay the same. Searches every layout, Model included, unless layout names one. Leave replace empty to delete the match. Returns how many text items changed, per layout. Example: find="OF X", replace="OF 5".

Inputs: find (required), layout, replace, match_case. Returns: object

acad_closeA

Close the active drawing. Closing without saving discards changes, so it needs confirm=true.

Ask the user before passing confirm=true.

Inputs: save, confirm. Returns: object

acad_convert_revision_cloudA

Turn a closed polyline into a revision cloud: scalloped arcs that bow OUTWARD. Draw the rectangle (or any closed shape) first with acad_add_polyline, closed=true. Works on any closed polyline, so any shape can become a cloud.

arc_length_in: length of each bump (0.05 to 20 in). bulge: depth of each bump (0.05 to 1; 0.5 default, 1 = half-circles). The source polyline is kept unless erase_source=true, which removes it and needs confirm=true (ask the user first).

Inputs: handle (required), bulge, confirm, erase_source, +1 more. Returns: object

acad_count_entitiesB

Count entities in model space, optionally by type and layer.

Inputs: layer, entity_type. Returns: object

acad_create_blockA

Define a block named name from existing objects (give their handles). base_point is the block's insertion point; the objects keep their positions in the drawing.

insert=true also places one reference at base_point (it defaults to true when erase_originals is set). erase_originals=true removes the source objects: it needs confirm=true; ask the user first.

Inputs: name (required), handles (required), base_point (required), insert, +2 more. Returns: object

acad_create_layerC

Create a layer. color_index is an AutoCAD colour (1 red, 2 yellow, 3 green, 5 blue, 7 white/black). lineweight_hundredths_mm uses AutoCAD standard values (e.g. 25 = 0.25 mm). Linetype must already be loaded.

Inputs: name (required), on, frozen, locked, +3 more. Returns: object

acad_create_layoutA

Create a layout with a paper size, set to the DWG To PDF plotter.

paper: 24x36, 30x42, letter, tabloid, or custom (then give width_in and height_in). Sizes must exist in the PDF plotter. If one does not, the error lists what is available.

Inputs: name (required), paper, width_in, height_in, +2 more. Returns: object

acad_create_page_setupA

Create a named page setup (in the drawing's page setup list): plotter, paper, landscape, 1:1, layout area, and centred or not. It does not change any layout; use acad_apply_page_setup for that. Centring is greyed out in AutoCAD for plotters with no margins (DWG To PDF at 30 x 42 in).

Inputs: name (required), paper, centred, plotter. Returns: object

acad_deselectA

Remove from a list of handles every object that matches the given properties; the others are kept. Use it after a select to take out objects you do not want.

Inputs: handles (required), type, color, layer, +2 more. Returns: object

acad_detach_xrefA

Detach an attached xref from this drawing (it is removed from the drawing, the file is not touched). Needs confirm=true; ask the user first.

Inputs: name (required), confirm. Returns: object

acad_diagnosticsA

Where everything is: server and plugin files, log files, connection file, module map, versions, and the tail of the plugin log. Use this first when something fails.

Inputs: log_lines. Returns: object

acad_entity_extentsA

Read the extents (min and max corners) of any entity by its handle. Use it to check a hatch or any object after a move: the extents move with the object.

Inputs: handle (required). Returns: object

acad_evaluate_hatchB

Re-evaluate a hatch (after its boundary moved) and report whether it is associative, how many loops it has, and its extents. Use it in the hatch follow test.

Inputs: handle (required). Returns: object

acad_export_sheet_pdfB

Render what is drawn (from AutoCAD) to an 8.5 x 11 sheet with the version log in the lower right.

Writes .pdf (or .png for a preview). The geometry comes from AutoCAD, so the sheet shows the real drawing, markups in red included. run_label names the run, e.g. V1.02. Absolute path required.

Inputs: path (required), space, title, layout, +6 more. Returns: object

acad_extend_lineA

Extend a line's nearer end until it meets another line (the boundary). The boundary must lie beyond that end.

Inputs: handle (required), boundary_handle (required). Returns: object

acad_fillet_arc_arcA

Fillet two arcs with an arc of this radius, on the side nearest keep_point. Both arcs must be real arcs.

Inputs: radius (required), keep_point (required), arc1_handle (required), arc2_handle (required). Returns: object

acad_fillet_line_arcA

Fillet a line and an arc with an arc of this radius. keep_point picks which of the possible fillets to make (the one nearest that point). Arcs only: trim a circle to an arc first.

Inputs: radius (required), arc_handle (required), keep_point (required), line_handle (required). Returns: object

acad_fillet_linesA

Fillet the corner of two lines with an arc of this radius (inches). The lines are trimmed to the arc's ends. The two lines must meet at a corner (they must not be parallel). Lines only.

Inputs: radius (required), handle1 (required), handle2 (required). Returns: object

acad_fillet_polyline_cornerA

Round one corner of a polyline: the corner vertex (0 is the first) becomes two tangent points joined by an arc of this radius. Both segments at the corner must be straight. The first and last vertex of an open polyline cannot be filleted.

Inputs: handle (required), radius (required), vertex_index (required). Returns: object

acad_get_attributesA

Read the attribute tags and text of a block reference, by its handle.

Inputs: handle (required). Returns: object

acad_get_extentsA

Bounding box of everything in model space (min and max points).

Inputs: no named parameters. Returns: object

acad_get_geometryB

Everything drawn in a space, with coordinates: lines, polylines (with bulges), circles, arcs, text, dimensions (with AutoCAD's measurement) and viewports. space is 'model' or a layout name. Use this to check results or to build a PDF.

Inputs: limit, space. Returns: object

acad_get_page_setupB

Read a layout's page setup: centred (Center the plot), plot type, paper, plotter and rotation.

Inputs: layout (required). Returns: object

acad_import_blockA

Copy one block definition from another .dwg into this drawing. The source file is only read.

If this drawing already has a block with that name, the copy is named NAME_copy01 (then _copy02, ...). Use acad_list_file_blocks to get the name. If the file is outside the allowed folders, ask the user first, then pass confirm_outside_root=true.

Inputs: path (required), block_name (required), confirm_outside_root. Returns: object

acad_insert_blockA

Insert a block that is already in the drawing (see acad_list_blocks), at a point.

rotation_deg rotates it. scale_x sets the X scale; scale_y and scale_z default to scale_x. attributes: optional {tag: text} to fill the block's attributes (see acad_list_blocks for has_attributes; use acad_get_attributes on an insert to see the tags). Unknown tags refuse the insert.

Inputs: name (required), point (required), layer, scale_x, +4 more. Returns: object

acad_layout_infoA

Report a layout's plot settings: paper size, rotation, plot origin, plot window, centring, scale and plotter.

Use this to see why a layout plots in a corner or in the wrong orientation. Read-only.

Inputs: name (required). Returns: object

acad_list_blocksA

List the blocks defined in the drawing (the block library), skipping layout records.

Inputs: no named parameters. Returns: object

acad_list_entitiesC

List entities in model space. entity_type: line, polyline, circle, arc, text, mtext, insert, hatch, dimension.

Inputs: layer, limit, entity_type. Returns: object

acad_list_file_blocksA

List the blocks in another .dwg file. Read only: the file is not opened in AutoCAD or changed.

If the file is outside the allowed folders, ask the user first, then pass confirm_outside_root=true.

Inputs: path (required), confirm_outside_root. Returns: object

acad_list_imagesA

List the pictures (raster images) in the active drawing: handle, file name, origin, width and height. Use the handle with acad_transform (move) to move a picture.

Inputs: no named parameters. Returns: object

acad_list_layersA

List all layers with colour, linetype, lineweight and on/frozen/locked state.

Inputs: no named parameters. Returns: object

acad_list_layoutsA

List layouts (paper space tabs) and the current one.

Inputs: no named parameters. Returns: object

acad_list_libraryA

List the .dwg files in the project's block library folder (library/). Read only, no AutoCAD needed.

Then use acad_list_file_blocks on one of them to see its block names.

Inputs: no named parameters. Returns: object

acad_list_open_drawingsA

List every open drawing: name, file path, whether it is the active one, and read-only.

Inputs: no named parameters. Returns: object

acad_load_linetypeA

Load a linetype from acad.lin into the drawing (for example DASHED, CENTER, HIDDEN). Needed before a layer uses it.

Inputs: name (required). Returns: object

acad_make_guideA

Make the MCP Guide PDF: every tool, what it does, and what has been checked live.

label: the next unused version, like V1.08. Written to Test/261123/MCP_Guide_.pdf. Refuses to overwrite an existing label. Does not touch AutoCAD.

Inputs: label (required). Returns: object

acad_match_propertiesB

Give each target the colour, layer, linetype, lineweight and linetype scale of the source object.

Inputs: source_handle (required), target_handles (required). Returns: object

acad_mcp_guide_statusA

How the mcp-guide build is going: running, done (with the PDF and DWG paths) or failed. Does not touch AutoCAD.

Inputs: no named parameters. Returns: object

acad_new_drawingA

Start a new blank drawing from the standard acad.dwt template (the same as QNEW). It becomes the active drawing. Use it at the start of a guide build instead of asking the user to open one.

Inputs: no named parameters. Returns: object

acad_offsetA

Offset a line, polyline, circle or arc by distance (inches). Positive and negative go to the two sides. The offset copies go to model space on the same layer. Returns their handles.

Inputs: handle (required), distance (required). Returns: object

acad_openA

Open a .dwg file. Absolute path required.

If the file is outside the allowed folders, ask the user first, then pass confirm_outside_root=true.

Inputs: path (required), confirm_outside_root. Returns: object

acad_pingA

Check that AutoCAD and the ShimmyBridge plugin respond.

Inputs: no named parameters. Returns: object

acad_plot_pdfA

Plot a layout to PDF with AutoCAD's own plot engine (DWG To PDF). Absolute .pdf path required. If the path is outside the allowed folders, ask the user first, then pass confirm_outside_root=true.

Inputs: path (required), layout (required), confirm_outside_root. Returns: object

acad_polar_arrayB

Polar array of one entity about center: count copies (the original is one of them), spread evenly over total_angle_deg (360 for a full ring). Counter-clockwise, in degrees. Built from transform copies and rotations, at most 200 items.

Inputs: count (required), center (required), handle (required), total_angle_deg. Returns: object

acad_query_propertiesB

Read one object's properties: type, layer, colour, linetype and scale, lineweight, visibility and extents.

Inputs: handle (required). Returns: object

acad_quick_selectA

Quick select: pick objects and return their handles. mode: 'window' (inside the box), 'crossing' (touching the box), 'all', or 'handles' (filter the given handles). Optional type (for example 'line') and layer filter.

Inputs: mode, type, layer, corner1, +2 more. Returns: object

acad_redefine_blockB

Replace the contents of an existing block with copies of the given objects (block attribute definitions are kept). Every insert of the block shows the new contents. Needs confirm=true; ask the user first.

Inputs: name (required), handles (required), base_point (required), confirm. Returns: object

acad_refresh_hatchA

Refresh an associative hatch from its linked boundary: its loops are rebuilt from the boundary's current shape, then the hatch is re-evaluated. Use it after the boundary moves, then check the extents with acad_entity_extents.

Inputs: handle (required). Returns: object

acad_regenA

Regenerate the drawing display (the REGEN command). Use after many erase and add calls, when the screen looks stale.

Inputs: no named parameters. Returns: object

acad_reload_xrefB

Reload an attached xref from its file, so the drawing shows the file's current contents.

Inputs: name (required). Returns: object

acad_saveA

Save the active drawing. Uses the path from the last acad_save_as, or the drawing's own .dwg path. Refuses if the drawing has no .dwg path yet (use acad_save_as).

Inputs: no named parameters. Returns: object

acad_save_asA

Save the active drawing to a new .dwg path. Absolute path required.

If the path is outside the allowed folders, ask the user first, then pass confirm_outside_root=true.

Inputs: path (required), confirm_outside_root. Returns: object

acad_select_by_propertiesB

Select every model-space object that matches all the given properties (give at least one). Returns the handles. Example: layer='G-GUIDE-DRAW-GREEN' and type='line'.

Inputs: type, color, layer, linetype, +1 more. Returns: object

acad_send_commandA

Send one raw AutoCAD command line (SENDCOMMAND). OFF BY DEFAULT: it works only when the environment variable SHIMMY_ALLOW_SENDCOMMAND is set to 1 by the user, and each call needs confirm=true after the user has agreed to that exact command. Use it only when no tool does the job.

Inputs: command (required), confirm. Returns: object

acad_set_attributesA

Set attribute text on an existing block reference, by handle. Only the tags given change.

values: {tag: text}. Constant attributes cannot be changed. A tag the block does not have refuses the whole call.

Inputs: handle (required), values (required). Returns: object

acad_set_current_layoutC

Switch AutoCAD to a layout (paper space tab) by name.

Inputs: name (required). Returns: object

acad_set_dimension_textB

Override the text a dimension shows (for example '4 TYP'). Use '<>' in text to keep the measured value with extra words around it; an empty text returns the measured value.

Inputs: text (required), handle (required). Returns: object

acad_set_layerB

Change properties of an existing layer. Only the fields you pass are changed.

Freezing the current layer fails in AutoCAD. Make another layer current first.

Inputs: name (required), on, frozen, locked, +4 more. Returns: object

acad_set_layer_plotA

Set whether a layer plots. plottable=false is the no-plot setting: objects stay on screen but do not print.

Inputs: layer (required), plottable (required). Returns: object

acad_set_page_setupB

Change a layout's page setup. centred=True turns on "Center the plot". plot_type is one of layout (the default for the guide), extents, limits or display. Give at least one of them. Returns the page setup after the change.

Inputs: layout (required), centred, plot_type. Returns: object

acad_set_transparencyB

Set an object's transparency: 0 = solid, 90 = very faint. Works on any entity (lines, polylines, hatches, images). Not verified live yet.

Inputs: handle (required), percent (required). Returns: object

acad_set_viewport_viewB

Set a layout viewport's view centre (in model units) and its scale (drawing units per paper inch; 1 is 1:1). Use it so each layout's viewport shows only its own sheet.

Inputs: scale (required), handle (required), view_center (required). Returns: object

acad_statusA

AutoCAD version, number of open drawings, active drawing name and path.

Inputs: no named parameters. Returns: object

acad_transformA

Move, copy, rotate, scale, mirror or erase one entity, by its handle.

move / copy: dx, dy (dz optional). rotate: base and angle_deg. scale: base and factor. mirror: p1 and p2 define the mirror line. erase: needs confirm=true; ask the user first.

Inputs: op (required), handle (required), dx, dy, +7 more. Returns: object

acad_trim_arcA

Trim an arc where a line crosses it once. The part of the arc on the keep_point side is kept. Arcs only (a circle must be an arc first). The line is not changed.

Inputs: handle (required), keep_point (required), cutting_handle (required). Returns: object

acad_trim_circleA

Trim a circle at its two crossings with a line. The circle is replaced by the arc on the keep_point side. The line must cross the circle at two points. The line is not changed.

Inputs: handle (required), keep_point (required), cutting_handle (required). Returns: object

acad_trim_lineA

Trim a line where it crosses another line. The part on the keep_point side of the crossing is kept. Lines only; the cutting line is not changed.

Inputs: handle (required), keep_point (required), cutting_handle (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 99 tools

    Disambiguation3/5

    Most tools target a distinct resource+action (add_line, create_layer, trim_arc, fillet_arc_arc), but several clusters overlap heavily: three guide-building tools (acad_build_mcp_guide, acad_build_capability_demo, acad_make_guide) all claim to produce the MCP Guide, and acad_plot_pdf vs acad_export_sheet_pdf vs acad_build_sheet blur the plotting/sheet boundary. Hatch tools (add_hatch vs add_associative_hatch) and the trim/fillet family are only separated by careful reading of descriptions.

    Naming Consistency4/5

    Nearly all names use a consistent acad_ prefix with verb_noun structure (acad_add_line, acad_create_layer, acad_set_layer, acad_list_blocks, acad_trim_arc). Minor deviations exist, such as noun-first names (acad_entity_extents vs acad_get_extents, acad_layout_info) and bare verbs (acad_ping, acad_regen, acad_offset), but they remain readable.

    Tool Count2/5

    99 tools is far beyond a navigable surface and well past the 25-tool 'heavy' threshold. While CAD automation is genuinely broad, the count is inflated by redundant clusters (three guide builders, multiple sheet/plot variants, overlapping selection tools) that could be consolidated.

    Completeness4/5

    Coverage is remarkably deep: geometry creation, layers/linetypes, blocks and attributes, xrefs, images, hatches, dimensions, layouts and viewports, page setups, plotting to PDF, selection and property queries, text editing, and diagnostics. Gaps are minor but real: no undo/redo, no layer deletion/purge, and no direct per-entity property setter beyond acad_match_properties.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables Claude to control AutoCAD—draw, edit, query, layers, blocks, annotations, screenshots, plot to PDF—using plain language.
      8
      13
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Connects Claude AI to AutoCAD for architectural design, enabling natural language to execute 684 commands. Automates drawing creation and editing through the Model Context Protocol.
      9
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables LLMs like Claude to create and edit AutoCAD drawings via natural language, supporting both headless DXF generation and live AutoCAD LT connection through file-based IPC.
      9
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects Claude Desktop to a running AutoCAD instance over local Windows COM, letting users query, draw, edit, organize layers, measure areas, take off quantities, and export sheets to PDF using plain language. Every action is undoable, logged, and optionally restricted to read-only mode with no network exposure.
      MIT