P&ID
Place and tag equipment, valves and instruments; draw lines and connect them; manage line groups and off-page connectors; label objects; run Plant's validation and work through what it finds.
autocad-mcp is a Model Context Protocol server that runs inside AutoCAD and works through each toolset's own API. In Plant 3D a valve on a P&ID is a row in the project database, the line it sits on is another row, and the connection between them is a third. autocad-mcp works at that level: 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.
In Plant 3D
Plant 3D keeps that data in the project, and its own API reaches it from inside AutoCAD. Running there is what makes the engineering data reachable, so an agent can read and change the project the way Plant 3D itself does.
Place and tag equipment, valves and instruments; draw lines and connect them; manage line groups and off-page connectors; label objects; run Plant's validation and work through what it finds.
Place pipe, fittings and valves from the project's specs, and route pipe from a nozzle or an open pipe end with the joints, flanges and welds the spec calls for. Split, merge and substitute parts, and place pipe supports.
Produce registered isometrics and their bills of materials by line number, and set up what goes on the sheet. Create, annotate and regenerate orthographic views.
Add catalogue parts to a project spec, valve bodies with their actuators. Place equipment and structural steel. Set up projects, run reports, and export and import through the Data Manager.
Safety
Work on a copy of any project that matters. The agent is told to name the project before its first
change in a session, and Autodesk's sample projects are never written to. p3d_undo with
verify checks the drawing and the project data afterwards and reports what actually
came back.
Start the server with --read-only and every write is refused; the 14 tools that only write are not offered. Reading works as normal.
Start it with --require-approval and 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.
Install
You need Windows 11, AutoCAD Plant 3D 2027 signed in, and an MCP client. The server is self-contained, so there is no .NET to install.
Download the zip from GitHub Releases and extract it. Close AutoCAD and run install.cmd: it installs the plugin and the server and offers to add them to each AI client it finds. Then start Plant 3D and run verify.cmd.
With Node.js 18 or later, close AutoCAD and run npx @orygn/autocad-mcp install, then npx @orygn/autocad-mcp verify with Plant 3D open.
FAQ
--read-only to refuse every write, or with --require-approval, so every write is refused until you approve it, and an approval covers that one call only.Built by Orygn
Orygn builds custom software, security tooling, and infrastructure-level systems for teams that need them production-grade from day one. autocad-mcp came out of the same kind of work, applied to the plant design data engineers work in every day.
Work with Orygn