inventor-mcp
Enables AI assistants to control Autodesk Inventor via COM automation for part modeling, assembly constraints, drawing views, and more.
README
Autodesk Inventor MCP
An MCP server that bridges Claude (or any MCP-compatible client) to Autodesk Inventor via COM automation. It exposes Inventor's part modeling, assembly, drawing, and document tools as callable MCP tools, so an AI assistant can sketch, extrude, fillet, place assembly components, generate drawing views, and more — directly inside a running Inventor session.
Platform note: Autodesk Inventor's COM API is Windows-only. This server must run on Windows with Inventor installed, using a Python environment with
pywin32.
Features
- Sketching — lines, rectangles, circles, arcs, polygons, polylines, slots, ellipses, splines, fillets, construction geometry, mirroring, constraints, and dimensions.
- 3D part features — extrude, revolve, sweep, loft, coil (helical threads/springs), hole, fillet, chamfer, shell, rectangular/circular pattern, mirror, combine (boolean union/subtract/intersect).
- Work geometry — work planes, axes, and points.
- Parameters — list, read, set, and create model parameters.
- Properties — iProperties and mass properties (volume, mass, center of gravity, etc.).
- Geometry inspection — list bodies, faces, edges, and bounding boxes.
- Assemblies — place/ground/position components, add and inspect mate constraints, rectangular/circular component patterns, bill of materials.
- Drawings — sheets, base/projected views, dimensions, parts lists, title block fields.
- Appearances — list and apply visual styles/materials.
- Document & app control — new/open/save/close documents, active document switching, status checks.
- Visualization — zoom-to-fit and screenshot capture for visual verification.
Tool implementations live under inventor/tools/, organized by domain (sketch_tools.py, feature_tools.py, assembly_tools.py, drawing_tools.py, geometry_tools.py, parameter_tools.py, property_tools.py, appearance_tools.py, export_tools.py, view_tools.py, app_tools.py).
Requirements
- Windows with Autodesk Inventor installed and licensed.
- Python 3.10+ (a virtual environment is recommended).
- Dependencies listed in
requirements.txt, notably:
Installation
# from the repository root
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
Running the server
The server communicates over stdio, as expected by MCP clients such as Claude Desktop:
.venv\Scripts\python.exe inventor_mcp.py
It will connect to a running Inventor instance, or launch one if none is open.
Using with Claude Desktop / Cowork
Add an entry to your MCP client's configuration pointing at the venv interpreter and inventor_mcp.py, for example:
{
"mcpServers": {
"inventor": {
"command": "C:\\path\\to\\repo\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\repo\\inventor_mcp.py"]
}
}
}
A ready-to-customize Claude Desktop Extension (.mcpb) manifest template is provided at inventor-mcp-ext/manifest.example.json — copy it to inventor-mcp-ext/manifest.json, replace the <ABSOLUTE_PATH_TO_REPO> placeholders with your local checkout path, then package or load it.
Architecture notes
inventor/connection.pymanages the connection toInventor.Application, re-initializing COM per call to stay safe across the multi-threaded calls an MCP server can receive.inventor/registry.pytracks sketch entities and other COM object references by an opaqueentity_idstring, so tool calls can refer back to objects created in earlier calls without re-querying geometry.inventor/helpers.pyandinventor/units.pyprovide shared geometry helpers and millimeter/centimeter unit conversions (Inventor's API is internally in centimeters).- Several feature/sketch collections in Inventor's COM type library are wrapped with
win32com.client.dynamic.Dispatchrather than the early-bound gencache proxy, working around agen_pycache staleness issue observed with certain collections (e.g.CoilFeatures,SweepFeatures,LoftFeatures,CombineFeatures). - Closed sketch profiles are built by chaining each new line from the previous line's own endpoint object, rather than via
AddCoincidenton independent points — this avoids a COM error Inventor raises when merging two line-endpointSketchPoints directly.
License
Free for non-commercial use. Commercial use requires prior written permission from the author — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。