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}"
      }
    }
  }
}
                    
This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's .vscode/mcp.json settings file.
dotnet tool install --global AlibreObjectModel.Mcp --version 2.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local AlibreObjectModel.Mcp --version 2.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
#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 for dnx.

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 instance
  • alibre_status: list all open sessions (name, type, which is active)
  • alibre_version: report the server version
  • active_session_info: details on the active session

Sessions & files

  • create_part: create a new part
  • create_assembly: create a new assembly
  • create_drawing: create a new drawing
  • open_file: open a part / assembly / drawing file
  • save_active_session: save the active session
  • close_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 line
  • add_rectangle_to_sketch: add a rectangle
  • add_circle_to_sketch: add a circle
  • validate_sketch: check the sketch is closed and valid
  • list_sketches: list sketches on the active part
  • rename_sketch: rename a sketch

Features

  • extrude_sketch: extrude a closed sketch into a boss
  • list_part_features: list features
  • rename_feature: rename a feature
  • suppress_feature: suppress or unsuppress a feature

Parameters

  • list_part_parameters: list driving parameters (name, value, units)
  • get_part_parameter: get one parameter value
  • set_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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
2.0.1 0 8/11/2026
2.0.0 0 8/10/2026
1.0.4 101 7/26/2026
1.0.2 89 7/25/2026
1.0.1 105 7/25/2026
1.0.0 104 7/24/2026

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.