AI and MCP

rolidium mcp lets an AI client build, inspect and export a model without a window. It is part of the public core and is in both packages, Linux and Windows.

Connect it in one step

Run rolidium mcp-config (add --root DIR to choose the folder). It prints ready-made commands for Claude Code and a JSON configuration for other clients, with the real path of the program, so nothing has to be filled in.

Claude Code:

claude mcp add rolidium -- /path/to/rolidium mcp --root /home/me/models

A project file .mcp.json or the settings of Claude Desktop:

{
  "mcpServers": {
    "rolidium": {
      "command": "/path/to/rolidium",
      "args": ["mcp", "--root", "/home/me/models"]
    }
  }
}

On Windows use "command": "C:\\path\\to\\rolidium.exe" with the same arguments.

Safe by design

  • --root DIR is the only directory the server reads from and writes to. .., absolute paths elsewhere and symbolic links pointing out are refused. Without it, all file tools are refused.
  • --timeout SECONDS limits one operation (default 120). A slower one is cancelled and the model stays unchanged.
  • No network access, and no command is ever run.
  • Every failure leaves the model unchanged and says what to try next.

What it speaks

JSON-RPC 2.0 over standard input and output, one message per line. The server answers both the protocol revision with the initialize handshake (2025-11-25 and older) and the revision 2026-07-28 with server/discover. Every tool has an input schema and annotations; pictures come back as PNG images from a built-in software renderer, so it works on a machine without a graphics card.

The tools

GroupTools
Documentnew_document open_document save_document undo redo
Filesexport_stl export_step import_step
Sketchstart_sketch sketch_line sketch_rectangle sketch_circle sketch_arc list_regions
Solidsadd_box pull_region pull_face revolve_region loft_profiles sweep_along_path combine_bodies
Edgesround_edges chamfer_edges fill_loop join_ends
Bodiesmove_body rotate_body rename_body delete_item set_material
Curvesadd_3d_line add_helix
Inspectdescribe_model select_geometry measure mass render_view

Units are millimetres and degrees, Z is up, and a circle is given by its diameter.

Scripts without an assistant

The same commands work as a script for rolidium cli run script.txt, one command per line:

box 60 40 8
sketch top
circle 30 20 12
pull-region 0 -8 cut        # through hole, diameter 12
round 3 near 0 0 8          # round the edge closest to this point
export-stl plate.stl
render plate.png 1200 900 iso
save plate.rolidium

Later, the server will be able to drive a running window, so you can watch the model change live and undo what the assistant did.