AlibreObjectModel.Mcp
1.0.2
See the version list below for details.
dotnet tool install --global AlibreObjectModel.Mcp --version 1.0.2
dotnet new tool-manifest
dotnet tool install --local AlibreObjectModel.Mcp --version 1.0.2
#tool dotnet:?package=AlibreObjectModel.Mcp&version=1.0.2
nuke :add-package AlibreObjectModel.Mcp --version 1.0.2
AlibreObjectModel.Mcp (.NET tool)
AlibreObjectModel.Mcp is a Model Context Protocol (MCP) server. It exposes the Alibre Design CAD API (parts, sketches, features, parameters) as MCP tools over stdio. Use it from Claude Desktop, Claude Code, or any MCP client.
| Package ID | AlibreObjectModel.Mcp |
| Command | alibre-cad-mcp |
| Tools | 25 (parts, sketches, features, parameters, validation) |
| Runtime | .NET 8+ (Windows only, x64) |
| License | MIT |
Requirements
- Windows x64.
- Alibre Design 29.x, installed and running. This server drives Alibre over COM. It does not redistribute
AlibreX.dll; it loads that at runtime from your licensed Alibre install. - .NET 8+ runtime for
dotnet tool install, or the .NET 10 SDK fordnx.
Installation
dotnet tool install --global AlibreObjectModel.Mcp
Run it without installing (needs the .NET 10 SDK):
dnx AlibreObjectModel.Mcp --yes
Wiring into an MCP client
Claude Code:
claude mcp add alibre-cad -- alibre-cad-mcp
Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"alibre-cad": { "command": "alibre-cad-mcp" }
}
}
Usage (example tool calls)
alibre_attach
create_part name:"DemoBox"
create_sketch plane:"XY" name:"Profile"
add_rectangle_to_sketch sketch_name:"Profile" x1:-50 y1:-30 x2:50 y2:30
extrude_sketch sketch_name:"Profile" depth:40 feature_name:"Base"
get_part_summary
Tools (25)
Connection & status
alibre_attach: attach to the running Alibre instancealibre_status: list all open sessions (name, type, which is active)alibre_version: report the server versionactive_session_info: details on the active session
Sessions & files
create_part: create a new partcreate_assembly: create a new assemblycreate_drawing: create a new drawingopen_file: open a part / assembly / drawing filesave_active_session: save the active sessionclose_active_session: close the active session (saves by default)
Sketching
create_sketch: create a sketch on a plane (XY / XZ / YZ)add_line_to_sketch: add a lineadd_rectangle_to_sketch: add a rectangleadd_circle_to_sketch: add a circlevalidate_sketch: check the sketch is closed and validlist_sketches: list sketches on the active partrename_sketch: rename a sketch
Features
extrude_sketch: extrude a closed sketch into a bosslist_part_features: list featuresrename_feature: rename a featuresuppress_feature: suppress or unsuppress a feature
Parameters
list_part_parameters: list driving parameters (name, value, units)get_part_parameter: get one parameter valueset_part_parameter: set a parameter (triggers a regen)
Inspection
get_part_summary: body / face / edge / vertex counts, volume, surface area
© 2026 Stephen S. Mitchell. Released under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
v1.0.2 - Robustness: each COM call now runs on a dedicated worker thread under a 2-minute budget; a call that wedges is abandoned and the Alibre connection is rebuilt on the next call, instead of stalling every later tool behind the shared lock. A dropped Alibre connection (RPC server unavailable, application closed and reopened) is now detected and re-acquired instead of failing until the server is restarted. v1.0.1 - Fix: create_part now creates a normal solid part (previously it created a Sheet Metal part, which broke the sketch/extrude flow). Fix: alibre_attach / save / close / active_session_info no longer throw a COMException when no document is open; they report "no active session" cleanly. Internal: selection logic extracted for unit testing (no behavior change). v1.0.0 - Initial public release, 25 CAD tools over stdio.