ShimmyCAD MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SHIMMY_AI_MODEL | No | Optional AI model name recorded in cell 045 of the MCP guide build. Do not put personal details in it, because the guide is published. | |
| SHIMMY_LOG_LEVEL | No | Server log level. Server logging is verbose by default; set to INFO to reduce it. | |
| SHIMMY_ALLOWED_ROOTS | No | Extra folders to allow without a confirmation; separate several with ';'. The project folder is always allowed. Example: "C:\\CAD\\Test Drawings". | |
| SHIMMY_AI_CONVERSATION | No | Optional conversation reference recorded in cell 045 of the MCP guide build. Do not put personal details in it, because the guide is published. | |
| SHIMMY_ALLOW_SENDCOMMAND | No | Set to 1 to enable the acad_send_command raw command tool (off by default). Each call also requires confirm=true. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| acad_pingA | Check that AutoCAD and the ShimmyBridge plugin respond. |
| acad_statusA | AutoCAD version, number of open drawings, active drawing name and path. |
| 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. |
| 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. |
| 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). |
| 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. |
| acad_closeA | Close the active drawing. Closing without saving discards changes, so it needs confirm=true. Ask the user before passing confirm=true. |
| 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. |
| 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. |
| acad_list_layersA | List all layers with colour, linetype, lineweight and on/frozen/locked state. |
| 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. |
| 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. |
| acad_add_splineA | Add a smooth spline through fit points: points = [[x, y], ...] (3 to 10000). The curve passes through each point. |
| acad_load_linetypeA | Load a linetype from acad.lin into the drawing (for example DASHED, CENTER, HIDDEN). Needed before a layer uses it. |
| 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. |
| acad_list_layoutsA | List layouts (paper space tabs) and the current one. |
| 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. |
| acad_set_current_layoutC | Switch AutoCAD to a layout (paper space tab) by name. |
| 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. |
| 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). |
| 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. |
| 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). |
| acad_list_entitiesC | List entities in model space. entity_type: line, polyline, circle, arc, text, mtext, insert, hatch, dimension. |
| acad_count_entitiesB | Count entities in model space, optionally by type and layer. |
| acad_get_extentsA | Bounding box of everything in model space (min and max points). |
| 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. |
| 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. |
| acad_list_blocksA | List the blocks defined in the drawing (the block library), skipping layout records. |
| acad_get_attributesA | Read the attribute tags and text of a block reference, by its handle. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| acad_regenA | Regenerate the drawing display (the REGEN command). Use after many erase and add calls, when the screen looks stale. |
| 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. |
| 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. |
| 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. |
| 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). |
| 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. |
| 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. |
| 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. |
| acad_match_propertiesB | Give each target the colour, layer, linetype, lineweight and linetype scale of the source 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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). |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| acad_add_radial_dimensionB | Radius dimension ("R...") on a circle or arc, by its handle. leader_in is the leader length in inches. |
| acad_add_diameter_dimensionC | Diameter dimension ("Ø...") on a circle or arc, by its handle. leader_in is the leader length in inches. |
| 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. |
| acad_extend_lineA | Extend a line's nearer end until it meets another line (the boundary). The boundary must lie beyond that end. |
| 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. |
| 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. |
| 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. |
| acad_reload_xrefB | Reload an attached xref from its file, so the drawing shows the file's current contents. |
| 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. |
| 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. |
| 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. |
| 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. |
| acad_query_propertiesB | Read one object's properties: type, layer, colour, linetype and scale, lineweight, visibility and extents. |
| 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'. |
| 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. |
| acad_list_open_drawingsA | List every open drawing: name, file path, whether it is the active one, and read-only. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| acad_get_page_setupB | Read a layout's page setup: centred (Center the plot), plot type, paper, plotter and rotation. |
| 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. |
| 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). |
| 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. |
| 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). |
| 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". |
| 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). |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| acad_add_circleB | Add a circle in model space. center = [x, y]; radius in drawing units (inches). Returns its handle. |
| 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. |
| 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. |
| acad_add_textB | Add text (single-line) to model space. point = [x, y], text = string, height in inches. Returns the text entity handle. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| mcp-guide | Build the sample sheets that show what these tools can do. A good first test. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 99 tools
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.
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.
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.
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.