auto-autocad-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CAD_LAUNCH | No | When using the COM backend, start a full AutoCAD session first or leave CAD_LAUNCH=auto. | |
| COM_CALL_TIMEOUT | No | Timeout in seconds for COM calls. Large shopdrawings open slower than the default timeout, so keep COM_CALL_TIMEOUT=300 (or higher). | |
| AUTOCAD_MCP_BACKEND | No | Backend to use. On Windows it controls a live AutoCAD seat via COM ("com"); on other platforms or when set to "ezdxf" it falls back to the headless ezdxf engine. | |
| AUTO_AUTOCAD_PROFILE | No | Absolute path to your auto-autocad.profile.json project profile. Optional; if omitted, the built-in neutral profile (auto_* tools) is used. Resolution order: tool argument (non-empty) > $AUTO_AUTOCAD_PROFILE > <working dir>/auto-autocad.profile.json > built-in default. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
electrical shopdrawing helpers, on top of AutoCAD MCP Pro. Tools act on the currently bound drawing. auto_seat_health reports whether the seat is ready and whether a modal dialog is blocking it. auto_xref_repair re-points unresolved external references by basename (dry_run first). auto_plot_preflight checks every layout's plot style, device, scale and paper, and reads the plot log's warnings. auto_drawing_list validates a supplied index and writes it to CSV/XLSX. auto_source_list rebuilds the base design's drawing list from its DWG table and mints the project codes. auto_sheet_build draws an ISO A3 frame + title block per index entry, one layout each. auto_sheet_set groups shopdrawings into one publish set (a .dsd sheet list) and can publish it to a single multi-page PDF. auto_sheet_discover lists the (dwg, layout) sheets under a folder, so a set need not be listed by hand. auto_layer_takeoff counts and sums length per layer and can write CSV/XLSX. auto_material_takeoff lists a shopdrawing's materials -- conduit, wire, devices -- with the quantities computed from its geometry, the sheet's own type tables and symbol images, and can write them to XLSX with a picture per row. Tables are written to CSV/XLSX, or -- when the project's profile lists the DWG/DXF format -- as a drawing: the table drawn into a new drawing and the file written out. auto_drawing_export writes the bound drawing itself out as a DWG or a DXF. Every project-specific default -- code prefix, plot style, source layer, frame cells, material units -- comes from the project profile (auto-autocad.profile.json in the working directory, or $AUTO_AUTOCAD_PROFILE); a tool argument overrides it per call. auto_profile reports the profile in use.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| auto_seat_healthA | Check the live seat before a job: is AutoCAD there, and is anything blocking it?
|
| auto_xref_repairA | Re-point unresolved external references at a file with the same basename. Reports every reference: one whose file is present is A COM |
| auto_plot_preflightA | Check every paper-space layout's plot readiness, plus the plot log. Flags an unassigned or uninstalled plot style (.ctb/.stb), and a missing
device, scale or paper size. |
| auto_drawing_listA | Validate a supplied drawing index and, with Each entry is |
| auto_source_listA | Rebuild the base design's drawing list and mint the project's own codes.
Either way each row with a source code becomes a project entry (the
profile's
|
| auto_sheet_buildA | Draw one layout per index entry: the ISO title block, or the project frame. A layout is created when it does not exist and drawn into when it does. Sheet
numbers default to
|
| auto_sheet_discoverA | List the Every drawing is opened to read its layouts, so this is a seat job, not a
file scan; |
| auto_sheet_setA | Group shopdrawings into one publish set and, with Each entry is With The set is written as a Publishing holds the seat clear of the DST File Not Found dialog (the Sheet
Set Manager is stopped from opening itself for the duration, and a box that
still appears is pressed away), and judges success by the PDF on disk: see
Before publishing, every sheet's layout is read and its plot style checked
against the styles AutoCAD has installed. A sheet naming a style that is not
installed -- A set published straight from discovery comes out in discovery order --
by drawing file name -- which is not the reference OUTPUT's order.
|
| auto_layer_takeoffA | Count entities and sum length per layer over the model space.
|
| auto_material_takeoffA | List a shopdrawing's materials and compute their quantities from geometry. The sheet's own tables name the types -- its legend and the conduit / wire
quantity tables -- while the quantities, a placeholder The |
| auto_drawing_exportA | Write the drawing the backend is bound to out as a DWG or a DXF. The one way to get the open drawing as a file of its own -- after a sheet build, say -- without touching it: nothing is drawn and the bound drawing is only read. The format is |
| auto_profileA | Report the project profile this server is running with.
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Most tools have clearly distinct purposes: seat health, xref repair, plot preflight, layer takeoff, material takeoff, sheet build/discover/set, and export are separable. The main overlaps are auto_drawing_list vs auto_source_list (both produce drawing indexes) and auto_sheet_discover vs auto_sheet_set with discover mode (both enumerate sheets), though descriptions explain the difference.
All names share an auto_ prefix and snake_case domain_action structure, which is predictable and readable. Minor inconsistency: some second tokens are verbs (build, discover, repair) while others are nouns (list, set, profile), but the pattern remains understandable.
Twelve tools is well within the appropriate range for a specialized AutoCAD automation server. Each tool maps to a distinct workflow stage (health, discovery, takeoff, build, publish, export), so none feels redundant.
The surface covers the core shopdrawing lifecycle: profile inspection, seat health, drawing/source indexes, sheet discovery/build/publish, xref repair, takeoffs, and export. Gaps include no explicit drawing open/close or layer/entity editing tools, but those may be outside the intended read/build/export scope.