mcp-cad
Provides direct parametric control over Autodesk Inventor CAD models, including tools for connection management, document operations, sketch creation, 3D features, parameter editing, iProperties management, and export to STEP, STL, PDF, and DXF formats.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-cadextrude the sketch profile by 10 mm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-cad
MCP server for Autodesk Inventor. Give AI agents direct parametric control over your CAD models.
32 tools across 7 domains — connection, documents, sketches, 3D features, parameters, iProperties, and export. All through COM automation. No VBA, no macros.
Requirements
Windows with Autodesk Inventor installed (any recent version)
Python 3.10+
OpenCode, Claude Desktop, or any MCP-compatible client
Quick start
git clone https://github.com/Andiveli/mcp-cad.git
cd mcp-cad
.\scripts\install.ps1The installer creates a virtual environment, installs dependencies, runs the test suite, and auto-configures OpenCode. Open the folder in OpenCode and the server starts automatically.
Tools
Connection
Tool | Description |
| Connect to a running Inventor instance or launch a new one |
| Check connection health and document state |
| Release COM reference without closing Inventor |
Documents
Tool | Description |
| Open an existing Inventor document |
| Create a new part document |
| Create a new assembly document |
| Save the active document |
| Save to a new path |
| Close the active document |
Sketches
Tool | Description |
| Create a new sketch on XY, XZ, or YZ plane |
| Draw a line segment |
| Draw a circle |
| Draw an arc |
| Draw a rectangle (2-corner) |
| Add a dimension constraint |
3D Features
Tool | Description |
| Extrude a sketch profile (join/cut/intersect) |
| Revolve a profile around an axis |
| Apply fillet to edges |
| Apply chamfer to edges |
Parameters
Tool | Description |
| List model parameters (with optional filter) |
| Get a parameter value |
| Set a parameter value |
| Set a parameter using an expression |
iProperties
Tool | Description |
| Get an iProperty |
| Set an iProperty |
| Get all Summary iProperties |
| Get a custom property |
| Set (or create) a custom property |
Export
Tool | Description |
| Export to STEP |
| Export to STL |
| Export to PDF |
| Export sketch/flat pattern to DXF |
Architecture
mcp_cad/
├── server.py FastMCP instance + 32 tool registrations
├── errors.py Exception hierarchy (InventorError → COM/permission/not-found)
├── inventor/
│ ├── client.py COM connection lifecycle (connect, health, disconnect)
│ ├── document.py Document operations
│ ├── sketch.py 2D sketch geometry
│ ├── feature.py 3D features
│ ├── parameter.py Model parameters
│ ├── property.py iProperties
│ └── export.py STEP/STL/PDF/DXF export
└── tests/
200 tests, COM-mocked, run on LinuxAll managers receive the driver and access the COM object via driver.inventor — a property that always reflects the current connection state. No stale references.
Development
# Run tests (works on Linux)
python -m pytest tests/ -v
# Run with coverage (needs pytest-cov in venv)
python -m pytest tests/ --cov=mcp_cad --cov-report=term-missingTests mock the entire COM layer — no Inventor installation needed for development. 200 tests covering happy paths, error scenarios, disconnected guards, and edge cases.
Configuration
OpenCode (auto-configured by installer)
{
"mcp": {
"mcp-cad": {
"type": "local",
"command": [".venv\\Scripts\\python.exe", "-m", "mcp_cad"]
}
}
}Claude Desktop (manual)
{
"mcpServers": {
"mcp-cad": {
"command": "C:\\path\\to\\mcp-cad\\.venv\\Scripts\\python.exe",
"args": ["-m", "mcp_cad"]
}
}
}Limitations
Windows-only (Inventor COM requires native Windows)
stdio transport only (SSE/remote transport planned)
No Docker support (COM cannot cross container boundaries)
Assemblies, drawings, iLogic, and sheet metal not yet implemented
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Andiveli/mcp-cad'
If you have feedback or need assistance with the MCP directory API, please join our Discord server