autocad-mcp
An MCP server that lets AI agents work in AutoCAD and its industry toolsets the way an engineer does.
In AutoCAD Plant 3D it works on the engineering data: equipment, valves, instruments, line numbers, tags, specs and connectivity, in the P&ID and in the 3D model, and the deliverables that come out of them.
npx @orygn/autocad-mcp installUnit 100
A debutanizer's overhead system: column C-101, condenser E-101, reflux drum D-101, reflux pumps P-101A and P-101B, the control valve stations, structure ST-101 and pipe rack PR-101. Claude placed every part through autocad-mcp, starting from an empty project.
Drag to turn it. Point at a part, or tap it, to read its data from the project.

One plant, job by job
Each job is one request, typed the way an engineer would send it, and the film of Claude doing it in Plant 3D. Real recordings; sped-up parts are marked with their speed.
Job 1, easy
The line list and the valve list
Before the 3D model starts, the modelers need the P&ID's line list and valve list, read from the project's data.
- Requests
- 1
- Tool calls
- 17
- Real time
- 2 min 13 s
Before we start the 3D model: give me the line list and the valve list for Unit 100 from the project's data, as tables here. Line list: one row per line number, with its size, spec, service, where it starts and where it ends; for a line that leaves the sheet, say where it goes. Valve list: tag, type, size and line. Also write the line list, the valve list, the control valve list and PSV-101 to CSV files in C:\Plant Projects\Unit 100 Debutanizer\Reports; I've made the folder.
Read the whole request
Use the AutoCAD tools only, and don't make project backups; I keep my own.
End with a short report I can read on one screen: what you changed, what the checks say, and anything left for me.
Job 2, easy
Tag what is untagged
Some components in the 3D model have no tags. Claude runs Plant's P&ID-to-3D check, which lists six P&ID valves as not found in 3D, traces each of them on the P&ID to its pump, and tags the matching valves in the model. A 3/4" vent that is on no P&ID it leaves untagged, saying where it is. The check goes from 8 issues to the 2 it reported before.
- Requests
- 1
- Tool calls
- 60
- Real time
- 3 min 50 s
Some components in the 3D model don't have tags. Find everything in 100-3D-001 that should carry a tag and doesn't, and give it the tag it has on the P&ID, in the project's tag formats. If something isn't on the P&ID, don't make up a number: leave it and tell me what it is and where. Then run the P&ID-to-3D check; anything it reported before this can stay as it is.
Read the whole request
Save the drawing as your last step.
Use the AutoCAD tools only, and don't make project backups; I keep my own.
End with a short report I can read on one screen: each item you tagged and how you matched it to the P&ID, what the check says, and anything left for me.
Job 3, medium
The reflux pumps on the P&ID
The two reflux pumps drawn under the reflux drum, with their suction and discharge lines and every valve tagged, then Plant's validation.
- Requests
- 1
- Tool calls
- 110
- Real time
- 12 min 18 s
Now the reflux pumps on 100-P-001, in the clear area below D-101.
Read the whole request
- P-101A and P-101B, Debutanizer Reflux Pumps: horizontal centrifugal pumps side by side, tagged and described. - 1003, 6" CS300 P: from D-101's outlet, a suction header with a branch to each pump and a gate valve on each branch close to the pump. - 1004, 4" CS300 P: from each pump's discharge a pressure gauge (PI-101A, PI-101B), then a check valve and a gate valve, into a discharge header. - The header splits into 1005, 4" CS300 P, to C-101's reflux nozzle, and 1006, 4" CS300 P, to butane storage off the sheet, with an off-page connector saying so. Manual valves GA and CK numbered from 101. Show each valve's tag on the sheet. Leave room on 1005 and 1006 for control valve stations; they come next.
Then run Plant's validation on the sheet. It flags every item as missing from the 3D model until one exists; tell me what it says beyond that.
Save the drawing as your last step, after the checks.
Use the AutoCAD tools only, and don't make project backups; I keep my own.
End with a short report I can read on one screen: what you changed, what the checks say, and anything left for me.
Job 4, medium
The pump piping in 3D
The pumps' suction and discharge piping modeled from the P&ID, every valve in reach, then Plant's P&ID-to-3D check.
- Requests
- 1
- Tool calls
- 134
- Real time
- 20 min 13 s
Now the pump piping, from the P&ID.
Read the whole request
- 1003, 6": from D-101's bottom outlet down through the lower deck (cut its grating where the line passes) to grade and along to the pumps: a suction header with a branch to each pump suction and a gate valve on each branch close to the pump. - 1004, 4": from each pump discharge a check valve then a gate valve, into a header with a tee where 1005 and 1006 leave; leave the tee's two outlets open for the control valve stations, which come next.
Run them so an operator can reach every valve and walk between the pumps. Tag the valves as on the P&ID. Then run Plant's P&ID-to-3D check; lines not modelled yet will still show as missing, so tell me what it says about the pump section, and nothing outside it.
Save the drawing as your last step, after the checks.
Use the AutoCAD tools only, and don't make project backups; I keep my own.
End with a short report I can read on one screen: what you changed, what the checks say, and anything left for me.
Job 5, medium
The isometrics
Final isometrics for every line, title blocks filled from the project, and a material take-off.
- Requests
- 2
- Tool calls
- 213
- Real time
- 34 min 23 s
Now the deliverables: final isometrics for every line in the Final ANSI-B style, title blocks complete.
Read the whole request
Fill the title blocks from the project, not on the sheets: pipe spec, unit 100, P&ID 100-P-001, area 100, job number J26-100. Design conditions: process lines 250 psig and 250 F, except the pump discharge side (1004, 1005, 1006) at 400 psig and the feed, 1012, at 300 F; flare 150 psig, 250 F; cooling water 150 psig, 150 F. Decide insulation line by line (heat conservation or personnel protection where the temperature calls for it, none on cooling water) and tell me what you chose. Revision A, ISSUED FOR REVIEW, dated today. Where a line leaves the unit, mark the end as a tie-in with its TP number and where it goes, as on the P&ID. Show each support's type, and its tag if the style allows. Every sheet number unique. Leave DRAWN, CHKD and APPD empty; people sign those.
Then give me a material take-off for the unit from the project's data, as tables: pipe by size and spec with the total length of each, then fittings, valves, flanges, gaskets and bolt sets by size and count.
Save the drawing as your last step.
Use the AutoCAD tools only, and don't make project backups; I keep my own.
Tell me how many sheets each line came out as, what Plant's iso run warned about, and anything a checker would mark.
Then:
Before I sign this, check four things against the model and Plant's iso log, and correct them in a few lines: which lines the split-point errors came from, the type of the 2" CS150 elbows in the take-off, the count and total of over-length pipes on 1003 to 1007, and how many of the 21 sheets you opened.
Job 6, hard
Rev B
Operations asks for PV-101's two gate valves to become ball valves. One change, through the P&ID, the model and the isometric.
- Requests
- 1
- Tool calls
- 75
- Real time
- 8 min 6 s
Rev B, from operations. PV-101's two block valves become ball valves, CS300's 2" 300 LB RF ball valve, tagged BA-109 and BA-110. Change them on the P&ID and in the model, with every joint made up again. Then re-issue the isometrics that changed at Rev B with a short description, and run the P&ID-to-3D check; anything it reported before this change can stay as it is.
Read the whole request
Save the drawings as your last step.
Use the AutoCAD tools only, and don't make project backups; I keep my own.
End with a short report I can read on one screen: what you changed, what the checks say, and anything left for me.
Job 7, hard
The steel
The condenser and drum structure and a two-tier pipe rack, every member labelled by structure.
- Requests
- 2
- Tool calls
- 281
- Real time
- 31 min 14 s
Now the steel, in the same model.
Read the whole request
ST-101, the condenser and drum structure: from x = 33 to 61 and y = 50 to 70, columns from grade. A lower deck at EL 114'-0" for the drum and an upper deck at EL 128'-0" for the condenser, both grated with handrails round the open edges; the upper deck has to reach past both of E-101's heads with its rails clear of them. A stair from grade to the lower deck and one from the lower deck to the upper, on the south side; cut the upper stair's opening in the upper deck's grating now (the openings for pipes come later). Bracing on the north and south faces. Wide-flange sizes from Plant's catalog that suit a structure this size.
PR-101, the pipe rack: 20'-0" wide, y = 20 to 40, bents at x = 10, 30, 50, 70 and 90, two tiers at EL 118'-0" and EL 124'-0", with longitudinal beams tying the bents together at each tier.
Put ST-101 or PR-101 in each member's comment, so the steel can be listed by structure.
Save the drawing as your last step, after the checks.
Use the AutoCAD tools only, and don't make project backups; I keep my own.
End with a short report I can read on one screen: what you changed, what the checks say, and anything left for me.
Then:
Yes: brace the east and west faces of ST-101 as well, add longitudinal bracing in one bay of each rack tier, put beams under D-101's and E-101's saddles, extend the upper deck so there's room to work at both of E-101's heads, and trim the stair stringers so they stop at the floor or grade they stand on. Leave the rest as you have it. Save the drawing as your last step.
Tell me in a few lines what you changed and what the checks say.
Job 8, hard
A checker's markup
A checker marks up the steel with four items. Claude adds the members they call for and updates the steel drawing, 100-S-001.
- Requests
- 2
- Tool calls
- 147
- Real time
- 26 min 8 s
Checker's markup, round 1 of 3: steel. Fix each item in the model, update 100-S-001, and tell me item by item what you did and anything you couldn't fix.
Read the whole request
1. On ST-101's EL 114' level the two grating panels meet at E 44'-0", between the beams at 42' and 47', so their ends there bear on nothing. Every panel needs steel under both ends. 2. On PR-101, PS-133 (1013's mid-span rest at E 60'-0") sits between the bents at 50' and 70' with nothing under it. Give it a beam to bear on. 3. 1003 and 1004 have nothing to rest on near P-101A and P-101B, so the pump nozzles carry the suction and discharge piping. Add steel for them: posts or a sleeper from grade, or a small frame, with a top where each line will rest. 4. The PV-101 station on 1007 (BA-109, PV-101 and BA-110) hangs about 4 1/2 ft above the EL 114' level with nothing under it. Add steel from that level for it to rest on.
Match the shapes already in each structure. The supports themselves are round 2; this round is the steel only.
Save the drawing as your last step, after the checks.
Use the AutoCAD tools only, and don't make project backups; I keep my own.
End with a short report I can read on one screen: what you changed, what the checks say, and anything left for me.
Then:
Three more for round 1. Call the four pump posts ST-102, pump support steel, in their comments. Notch the gratings where your new posts and beams pass through them, at panel edges where Plant allows. And the command line printed 'Failed to update "Plan View"' after both of your 100-S-001 updates, so look at its plan view and tell me in a line what that changes in your report. Save as your last step. Tell me in a few lines what you changed and what the checks say.
Job 9, the whole unit
Unit 100, start to finish
From an empty project to the issued drawings: every request above and the ones between them, in order. The film runs at real speed except the steel, shown at 40x and marked.
Follow a line
The P&ID, the 3D model and the isometrics read the same line numbers from the same project. Pick one to see it on the sheet, open its isometrics, and find it in the model.
Read-only and approval modes
Writes are on by default. Autodesk's sample projects are never written to, and before its first change in a session the agent is told to name the project and say it is about to change it.
Read-only
Start the server with --read-only, or set AUTOCAD_MCP_READ_ONLY=1. Every write is refused, and the 14 tools that only write are not offered; reading works as normal.
Approval
Start it with --require-approval, or set AUTOCAD_MCP_REQUIRE_APPROVAL=1. Every write is refused until it is approved. The refusal shows exactly what the write would do, and an approval covers that one call only.
The agent shows you the held write and asks; when you agree, it records the approval with p3d_approve. In Claude Desktop's Manual permission mode, keep p3d_approve on Allow once, so every approval is your own click.
No language model inside, no cloud service, and no network connections of its own. The AI client talks to the server on your machine, and the server to its plugin inside AutoCAD over a local named pipe protected by a token for each session.
Plant 3D commands
89 of the 97 Plant 3D commands that make sense for an agent are covered, and the other 8 in part. 16 don't apply: display toggles, palettes, editor exits and Vault or collaboration features.
Structural steel22 commands
| Command | Status | Tools | What it does |
|---|---|---|---|
| PLANTSTEELCUT | Covered | p3d_steel cut | Cut one structural member back to the face of a limiting member, leaving a chosen gap. |
| PLANTSTEELEDGECUT | Covered | p3d_steel edge_cut | Cut several selected members back to the edges of the members they meet, with a gap, Plant finding the cutting edges itself. |
| PLANTSTEELEDIT | Covered | p3d_steel edit, modify_member, modify_flat | Pick a placed structural object and change its properties in its Edit dialog: a member's shape, size, material, rotation, flip and reference; a footing's length, width, depth; a ladder, stair, railing or grid's settings. |
| PLANTSTEELEXPLODE | Covered | p3d_steel explode | Break a ladder, railing or stair into its individual members, each becoming its own structural object. |
| PLANTSTEELEXTEND | Covered | p3d_steel extend | Extend a member so its end meets a plane chosen as XY WCS, XY UCS, a named UCS, 3 points or 2 points. |
| PLANTSTEELFOOTING | Covered | p3d_steel place_footing | Place a footing pad at an insert point using the Footing Settings size and material. |
| PLANTSTEELGRID | Covered | p3d_steel place_grid | Create a structural grid from the Create Grid dialog: name, axis/row/platform values and labels, label font size, and its coordinate system. |
| PLANTSTEELLADDER | Covered | p3d_steel place_ladder | Place a ladder from a start point, an end point straight above it and a point giving the side it stands out toward, built from the ladder settings. |
| PLANTSTEELLENGTHEN | Covered | p3d_steel modify_member | Change a member's length by a delta or to a total. |
| PLANTSTEELMEMBER | Covered | p3d_steel place_member, set_assembly_settings kind member | Place a beam, column or brace between two points with the Member Settings shape, material, rotation, flip, Y-axis alignment and horizontal/vertical reference. |
| PLANTSTEELMITER | Covered | p3d_steel miter | Fit two members into a mitre joint where they meet, aligned-edge or bisector, with a gap. |
| PLANTSTEELPLATE | Covered | p3d_steel place_plate, place_grating | Create a plate or grating from the Create Plate/Grate dialog: thickness, material, justification, shape as a new rectangle, new polyline or existing polyline, and for a grating a hatch pattern and scale. |
| PLANTSTEELRAILING | Covered | p3d_steel place_railing | Place railings along a path of points, or aligned with an existing member, stair or line, built from the railing settings. |
| PLANTSTEELRESTORE | Covered | p3d_steel restore | Remove the cut or mitre at the end of a member nearer the pick, returning that end to its original state. |
| PLANTSTEELSELECTSHAPE | Covered | p3d_steel set_assembly_settings kind member; p3d_catalog steel_assembly_settings kind member | Open Member Settings to choose what Plant's own member command builds the next member from: shape standard, type and size, material standard and code, angle, flip, Y axis with Z UCS, and where the placement line sits on the section. |
| PLANTSTEELSETREP | Covered | p3d_steel set_representation | Set how all structural steel is drawn - Line, Symbol, Outline or sHape - a user preference that redraws the steel already in the drawing. |
| PLANTSTEELSETUPFOOTAGE | Covered | p3d_steel set_assembly_settings kind footing | Set the footing defaults Plant's own footing command uses: length, width, depth, material standard and code. |
| PLANTSTEELSETUPLADDER | Covered | p3d_steel set_assembly_settings kind ladder | Set the ladder defaults: description, width, exit width, projection, rung distance, ladder and rung shape type and size, flip, and the cage. |
| PLANTSTEELSETUPRAILING | Covered | p3d_steel set_assembly_settings kind railing | Set the railing defaults: handrail, mid rail and kick plate heights, post spacing, continuous middle rail, and the handrail, knee rail, foot rail and post shape type and size. |
| PLANTSTEELSETUPSTAIR | Covered | p3d_steel set_assembly_settings kind stair | Set the stair defaults: width, maximum tread distance, step type and size, and the stringer shape type and size. |
| PLANTSTEELSTAIR | Covered | p3d_steel place_stair | Place a stair from its first point through successive points, built from the stair settings. |
| PLANTSTEELTRIM | Covered | p3d_steel trim | Trim a member so its end meets a plane chosen as XY WCS, XY UCS, a named UCS, 3 points or 2 points. |
Orthographics23 commands
| Command | Status | Tools | What it does |
|---|---|---|---|
| PLANTORTHOADDJOG | Covered | p3d_ortho create_view jogs, edit_view jogs | Inside the ortho editor session, cut a notch out of the OrthoCube so the view's model region is not a plain box. |
| PLANTORTHOADJACENT | Covered | p3d_ortho adjacent_view | Draw an existing view's region again from another side, named in a dialog, and place it on the sheet. |
| PLANTORTHOANNOTATE | Covered | p3d_ortho annotate, annotation_styles | Label one ortho graphic with an annotation showing its 3D object's data, dragged into place. |
| PLANTORTHOANNOTATEBOM | Covered | p3d_ortho annotate_bom, annotate with a [BOM] style | Pick a row of a placed BOM table and place a BOM mark annotation on the matching graphic. |
| PLANTORTHOCREATE | Covered | p3d_ortho create_view | New View: choose models, direction, the model box, scale, then place and orient the viewport on the sheet and generate the view. |
| PLANTORTHODELETE | Covered | p3d_ortho delete_view | Remove one view from an ortho drawing. |
| PLANTORTHODWGTABLESETUP | Covered | p3d_project ortho_bom_tables, set_ortho_bom_table, set_ortho_bom_column with setting = the ACTIVE ortho drawing | Open the Ortho Table Setup dialog for the open ortho DRAWING and change that drawing's own BOM table settings: each table type's title and whether it is built, which columns it has and their headers, widths and order, which columns each component group's table shows under the Complex layout, the layout, one SCH/CLASS column or two, Manage Components' groups, and the Settings tab's description, cut pieces, group by and sort by, existing piping, fixed-length pipes and cut-back elbows. |
| PLANTORTHOEDIT | Covered | p3d_ortho edit_view | Edit View: re-cut an existing view's model box, direction, models or scale in the ortho editor and regenerate it in place, keeping the view's identity and annotations. |
| PLANTORTHOHIDDENLINEMODE | Covered | p3d_ortho create_view, style none, piping or all | Before generating a view, choose the hidden-line mode: no hidden lines, hidden piping only, or all hidden lines. |
| PLANTORTHOINSULATIONMODE | Covered | p3d_ortho insulation_mode | Before generating a view, choose whether insulation is drawn on the ortho. |
| PLANTORTHOLOCATE | Covered | p3d_ortho locate | From a graphic on the ortho sheet, find the 3D object it was drawn from in the model. |
| PLANTORTHOPIPEGAP | Covered | p3d_ortho pipe_gap, remove_pipe_symbol | Pick a pipe graphic in an ortho view and draw a pipe gap at the picked point, 1.5 x OD wide. |
| PLANTORTHOPIPEINSULATION | Covered | p3d_ortho pipe_insulation, remove_pipe_symbol | Pick a pipe graphic in an ortho view and draw its insulation symbol, with thickness and type taken from the pipe's InsulationThickness/InsulationType or prompted. |
| PLANTORTHOPLACEBOM | Covered | p3d_ortho place_bom | Place a bill-of-materials table of one chosen type for a view on the sheet between two picked corners. |
| PLANTORTHOPLACEBOMTEMPLATE | Covered | p3d_project ortho_bom_template, set_ortho_bom_template, remove_ortho_bom_template; setting = any .dwt in the project | With the ortho drawing TEMPLATE open as the active document, place a BOM table template of a chosen type so every new ortho sheet carries it. |
| PLANTORTHOSINGLELINEPIPING | Covered | p3d_ortho single_line, which regenerates the view in the same call | Set which piping a view draws single-line, save that on the view and regenerate it. |
| PLANTORTHOTEMPLATESETTINGS | Covered | p3d_project ortho_layers, set_ortho_layer, set_ortho_setting, add_ortho_layer / remove_ortho_layer, add_ortho_style / remove_ortho_style, migrate_ortho_config | Open the ortho generation settings dialog: the layer each kind of object is drawn on per style, and the style defaults, written to Orthos/Styles/<style>/OrthoConfig.xml. |
| PLANTORTHOTEMPLATETABLESETUP | Covered | p3d_project ortho_bom_tables, set_ortho_bom_table, set_ortho_bom_column | Open the Ortho Table Setup dialog for the ortho TEMPLATE/project and change the BOM table settings new ortho sheets use, saved to Orthos/Styles/<style>/OrthoBOMConfig.xml, or into an ortho drawing template that holds its own copy, which place_bom then reads: the same options as for a drawing. |
| PLANTORTHOUPDATE | Covered | p3d_ortho update | Regenerate an ortho drawing's views from the current 3D model, all of them or chosen ones. |
| PLANTORTHOUPDATEANNOTATION | Covered | p3d_ortho update_annotations, view "" for the whole sheet or a view name | Rewrite the sheet's annotations from the 3D objects they point at after the model changed. |
| PLANTORTHOUPDATEBOM | Covered | p3d_ortho update | Bring a view's placed BOM tables up to date with the model. |
| PLANTORTHOTBCLOSE | Not applicable | Not an agent task: leave the ortho title block editor: offer to QSAVE the template, BCLOSE, set ORTHOTBEDITOR 0, then run PROJECTSETUP. | |
| PLANTORTHOTBNORTHARROW | Not applicable | Not an agent task: place the north arrow block into the ortho title block template being edited. |
Isometrics12 commands
| Command | Status | Tools | What it does |
|---|---|---|---|
| PLANTISOADDINFO | Covered | p3d_iso add_iso_information | Put a flow arrow, floor symbol, insulation symbol, location point, break point or start point on a pipe or fitting in the 3D model so the line's isometric draws it. |
| PLANTISOADDMSG | Covered | p3d_iso add_iso_information | Attach a text message in an enclosure to a pipe so the isometric prints it. |
| PLANTISOADDREFDIM | Covered | p3d_iso add_reference_dimension | Place a reference dimension from a pipe or fitting to a point in the model so the isometric dimensions the line to it. |
| PLANTISOTBATTRIBUTESETUP | Covered | p3d_project iso_title_block, set_iso_title_attribute, add_iso_title_attribute and remove_iso_title_attribute; add_iso_title_attribute on a tag already drawn with no mapping maps it; set_iso_ldt | Inside the iso title block editor, map project and drawing properties onto attributes of the style's title block template so produced sheets fill them. |
| PLANTISOTBNORTHARROW | Covered | p3d_project set_iso_north_arrow; iso_title_block reports northArrow | Place the north arrow block in a chosen corner of the iso title block template. |
| PLANTISOTHEMESSETUP | Covered | p3d_project set_iso_style_default symbolLayer:<scheme> and dimensionStyle / tableStyle / textStyle / leaderStyle, add_iso_layer / remove_iso_layer, add_iso_style / remove_iso_style, iso_style_defaults | The Iso Themes dialog: the Default theme's dimension, multileader, table and text styles, the layer each symbol group of each theme goes on, and the buttons that make a new layer or style in the style's template. |
| PLANTPCFTOISO | Covered | p3d_isometric pcf; p3d_isogen run | Turn one or more PCF files into isometric drawings in a chosen style, without the 3D model. |
| PLANTPRODUCTIONISO | Covered | p3d_isometric create | Produce registered production isometric sheets for chosen lines in a style, with the BOM, cut piece, weld and spool lists its template has tables for, optional DWF and issue. |
| PLANTQUICKISO | Covered | p3d_isometric quick | Produce an unregistered check isometric for selected objects, chosen lines or every line in the drawing, opened for review and never added to the project. |
| PLANTISOTBTABLESETUP | Partial | p3d_project iso_tables, set_iso_table, set_iso_table_column | Edits isometric table titles and column headers on the Simple layout and the BOM sort order, applied to the style's template as Plant's Table Setup does; the other BOM layouts, adding or removing columns, BOM group order and the table settings (fabrication and erection split, cutback elbows, fixed-length pipe, long-description file, single schedule column, description type, instrument list) are not offered yet. |
| PLANTISOLATE | Not applicable | Not an agent task: hide everything in the view except the selected Plant 3D objects. | |
| PLANTISOTBCLOSE | Not applicable | Not an agent task: leave the iso title block editor: save the template drawing if modified, close the block editor, clear ISOTBEDITOR and return to Project Setup. |
Equipment6 commands
| Command | Status | Tools | What it does |
|---|---|---|---|
| PLANTEQUIPMENTATTACH | Covered | p3d_asset attach_graphics | Select a piece of equipment, then plain AutoCAD objects, and bind them to it so they move, plot and report as one object. |
| PLANTEQUIPMENTCONVERT | Covered | p3d_asset convert_to_equipment, then p3d_tag set, p3d_asset set_properties and save_snapshot | Classify existing AutoCAD objects as a Plant equipment model: select objects, the class and a base point, then Plant makes the equipment and only THEN opens Modify Equipment on it, whose nozzle grid is read-only, so what a human sets there is the tag and the properties; the command-line twin -PLANTEQUIPMENTCONVERT asks objects, class keyword and base point. |
| PLANTEQUIPMENTCREATE | Covered | p3d_asset place_equipment | Create Equipment dialog: choose a type, set its dimensions, add or remove primitive shapes for user-fabricated equipment, set nozzles and tag, then insert it at a picked point. |
| PLANTEQUIPMENTDETACH | Covered | p3d_asset detach_graphics | Select a piece of equipment and release attached AutoCAD objects back into model space as ordinary entities. |
| PLANTEQUIPMENTMODIFY | Covered | p3d_asset modify_equipment | Select placed equipment and open the Modify Equipment dialog: change dimensions, add/remove primitive shapes, add/edit nozzles, merge a template, change the tag, then apply it. |
| PLANTINVENTOREQUIPMENTCONVERT | Covered | p3d_asset import_inventor_equipment | Import an Inventor AEC export file as a Plant equipment model: a file dialog picks the .adsk, then Plant reads its part-size properties and builds the equipment. |
Pipe supports5 commands
| Command | Status | Tools | What it does |
|---|---|---|---|
| PLANTPIPESUPPORTADD | Covered | p3d_asset place_support | Pick a support type in the Add Pipe Support dialog and snap it onto a pipe, where Plant orients and sizes it from the line and records it as holding that pipe. |
| PLANTPIPESUPPORTATTACH | Covered | p3d_asset attach_graphics, list_graphics | Bind plain AutoCAD objects to an existing pipe support so they move, plot and report with it. |
| PLANTPIPESUPPORTCONVERT | Covered | p3d_asset convert_to_support | Turn AutoCAD objects already in the drawing into a pipe support of a chosen type, with a port position and direction so it can connect to pipe. |
| PLANTPIPESUPPORTDETACH | Covered | p3d_asset detach_graphics | Release AutoCAD objects previously attached to a pipe support back into model space. |
| PLANTSUPPORTSONSUPPORTS | Covered | p3d_connect supports, disconnect_supports; also p3d_asset place_support with rowId = a support, p3d_connect parts, p3d_asset detach_support | Connect one pipe support to another support so they move together as a stack. |
P&ID and signal lines9 commands
| Command | Status | Tools | What it does |
|---|---|---|---|
| PIDANNOTATE | Covered | p3d_asset label | Pick an annotation style, pick a schematic line or component, and place a label on it that shows that object's data. |
| PIDEDITBLOCK | Covered | p3d_asset edit_symbol | Select a P&ID component and open its symbol block in the Block Editor to change the graphics, save the new block definition or discard. |
| PIDTAG | Covered | p3d_tag get / set / check | Open the Assign Tag dialog on a P&ID component or line and set the fields its tag is composed from. |
| SLEDIT | Covered | p3d_line, p3d_connect split, merge; line_to_asset / line_to_line / disconnect | Edit an existing schematic line through one prompt with the options Attach / Detach / Gap / uNgap / Straighten / Corner / Reverseflow / Join / Break / Link / Unlink. |
| SLGROUP | Covered | p3d_linegroup create then add_line per segment | Select connected schematic lines and make a new line group of them, then give it a line number and service. |
| SLGROUPEDIT | Covered | p3d_linegroup add_line / remove_line / update / associate / dissociate | Add segments to or remove them from a selected line group, change its line number or service, and associate or dissociate a signal line group with a pipe line group. |
| SLGROUPSELECT | Covered | p3d_report line_list with detailed=true, acad_highlight to light them | Select every line segment that belongs to a chosen line group so they can be acted on together. |
| SLINE | Covered | p3d_line draw | Draw a schematic line of a chosen style through points, continuing an existing line group or starting a new one, with Plant auto-gapping crossings, auto-connecting endpoints to nozzles and equipment, and merging onto lines it touches. |
| SLINEORTHO | Not applicable | Not an agent task: toggle the system variable that makes SLINE auto-corner orthogonally while a human drags points; the Line Settings page's 'Orthogonal' checkbox writes the same variable. |
Other36 commands
| Command | Status | Tools | What it does |
|---|---|---|---|
| ADVANCESTEELEXPORT | Covered | p3d_report steel_advance_steel | Export the drawing's structural steel to an Advance Steel XML file for detailing. |
| ASSIGN_ANNOT_FORMAT | Covered | p3d_asset set_annotation_style, propertiesJson {"format": ..., "attribute": ...} | Bind a Plant annotation/tag format expression to a block attribute definition. |
| EXPORTTOAUTOCAD | Covered | p3d_drawing export_acad | Save the P&ID or 3D model drawing out as a plain AutoCAD file with Plant objects flattened to ordinary entities. |
| NEWPROJECT | Covered | p3d_project create | Run the six-page New Project wizard: name, location, units, P&ID standard, spec/catalog paths, database, and open the result. |
| OPENPROJECT | Covered | p3d_project open | Open a Plant 3D project and make it the current project. |
| PLANTCONVERTLINETOPIPE | Covered | p3d_pipe path, convert | Convert AutoCAD lines, arcs or polylines into spec pipe with elbows at bends, with Size, SPecification and Erase options. |
| PLANTCREATEREPORT | Covered | p3d_cog report, missing_weights | Create weight and centre-of-gravity reports for the model. |
| PLANTDWGCHECKER | Covered | p3d_validate stale_labels, fix_stale_labels | Check a P&ID's annotation text against the database values and review or fix the inconsistencies. |
| PLANTEDITAUTODESKCONNECTIONPOINT | Covered | p3d_connect set_connection_point | Edit the properties of an Autodesk Connection Point in the model. |
| PLANTEDITCOG | Covered | p3d_cog set, reset, get | Set the centre-of-gravity location of piping, structure or equipment by hand. |
| PLANTINSERTAUTODESKCONNECTIONPOINT | Covered | p3d_connect add_connection_point, connection_points | Create an Autodesk Connection Point at an open port. |
| PLANTPCFEXPORT | Covered | p3d_iso export_pcf, pcf_status | Export selected line numbers from the model to PCF files in a chosen folder. |
| PLANTPCFTOPIPE | Covered | p3d_iso import_pcf | Build piping into the current drawing from one or more PCF files, mapping their specs to the project's. |
| PLANTSNAPSHOTCOG | Covered | p3d_cog snapshot, snapshots, delete_snapshot | Create a COG snapshot marker for the current live COG selection. |
| PLANTTAG | Covered | p3d_tag set, get, check | Open Assign Tag on a 3D pipe or component and set its tag fields, with auto-numbering and browsing existing tags. |
| VALIDATE | Covered | p3d_validate plant_rules | Run Plant's validation rules over a drawing, a folder or the whole project and show the results. |
| VALIDATECONFIG | Covered | p3d_validate rules, set_rule | Choose which of Plant's validation rules the project runs. |
| VALIDATESUMMARY | Covered | p3d_validate plant_rules, summary, ignore / unignore, erase, export | Show the Validation Summary window: the error tree per drawing, zoom to each, ignore, revalidate selected, export to XLSX/CSV. |
| DATAMANAGER | Partial | p3d_report / p3d_bulk / p3d_project / p3d_find data_export / workbookJson import / data_views, set_data_view / by_class, by_property | Exports any class, or a class with every subclass, to Excel or CSV exactly as the Data Manager writes them, imports edited sheets back through Plant's own change detection, and manages custom views; filtered exports, view ordering, display formatting and the Reports view round trip are not offered yet. |
| PLANTCUSTOMPARTS | Partial | p3d_pipe placeholder, custom_part | Places placeholder and custom parts from the project's Custom Parts spec with chosen dimensions, spec and rotation in plan at any angle; an axis straight up or down or sloped in a vertical plane through X or Y, as Plant's Plane option lays one; attaching to a port at insert, editing port count and end types and block-based parts are not offered yet. |
| PLANTPIDLINELIST | Partial | p3d_linegroup pid_line_list, then p3d_pipe run or path into group3d where placeableBySize3d, then p3d_linegroup pid_apply; an inline P&ID asset by p3d_pipe pid_place | Lists each P&ID line with which of its segments and inline components already have a matching 3D part, by the same rule as Plant's line list, and places the missing pipe into the right 3D line group, and writes the P&ID line's data and insulation onto what was placed as Plant's own Place does, and places an inline P&ID valve or instrument with Plant's own Place command, with its mapped class, valve type and P&ID data, or, for a class mapped to nothing, as a Custom Parts part with its P&ID tag; placing P&ID equipment and nozzles is not offered yet. |
| PLANTPIPEADD | Partial | p3d_pipe / p3d_connect run, fitting, path / route | Routes pipe from nozzles, connection points and open pipe ends, level or sloped, with the joints, elbows and flanges the spec dictates, and routes between two parts with Plant's own router including bent pipe; bends drawn point by point, branch fittings chosen from the spec's branch table, cutback elbows and size changes along a run are not offered yet. |
| PLANTPROJECTCOMPARE | Partial | p3d_project compare; merge | Compares another project's settings with the open one and reports every difference in Plant's own terms, and merges picklist values and project variables the other project adds; merging any other kind of difference, or merging in the other direction, is not offered yet. |
| PLANTROUTEFROMAUTODESKCONNECTIONPOINT | Partial | p3d_pipe action from_connection_point | Starts a pipe run from an Autodesk Connection Point with the spec's joint and mating parts, along a given route at the point's size; pipe bends, size changes along the run, routing offsets and sloped starts are not offered yet. |
| PROJECTSETUP | Partial | p3d_project / p3d_tag / p3d_report settings, set_setting, variables, set_variable, details, set_detail, layer_color, set_layer_color, set_joint_fasteners, spec_update_settings, set_spec_update_setting, pipe_bends, set_pipe_bend, iso_*, set_iso_*, pid_3d_mapping, set_pid_3d_mapping, pid_line_settings, set_pid_line_setting, ortho_layers, set_ortho_layer, export_settings, set_export_setting, data_views, set_data_view, drawing_properties, set_drawing_property, set_property_attribute, add_class_property, remove_class_property, autogen_properties, set_autogen_property / set_format / create_template | Reads and writes settings on most Project Setup pages, each checked against what Plant then produces, with Project Details, Spec Update Settings and the orthographic style defaults written completely, and adds and removes text, number, yes/no and selection-list properties on a class; adding classes, calculated and acquired properties, per-value layer colours, compound joints, new isometric styles and moving the project database are not offered yet. |
| GEOMETRYCLEANUPOPENN | Not applicable | Not an agent task: toggle the Geometry Cleanup palette open or closed. | |
| PLANTATTACH | Not applicable | Not an agent task: attach project files from a Collaboration project as external references. | |
| PLANTCOLLABORATIONOPTIONS | Not applicable | Not an agent task: set check-in, check-out and synchronisation notification options for a Collaboration project. | |
| PLANTHIDE | Not applicable | Not an agent task: hide the selected Plant objects in the view. | |
| PLANTPIPESNAP | Not applicable | Not an agent task: toggle pipe port object snaps. | |
| PLANTPROJECTCOLLABORATION | Not applicable | Not an agent task: share the project with Project Collaboration. | |
| PLANTREFRESH | Not applicable | Not an agent task: download the latest versions of files from Vault and update the local project. | |
| PLANTSHOWALL | Not applicable | Not an agent task: show all Plant 3D objects hidden by PLANTHIDE. | |
| PLANTSPECVIEWER | Not applicable | p3d_spec list, types, parts | Not an agent task: open the Spec Viewer palette to browse the current spec and place parts from it. |
| PLANTVAACEXPLORER | Not applicable | Not an agent task: launch the standalone Autodesk Vault client. | |
| PROJECTMANAGER | Not applicable | p3d_drawing / p3d_project create, register, unregister, move, rename, create_folder, rename_folder, remove_folder / drawings, backup, info, copy_spec, remove_spec | Not an agent task: open the Project Manager palette, from which drawings are created, registered, renamed, moved, validated and backed up. |
Revisions
| Rev | Date | Description |
|---|---|---|
| 0.1.0 | 2026-11-29 | First public release, as a preview. What changedAdded
Known limitations
|
Install
Needs Windows 11 and AutoCAD Plant 3D 2027, signed in. No .NET to install; the server carries its own. The installer sets up Claude Desktop, Claude Code, Cursor, Windsurf and VS Code; any other MCP client takes one JSON entry, shown in the README.
From the release
- Download
autocad-mcp-0.1.0-win-x64.zipand extract it. - Close AutoCAD, then double-click
install.cmd. Windows first says the publisher can't be verified, as the release isn't code-signed yet: choose Run. It then asks once for administrator rights, for the plugin. - Start AutoCAD Plant 3D and double-click
verify.cmd. - Restart your AI client and ask it to call
acad_session.
With npm
npx @orygn/autocad-mcp installnpx @orygn/autocad-mcp verifyNeeds Node.js 18 or later. Close AutoCAD before install; runverify with Plant 3D open.
In the MCP Registry as io.github.OrygnsCode/autocad-mcp.
Install
From the release zip to verify.cmd passing.
Connect Claude Desktop
The first request, the permission prompt Claude Desktop can show, and what the answer tells you.
Before you start
- 0.1.0 is a preview. Read the known issues and their workarounds in the README first.
- Plant 3D 2027 on Windows only; Plant 3D 2026 and 2025 aren't supported yet.
- One AutoCAD at a time. AutoCAD and the AI client need the same rights, so don't run one of them as administrator.
- Some command options are not offered yet; the coverage list above names them.
- Plant's own isometric server sometimes crashes, most often on reference dimensions. The tool ends the run and says so.
- The download is not code-signed yet, so Windows may warn before it runs.