autocad-mcp

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 install
1.9x
Unit 100 in Plant 3D, a real recording played at 1.9x.

Unit 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.

Unit 100 from the south-east: the structure with E-101 and D-101, the pumps and the control valve stations

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.

  1. 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.

    The P&ID they were read from

  2. 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.

    Turn the model

  3. 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.

    Open the P&ID

  4. 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.

    Turn the model

  5. 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.

    Open the isometrics

  6. 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.

    Open line 1007 at Rev B

  7. 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.

    Turn the model

  8. 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.

    Open the re-issued drawings

  9. 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.

    Read every request and call

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
CommandStatusToolsWhat it does
PLANTSTEELCUTCoveredp3d_steel cutCut one structural member back to the face of a limiting member, leaving a chosen gap.
PLANTSTEELEDGECUTCoveredp3d_steel edge_cutCut several selected members back to the edges of the members they meet, with a gap, Plant finding the cutting edges itself.
PLANTSTEELEDITCoveredp3d_steel edit, modify_member, modify_flatPick 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.
PLANTSTEELEXPLODECoveredp3d_steel explodeBreak a ladder, railing or stair into its individual members, each becoming its own structural object.
PLANTSTEELEXTENDCoveredp3d_steel extendExtend a member so its end meets a plane chosen as XY WCS, XY UCS, a named UCS, 3 points or 2 points.
PLANTSTEELFOOTINGCoveredp3d_steel place_footingPlace a footing pad at an insert point using the Footing Settings size and material.
PLANTSTEELGRIDCoveredp3d_steel place_gridCreate a structural grid from the Create Grid dialog: name, axis/row/platform values and labels, label font size, and its coordinate system.
PLANTSTEELLADDERCoveredp3d_steel place_ladderPlace 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.
PLANTSTEELLENGTHENCoveredp3d_steel modify_memberChange a member's length by a delta or to a total.
PLANTSTEELMEMBERCoveredp3d_steel place_member, set_assembly_settings kind memberPlace a beam, column or brace between two points with the Member Settings shape, material, rotation, flip, Y-axis alignment and horizontal/vertical reference.
PLANTSTEELMITERCoveredp3d_steel miterFit two members into a mitre joint where they meet, aligned-edge or bisector, with a gap.
PLANTSTEELPLATECoveredp3d_steel place_plate, place_gratingCreate 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.
PLANTSTEELRAILINGCoveredp3d_steel place_railingPlace railings along a path of points, or aligned with an existing member, stair or line, built from the railing settings.
PLANTSTEELRESTORECoveredp3d_steel restoreRemove the cut or mitre at the end of a member nearer the pick, returning that end to its original state.
PLANTSTEELSELECTSHAPECoveredp3d_steel set_assembly_settings kind member; p3d_catalog steel_assembly_settings kind memberOpen 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.
PLANTSTEELSETREPCoveredp3d_steel set_representationSet how all structural steel is drawn - Line, Symbol, Outline or sHape - a user preference that redraws the steel already in the drawing.
PLANTSTEELSETUPFOOTAGECoveredp3d_steel set_assembly_settings kind footingSet the footing defaults Plant's own footing command uses: length, width, depth, material standard and code.
PLANTSTEELSETUPLADDERCoveredp3d_steel set_assembly_settings kind ladderSet the ladder defaults: description, width, exit width, projection, rung distance, ladder and rung shape type and size, flip, and the cage.
PLANTSTEELSETUPRAILINGCoveredp3d_steel set_assembly_settings kind railingSet 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.
PLANTSTEELSETUPSTAIRCoveredp3d_steel set_assembly_settings kind stairSet the stair defaults: width, maximum tread distance, step type and size, and the stringer shape type and size.
PLANTSTEELSTAIRCoveredp3d_steel place_stairPlace a stair from its first point through successive points, built from the stair settings.
PLANTSTEELTRIMCoveredp3d_steel trimTrim a member so its end meets a plane chosen as XY WCS, XY UCS, a named UCS, 3 points or 2 points.
Orthographics23 commands
CommandStatusToolsWhat it does
PLANTORTHOADDJOGCoveredp3d_ortho create_view jogs, edit_view jogsInside the ortho editor session, cut a notch out of the OrthoCube so the view's model region is not a plain box.
PLANTORTHOADJACENTCoveredp3d_ortho adjacent_viewDraw an existing view's region again from another side, named in a dialog, and place it on the sheet.
PLANTORTHOANNOTATECoveredp3d_ortho annotate, annotation_stylesLabel one ortho graphic with an annotation showing its 3D object's data, dragged into place.
PLANTORTHOANNOTATEBOMCoveredp3d_ortho annotate_bom, annotate with a [BOM] stylePick a row of a placed BOM table and place a BOM mark annotation on the matching graphic.
PLANTORTHOCREATECoveredp3d_ortho create_viewNew View: choose models, direction, the model box, scale, then place and orient the viewport on the sheet and generate the view.
PLANTORTHODELETECoveredp3d_ortho delete_viewRemove one view from an ortho drawing.
PLANTORTHODWGTABLESETUPCoveredp3d_project ortho_bom_tables, set_ortho_bom_table, set_ortho_bom_column with setting = the ACTIVE ortho drawingOpen 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.
PLANTORTHOEDITCoveredp3d_ortho edit_viewEdit 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.
PLANTORTHOHIDDENLINEMODECoveredp3d_ortho create_view, style none, piping or allBefore generating a view, choose the hidden-line mode: no hidden lines, hidden piping only, or all hidden lines.
PLANTORTHOINSULATIONMODECoveredp3d_ortho insulation_modeBefore generating a view, choose whether insulation is drawn on the ortho.
PLANTORTHOLOCATECoveredp3d_ortho locateFrom a graphic on the ortho sheet, find the 3D object it was drawn from in the model.
PLANTORTHOPIPEGAPCoveredp3d_ortho pipe_gap, remove_pipe_symbolPick a pipe graphic in an ortho view and draw a pipe gap at the picked point, 1.5 x OD wide.
PLANTORTHOPIPEINSULATIONCoveredp3d_ortho pipe_insulation, remove_pipe_symbolPick 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.
PLANTORTHOPLACEBOMCoveredp3d_ortho place_bomPlace a bill-of-materials table of one chosen type for a view on the sheet between two picked corners.
PLANTORTHOPLACEBOMTEMPLATECoveredp3d_project ortho_bom_template, set_ortho_bom_template, remove_ortho_bom_template; setting = any .dwt in the projectWith 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.
PLANTORTHOSINGLELINEPIPINGCoveredp3d_ortho single_line, which regenerates the view in the same callSet which piping a view draws single-line, save that on the view and regenerate it.
PLANTORTHOTEMPLATESETTINGSCoveredp3d_project ortho_layers, set_ortho_layer, set_ortho_setting, add_ortho_layer / remove_ortho_layer, add_ortho_style / remove_ortho_style, migrate_ortho_configOpen 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.
PLANTORTHOTEMPLATETABLESETUPCoveredp3d_project ortho_bom_tables, set_ortho_bom_table, set_ortho_bom_columnOpen 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.
PLANTORTHOUPDATECoveredp3d_ortho updateRegenerate an ortho drawing's views from the current 3D model, all of them or chosen ones.
PLANTORTHOUPDATEANNOTATIONCoveredp3d_ortho update_annotations, view "" for the whole sheet or a view nameRewrite the sheet's annotations from the 3D objects they point at after the model changed.
PLANTORTHOUPDATEBOMCoveredp3d_ortho updateBring a view's placed BOM tables up to date with the model.
PLANTORTHOTBCLOSENot applicableNot an agent task: leave the ortho title block editor: offer to QSAVE the template, BCLOSE, set ORTHOTBEDITOR 0, then run PROJECTSETUP.
PLANTORTHOTBNORTHARROWNot applicableNot an agent task: place the north arrow block into the ortho title block template being edited.
Isometrics12 commands
CommandStatusToolsWhat it does
PLANTISOADDINFOCoveredp3d_iso add_iso_informationPut 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.
PLANTISOADDMSGCoveredp3d_iso add_iso_informationAttach a text message in an enclosure to a pipe so the isometric prints it.
PLANTISOADDREFDIMCoveredp3d_iso add_reference_dimensionPlace a reference dimension from a pipe or fitting to a point in the model so the isometric dimensions the line to it.
PLANTISOTBATTRIBUTESETUPCoveredp3d_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_ldtInside the iso title block editor, map project and drawing properties onto attributes of the style's title block template so produced sheets fill them.
PLANTISOTBNORTHARROWCoveredp3d_project set_iso_north_arrow; iso_title_block reports northArrowPlace the north arrow block in a chosen corner of the iso title block template.
PLANTISOTHEMESSETUPCoveredp3d_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_defaultsThe 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.
PLANTPCFTOISOCoveredp3d_isometric pcf; p3d_isogen runTurn one or more PCF files into isometric drawings in a chosen style, without the 3D model.
PLANTPRODUCTIONISOCoveredp3d_isometric createProduce 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.
PLANTQUICKISOCoveredp3d_isometric quickProduce an unregistered check isometric for selected objects, chosen lines or every line in the drawing, opened for review and never added to the project.
PLANTISOTBTABLESETUPPartialp3d_project iso_tables, set_iso_table, set_iso_table_columnEdits 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.
PLANTISOLATENot applicableNot an agent task: hide everything in the view except the selected Plant 3D objects.
PLANTISOTBCLOSENot applicableNot 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
CommandStatusToolsWhat it does
PLANTEQUIPMENTATTACHCoveredp3d_asset attach_graphicsSelect a piece of equipment, then plain AutoCAD objects, and bind them to it so they move, plot and report as one object.
PLANTEQUIPMENTCONVERTCoveredp3d_asset convert_to_equipment, then p3d_tag set, p3d_asset set_properties and save_snapshotClassify 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.
PLANTEQUIPMENTCREATECoveredp3d_asset place_equipmentCreate 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.
PLANTEQUIPMENTDETACHCoveredp3d_asset detach_graphicsSelect a piece of equipment and release attached AutoCAD objects back into model space as ordinary entities.
PLANTEQUIPMENTMODIFYCoveredp3d_asset modify_equipmentSelect 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.
PLANTINVENTOREQUIPMENTCONVERTCoveredp3d_asset import_inventor_equipmentImport 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
CommandStatusToolsWhat it does
PLANTPIPESUPPORTADDCoveredp3d_asset place_supportPick 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.
PLANTPIPESUPPORTATTACHCoveredp3d_asset attach_graphics, list_graphicsBind plain AutoCAD objects to an existing pipe support so they move, plot and report with it.
PLANTPIPESUPPORTCONVERTCoveredp3d_asset convert_to_supportTurn 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.
PLANTPIPESUPPORTDETACHCoveredp3d_asset detach_graphicsRelease AutoCAD objects previously attached to a pipe support back into model space.
PLANTSUPPORTSONSUPPORTSCoveredp3d_connect supports, disconnect_supports; also p3d_asset place_support with rowId = a support, p3d_connect parts, p3d_asset detach_supportConnect one pipe support to another support so they move together as a stack.
P&ID and signal lines9 commands
CommandStatusToolsWhat it does
PIDANNOTATECoveredp3d_asset labelPick an annotation style, pick a schematic line or component, and place a label on it that shows that object's data.
PIDEDITBLOCKCoveredp3d_asset edit_symbolSelect a P&ID component and open its symbol block in the Block Editor to change the graphics, save the new block definition or discard.
PIDTAGCoveredp3d_tag get / set / checkOpen the Assign Tag dialog on a P&ID component or line and set the fields its tag is composed from.
SLEDITCoveredp3d_line, p3d_connect split, merge; line_to_asset / line_to_line / disconnectEdit an existing schematic line through one prompt with the options Attach / Detach / Gap / uNgap / Straighten / Corner / Reverseflow / Join / Break / Link / Unlink.
SLGROUPCoveredp3d_linegroup create then add_line per segmentSelect connected schematic lines and make a new line group of them, then give it a line number and service.
SLGROUPEDITCoveredp3d_linegroup add_line / remove_line / update / associate / dissociateAdd 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.
SLGROUPSELECTCoveredp3d_report line_list with detailed=true, acad_highlight to light themSelect every line segment that belongs to a chosen line group so they can be acted on together.
SLINECoveredp3d_line drawDraw 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.
SLINEORTHONot applicableNot 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
CommandStatusToolsWhat it does
ADVANCESTEELEXPORTCoveredp3d_report steel_advance_steelExport the drawing's structural steel to an Advance Steel XML file for detailing.
ASSIGN_ANNOT_FORMATCoveredp3d_asset set_annotation_style, propertiesJson {"format": ..., "attribute": ...}Bind a Plant annotation/tag format expression to a block attribute definition.
EXPORTTOAUTOCADCoveredp3d_drawing export_acadSave the P&ID or 3D model drawing out as a plain AutoCAD file with Plant objects flattened to ordinary entities.
NEWPROJECTCoveredp3d_project createRun the six-page New Project wizard: name, location, units, P&ID standard, spec/catalog paths, database, and open the result.
OPENPROJECTCoveredp3d_project openOpen a Plant 3D project and make it the current project.
PLANTCONVERTLINETOPIPECoveredp3d_pipe path, convertConvert AutoCAD lines, arcs or polylines into spec pipe with elbows at bends, with Size, SPecification and Erase options.
PLANTCREATEREPORTCoveredp3d_cog report, missing_weightsCreate weight and centre-of-gravity reports for the model.
PLANTDWGCHECKERCoveredp3d_validate stale_labels, fix_stale_labelsCheck a P&ID's annotation text against the database values and review or fix the inconsistencies.
PLANTEDITAUTODESKCONNECTIONPOINTCoveredp3d_connect set_connection_pointEdit the properties of an Autodesk Connection Point in the model.
PLANTEDITCOGCoveredp3d_cog set, reset, getSet the centre-of-gravity location of piping, structure or equipment by hand.
PLANTINSERTAUTODESKCONNECTIONPOINTCoveredp3d_connect add_connection_point, connection_pointsCreate an Autodesk Connection Point at an open port.
PLANTPCFEXPORTCoveredp3d_iso export_pcf, pcf_statusExport selected line numbers from the model to PCF files in a chosen folder.
PLANTPCFTOPIPECoveredp3d_iso import_pcfBuild piping into the current drawing from one or more PCF files, mapping their specs to the project's.
PLANTSNAPSHOTCOGCoveredp3d_cog snapshot, snapshots, delete_snapshotCreate a COG snapshot marker for the current live COG selection.
PLANTTAGCoveredp3d_tag set, get, checkOpen Assign Tag on a 3D pipe or component and set its tag fields, with auto-numbering and browsing existing tags.
VALIDATECoveredp3d_validate plant_rulesRun Plant's validation rules over a drawing, a folder or the whole project and show the results.
VALIDATECONFIGCoveredp3d_validate rules, set_ruleChoose which of Plant's validation rules the project runs.
VALIDATESUMMARYCoveredp3d_validate plant_rules, summary, ignore / unignore, erase, exportShow the Validation Summary window: the error tree per drawing, zoom to each, ignore, revalidate selected, export to XLSX/CSV.
DATAMANAGERPartialp3d_report / p3d_bulk / p3d_project / p3d_find data_export / workbookJson import / data_views, set_data_view / by_class, by_propertyExports 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.
PLANTCUSTOMPARTSPartialp3d_pipe placeholder, custom_partPlaces 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.
PLANTPIDLINELISTPartialp3d_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_placeLists 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.
PLANTPIPEADDPartialp3d_pipe / p3d_connect run, fitting, path / routeRoutes 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.
PLANTPROJECTCOMPAREPartialp3d_project compare; mergeCompares 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.
PLANTROUTEFROMAUTODESKCONNECTIONPOINTPartialp3d_pipe action from_connection_pointStarts 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.
PROJECTSETUPPartialp3d_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_templateReads 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.
GEOMETRYCLEANUPOPENNNot applicableNot an agent task: toggle the Geometry Cleanup palette open or closed.
PLANTATTACHNot applicableNot an agent task: attach project files from a Collaboration project as external references.
PLANTCOLLABORATIONOPTIONSNot applicableNot an agent task: set check-in, check-out and synchronisation notification options for a Collaboration project.
PLANTHIDENot applicableNot an agent task: hide the selected Plant objects in the view.
PLANTPIPESNAPNot applicableNot an agent task: toggle pipe port object snaps.
PLANTPROJECTCOLLABORATIONNot applicableNot an agent task: share the project with Project Collaboration.
PLANTREFRESHNot applicableNot an agent task: download the latest versions of files from Vault and update the local project.
PLANTSHOWALLNot applicableNot an agent task: show all Plant 3D objects hidden by PLANTHIDE.
PLANTSPECVIEWERNot applicablep3d_spec list, types, partsNot an agent task: open the Spec Viewer palette to browse the current spec and place parts from it.
PLANTVAACEXPLORERNot applicableNot an agent task: launch the standalone Autodesk Vault client.
PROJECTMANAGERNot applicablep3d_drawing / p3d_project create, register, unregister, move, rename, create_folder, rename_folder, remove_folder / drawings, backup, info, copy_spec, remove_specNot an agent task: open the Project Manager palette, from which drawings are created, registered, renamed, moved, validated and backed up.

Coverage on GitHub, with the options not offered yet

Revisions

RevDateDescription
0.1.02026-11-29

First public release, as a preview.

What changed

Added

  • The MCP server and the AutoCAD Plant 3D 2027 plugin, installed together by install.cmd, checked by verify.cmd and removed by uninstall.cmd, all three double-clickable. The installer asks for administrator rights for the plugin step only, and offers to add the server to Claude Desktop, Claude Code, Cursor, Windsurf and VS Code, keeping everything else in their settings.
  • 41 tools covering P&ID, 3D piping, equipment, structural steel, isometrics, orthographics and project data. 18 are on by default and the rest come in groups; the installer gives Claude Desktop and Claude Code all of them, since those clients look tools up as they need them. TOOLS.md describes each one, and COVERAGE.md maps every Plant 3D menu command to the tools that do its job: 89 covered, 8 partly covered.
  • The same release on npm: npx @orygn/autocad-mcp install runs the installer, and MCP clients that start servers through npx can run @orygn/autocad-mcp directly. Listed in the MCP Registry as io.github.OrygnsCode/autocad-mcp.
  • Spec authoring in p3d_spec: parts from Autodesk's catalogues added to a project's pipe spec and taken out again, the way the Specs and Catalogs Editor does it. A valve body comes in with the actuator its catalogue maps to its size, so a spec can carry real control valves. Both spec files are backed up before each change.
  • Project setup with no drawing open: tag formats, picklists, specs and the project's other settings, as Project Setup does it, and p3d_drawing create makes a new project's first drawing from nothing. p3d_tag and p3d_catalog take a part, so the P&ID's and the 3D model's formats and lists can each be read or changed without switching drawings. A drawing's DWG Number, which the title block shows as its Drawing Number, takes a value like its area and description.
  • P&ID-to-3D object mapping in p3d_project: a P&ID class mapped to a 3D class, and its properties to 3D properties, so P&ID-3D validation compares them. Both names are checked against the project's own classes first, because Plant writes any name it is given into the mapping.
  • Joints between parts already placed, in p3d_connect: the joint Plant's routing would make, chosen from the joined ports' end types - flanged with the gasket and bolt set the spec calls for (at equipment nozzles too), socket weld, threaded, lug, and wafer with through-bolts sized as Plant sizes them, and an olet tapped into the pipe it sits on. Faces that don't meet are refused rather than joined across the gap.
  • Another kind of part in the same place in p3d_substitute (a gate valve for a ball valve, say), keeping its joints or saying which it lost and putting the old part back.
  • Spec parts' properties, such as Material, and a part family's description, written through p3d_spec.
  • Pipe supports' own dimensions read and set; tag formats given to a class so its objects get tags.
  • Isometric title blocks: new attributes filled from line-number properties (revision rows, design conditions), and the title block's UNIT taken from the line's pipes. acad_plot plots a sheet at its own size.
  • Drawings: a new drawing gets its own identity, so its title block names it and not the template it came from; registering refuses a drawing made for another kind of project part, and p3d_project flags drawings that share an identity.
  • --read-only and --require-approval, which refuse every write, or every write not yet approved for that exact call.
  • p3d_undo and acad_undo with verify, which check the drawing and the project data after the undo and report whether the change actually came back.

Known limitations

  • Some command options aren't offered yet. COVERAGE.md names each one, command by command.
  • Plant's isometric server sometimes crashes during a run, most often while drawing reference dimensions. That is a fault in Plant 3D. p3d_isometric ends such a run right away and reports it. Produce the line again, and restart AutoCAD before producing more.
  • AutoCAD sometimes shows "Unhandled exception has occurred in a component in your application", most often just after a drawing closes. Click Continue; until then tool calls time out, naming the box.
  • AutoCAD and the AI client have to run with the same rights. If AutoCAD runs as administrator and the client doesn't, the tools can't reach it; verify.cmd and the tools say when that is the cause.
  • Other MCP clients need the server entry added by hand; the README shows it.
  • A plot that switches layouts leaves the drawing marked as changed, so closing it asks to save; nothing in it changed.
  • A tag format with a fixed prefix, written through the tools for pipe supports, can leave their tags reading ?. Putting the whole tag in the support's Number works.
  • The release isn't code-signed. Windows may warn about the download, and a per-user install (-PerUser) is asked about at every AutoCAD start until you choose "Always Load".

Roadmap

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

  1. Download autocad-mcp-0.1.0-win-x64.zip and extract it.
  2. 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.
  3. Start AutoCAD Plant 3D and double-click verify.cmd.
  4. Restart your AI client and ask it to call acad_session.

With npm

npx @orygn/autocad-mcp install
npx @orygn/autocad-mcp verify

Needs 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.