Local Model Context Protocol (MCP) gateway for Autodesk Inventor 2022-2027.
English | Tiếng Việt | 简体中文 | 日本語
ipt-mcp connects MCP-capable AI clients (Claude, Antigravity, Codex, Grok Build, Pi, OpenCode, Devin, Kilo, Hermes, OpenClaw, and other stdio MCP clients) directly to a local Autodesk Inventor 2022-2027 CAD session through its native .NET API. Model parametric parts, compose and inspect assemblies, automate native drawings, drive Excel parameters, Standard iParts, sheet fabrication, and iLogic, or run C# scripts locally with no cloud relay.
| Aspect | Details |
|---|---|
| Host application | Autodesk Inventor 2022-2027 (Windows) |
| Architecture | .NET 10 MCP stdio server + in-process per-year Inventor add-in (STA marshaled) |
| Local transport | Loopback TCP (2022-2024) and Named Pipe (2025-2027), token-authenticated |
| Tool surface | 150 typed tools across 19 toolsets (144 with --disable-send-code), plus C# scripting and ToolBaker |
| Safety controls | --read-only mode (39 read-only tools), explicit PID/document pinning, output budgets, checkpoints |
| MCP protocol | MCP stdio (Tools, Prompts, explicit permission annotations, response budgets) |
| License | Apache-2.0 |
| Area | What you can do |
|---|---|
| Parametric parts and sketches | Create sketches, lines, circles, arcs, rectangles, text, constraints, and sketch point dimensions; extrude, revolve, loft, sweep, fillet, chamfer, hole, pattern, combine, or build full parts from JSON recipes (inventor_create_part, inventor_build_solids). |
| Parameters, iProperties, Excel, iParts | Read/edit model and user parameters, link and reload .xlsx parameter tables, inspect iProperties and mass properties, and manage Standard iPart factories and Excel catalogs. |
| Assemblies and verification | Place single or batch occurrences, author iMates, add constraints, configure design views and appearances, and run BOM, DOF, constraint health, interference, and minimum-distance clearance checks. |
| Native drawings | Create .idw/.dwg sheets, base/projected/section/detail views, attached dimensions, balloons, notes, symbols, custom tables, view sketches, document-local styles, PNG sheet captures, and PDF/DWG/DXF exports. |
| Sheet fabrication and iLogic | Author sheet fabrication parts, faces, flanges, cutouts, thickness overrides, trial unwraps, and flat patterns; inspect and run internal/external iLogic rules, commands, and undo. |
| Export and visual inspection | Control camera and view states, capture multi-angle PNGs, derive lightweight envelopes, and export STEP, STL, ACIS SAT (Revit interop), and DXF. |
| C# scripting, ToolBaker, host UI | Execute synchronous Roslyn C# (inventor_send_code) with reusable code modules, bake repeated workflows via ToolBaker, and monitor live WPF activity toasts, command history, and saved task reports. |
Native Autodesk Inventor 2027 mechanical assembly and installation drawing (15 views, 111 native dimensions, 21 item tags, 2 parts lists, custom title block) created and refined through an agent-driven ipt-mcp workflow with human review. Click to inspect full resolution (4096 x 2893).
Benchmark records and verification scope: docs/benchmarks/README.md (v0.2.1 Inventor 2027 live record).
Example prompts you can run immediately:
- "Inspect the active assembly BOM, list any sick constraints, check interference, and summarize clearances below 5 mm."
- "Create a parametric mounting bracket part in mm with a 4-hole bolt pattern driven by user parameters, then report mass properties."
- "Link
C:/parts/flange.xlsxstarting atA6to the active part, verify parameter readback, and capture an isometric preview." - "Inspect the active drawing sheets and views, align annotation styles locally, and capture sheet 1 as PNG."
Paste this prompt into an AI agent with local terminal access (Claude, Antigravity, Codex, Grok Build, Pi, OpenCode, Devin, Kilo, Hermes, OpenClaw, ...):
Check the current version of Inventor in this PC and install the BIMwright ipt-mcp latest release for me
- Download latest release: open GitHub Releases, download
IptMcp.Setup-<tag>-win-x64.zip(and.zip.sha256to verify), and extract it to a folder. - Run the installer: close Inventor, open PowerShell in the extracted folder, preview with
-WhatIf, then install:
powershell -ExecutionPolicy Bypass -File .\install.ps1 -WhatIf
powershell -ExecutionPolicy Bypass -File .\install.ps1- Or build and install from source: clone this repository, build the server (no Inventor required) or package the add-in bundle on a machine with Inventor interop, then run
install.ps1:
git clone https://github.com/bimwright/ipt-mcp.git
cd ipt-mcp
dotnet build src/server -c Release
pwsh -NoProfile -File .\scripts\package-client-setup.ps1
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1Verify: wire %LOCALAPPDATA%\Bimwright\ipt-mcp\server\current\ipt-mcp.exe in your AI client, restart the client, open a file in Inventor, and ask your agent to run inventor_get_document_info.
Full setup details (checksum verification, upgrades, uninstall, build from source, per-client wiring): docs/install.md | docs/mcp-client-wiring.md.
AI Client (Claude / Antigravity / Codex / Grok Build / Pi / OpenCode / ...)
| MCP over stdio
v
Bimwright.Ipt.Server (.NET 10 console gateway; no Inventor SDK dependency)
| Loopback TCP (2022-2024) or Named Pipe (2025-2027) + session token
v
Bimwright.Ipt.Plugin.InvNN (per-year ApplicationAddInServer inside Inventor.exe)
| InventorStaDispatcher (hidden message-only WinForms STA marshaling)
v
Autodesk Inventor .NET API (2022-2027)
- Two local Windows processes: the MCP server builds and tests without Inventor installed; per-year add-ins compile from shared
src/shared/**source against realAutodesk.Inventor.Interop.dll. - STA-thread safe: because Inventor has no Revit-style
ExternalEvent, commands marshal onto Inventor's main STA thread viaInventorStaDispatcher, while WPF toasts run on a separate dedicated STA UI thread. - Full design, discovery, and wire protocol details: ARCHITECTURE.md.
| Version | Target Framework | Transport | Notes |
|---|---|---|---|
| 2022-2024 | net48 |
Loopback TCP | Per-year shell compiled from shared source |
| 2025-2026 | net8.0-windows7.0 |
Named Pipe | Avoids Windows loopback firewall prompt |
| 2027 | net10.0-windows7.0 |
Named Pipe | Native .NET 10 host target (UseInventorAssemblyContext) |
Always use 4-digit calendar years (2022-2027), never legacy version codes. Check manifest.json in each Setup ZIP for the exact prebuilt Inventor years included.
| Toolset | Default | Read-only | Count | Examples |
|---|---|---|---|---|
meta |
Yes | 2 | 3 | inventor_list_available_targets, inventor_get_current_target, inventor_switch_target |
query |
Yes | 12 | 12 | inventor_health, inventor_get_document_state, inventor_list_bodies, inventor_probe_brep |
document |
Yes | 0 | 12 | inventor_new_part, inventor_open_document, inventor_save_document, inventor_save_checkpoint |
parameters |
Yes | 3 | 7 | inventor_list_parameters, inventor_set_parameter, inventor_link_excel_table, inventor_reload_excel_table |
properties |
Yes | 3 | 4 | inventor_get_iproperty, inventor_set_iproperty, inventor_list_iproperty_sets, inventor_get_mass_properties |
sketch |
Yes | 0 | 11 | inventor_create_sketch, inventor_draw_rectangle, inventor_add_sketch_point_dimension, inventor_close_sketch |
feature |
Yes | 0 | 17 | inventor_extrude, inventor_fillet, inventor_hole, inventor_create_part, inventor_build_solids, inventor_batch_execute |
export |
Yes | 1 | 11 | inventor_capture_view, inventor_export_step, inventor_export_sat, inventor_export_dxf, inventor_view_fit |
assembly |
Yes | 0 | 9 | inventor_place_occurrence, inventor_place_occurrences, inventor_add_constraint, inventor_create_design_view |
assembly_query |
Yes | 6 | 6 | inventor_get_assembly_bom, inventor_list_constraints, inventor_check_interference, inventor_measure_min_distance |
drawing_query |
Yes | 2 | 2 | inventor_get_drawing_info, inventor_find_view_geometry |
drawing |
Yes | 0 | 20 | inventor_new_drawing, inventor_add_drawing_view, inventor_add_section_view, inventor_add_drawing_dimension, inventor_export_drawing |
sheet_fabrication_query |
Yes | 1 | 1 | inventor_sheet_fabrication_info |
sheet_fabrication |
Yes | 0 | 7 | inventor_new_sheet_fabrication_part, inventor_sheet_fabrication_flange, inventor_flat_pattern, inventor_unwrap_try |
ilogic |
Yes | 4 | 8 | inventor_ilogic_list_rules, inventor_ilogic_run_rule, inventor_list_commands, inventor_undo |
ipart |
Yes | 1 | 8 | inventor_get_ipart_info, inventor_create_ipart_factory, inventor_sync_ipart_excel, inventor_generate_ipart_members |
code |
Yes | 1 | 6 | inventor_send_code, inventor_save_code_module, inventor_list_code_modules, inventor_ilogic_upsert_rule |
toolbaker |
Yes | 3 | 3 | inventor_list_baked_tools, inventor_list_bake_suggestions, inventor_create_bake_issue_draft |
toolbaker_write |
Yes | 0 | 3 | inventor_run_baked_tool, inventor_accept_bake_suggestion, inventor_dismiss_bake_suggestion |
Default startup (--toolsets all) exposes 150 tools (144 with --disable-send-code; 39 under --read-only). Use --toolsets <csv> to narrow exposure.
Complete 150-tool catalog: docs/tools.md. Benchmarks: docs/benchmarks/README.md.
- Local-only loopback transport authenticated by a per-session random token (never exposed by MCP meta tools).
- Explicit PID and active-document confirmation required before writes (
inventor_switch_target(target="pid:<n>", verify=true)). --read-onlyremoves all write and code-execution tools at registration time, leaving only the 39 read-only tools.inventor_send_codeand iLogic source authoring are gated by--disable-send-codeand the host kill switchBIMWRIGHT_INVENTOR_PLUGIN_DISABLE_SEND_CODE=1.- Never approve broad
mcp__ipt-mcp__*wildcards; use the test-verified 39-tool read-only allowlist in docs/safety.md. - Detailed security, auto mode, ToolBaker policy, response budgets, and opt-in logging: docs/safety.md | docs/configuration.md | docs/toolbaker.md.
| Document | Topic |
|---|---|
| ARCHITECTURE.md | Process model, STA marshaling, discovery, Roslyn scripting, wire protocol |
| AGENTS.md | Agent installation, update verification, and operating instructions |
| docs/install.md | Setup ZIP, checksums, upgrades, uninstall, build from source, Not Redistributed |
| docs/mcp-client-wiring.md | Configuration for Claude, Antigravity, Codex, Grok Build, Pi, OpenCode, Devin, Kilo, Hermes, OpenClaw |
| docs/tools.md | Full catalog of all 150 MCP tools, document targeting, selectors, dialogs |
| docs/configuration.md | CLI flags, environment variables, response budgets, spill files, call logging |
| docs/safety.md | Target pinning, verified 39-tool read-only allowlist, permissions, C#/iLogic policy, health |
| docs/host-ui.md | Smart WPF activity toasts, task reports, ribbon toggles, command history |
| docs/workflows.md | Parametric parts, Excel tables, iParts, assemblies, drawings, sheet fabrication, smoke checklist |
| docs/toolbaker.md | ToolBaker self-evolution lifecycle, dispatch policy, and code modules |
| docs/benchmarks/README.md | Public live benchmark records and verification scope |
| CHANGELOG.md | Version history and release notes |
| Repository | Scope | License |
|---|---|---|
| rvt-mcp | Autodesk Revit 2022-2027 MCP gateway | Apache-2.0 |
| dwg-mcp | Autodesk AutoCAD 2022-2027 MCP gateway | Apache-2.0 |
| nwd-mcp | Autodesk Navisworks Manage 2022-2027 MCP gateway | Apache-2.0 |
| ipt-mcp | Autodesk Inventor 2022-2027 MCP gateway (this repository) | Apache-2.0 |
| bim-wiki | Bilingual BIM knowledge base (ISO 19650 and Vietnam BIM regulations) | CC-BY-SA 4.0 |
Apache License 2.0. Autodesk and Inventor are registered trademarks of Autodesk, Inc.; bimwright is an independent open-source project and is not affiliated with, sponsored by, or endorsed by Autodesk, Inc.

