AlibreObjectModel.Mcp
2.0.1
{ "inputs": [ { "type": "promptString", "id": "ALIBRE_INSTALL_DIR", "description": "Folder containing AlibreX.dll (e.g. C:\\Program Files\\Alibre Design 29.0.1.29069\\Program). Auto-detected under Program Files if not set." } ], "servers": { "AlibreObjectModel.Mcp": { "type": "stdio", "command": "dnx", "args": ["AlibreObjectModel.Mcp@2.0.1", "--yes"], "env": { "ALIBRE_INSTALL_DIR": "${input:ALIBRE_INSTALL_DIR}" } } } }
.vscode/mcp.json settings file.
dotnet tool install --global AlibreObjectModel.Mcp --version 2.0.1
dotnet new tool-manifest
dotnet tool install --local AlibreObjectModel.Mcp --version 2.0.1
#tool dotnet:?package=AlibreObjectModel.Mcp&version=2.0.1
nuke :add-package AlibreObjectModel.Mcp --version 2.0.1
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.
v2.0.1 - Added package icon. No functional changes. v2.0.0 - Now built against AlibreObjectModel 2.0.0 (was 1.0.0). No tool was added, removed or changed: all 25 tools keep their exact names and input schemas. Internal migration only - the object model's root and session APIs now return wrapper types, so the server unwraps them with .Native. Added MCP Registry manifest (.mcp/server.json) and mcp-name README tag ahead of publishing to the Official MCP Registry.