v0.51.2 · Official stable v0.51.2 writes design format 74 and drawing format 11, and opens designs from every earlier version. Highlights across 0.45–0.51.2 include the Drawing workspace (ISO/ANSI sheets, section/detail/flat-pattern views, true-scale vector PDF, layered DXF export and Print), standalone solidcraft-cli archives and a Python client wheel (uvx --from <wheel> solidcraft mcp), Convert Mesh / file.stl_to_step rebuilding closed STL meshes into exact CAD solids plus Scan alignment and Section Stack, the UI re-open-sourced under MIT OR Apache-2.0, mcp --structured and commands --schemas, ~30% lower STEP peak memory, ~3× faster Extrude/Revolve, and 0.51.2 coil-flute and STEP layer-folder fixes.
v0.51.2 saves design format 74 (drawing format 11) and opens designs from every earlier version (.sc, .solidcraft, and legacy .solvecraft). Designs saved by 0.51.2 require 0.51.2 or newer to open; earlier 0.45–0.51.1 builds saved formats 63–73 and ask you to update before opening a newer file so drawings and newer features are never dropped. Keep an older copy before saving in v0.51.2 if collaborators still run an earlier build.
solidcraft-cli mcp is a Model Context Protocol server on stdio. Agents run the same engine commands as the toolbar, scripts, and CLI, create sketches, features, set parameters, measure, screenshot, export STEP/STL, undo/redo, without opening dialogs.
127.0.0.1:27878 (or the next free port up to 27893). Turn them off in Preferences › Assistant › “Let AI agents connect (control channel / MCP)” if you prefer.# Headless
solidcraft-cli mcp
# Headless from a design or script
solidcraft-cli mcp --in part.sc
# Bridged: app listens by default, bare mcp finds it (headless when none runs; --headless forces that)
solidcraft &
solidcraft-cli mcp
# Fixed port / second app
solidcraft --control 7878 &
solidcraft-cli mcp --connect 127.0.0.1:7878
On Snap installs the CLI is solidcraft.cli. The app writes the chosen port to control/current.port in its data folder; --control / SOLIDCRAFT_CONTROL_PORT still override.
SOLIDCRAFT_CONTROL_TOKEN over --token when bridging, command-line args are visible in the process list (official docs).The fastest path is in the app: Help › Connect AI assistants…. From a terminal (with solidcraft-cli available, see PATH notes below):
solidcraft-cli mcp setup # every client found on this computer
solidcraft-cli mcp setup --dry-run # show what it would write, change nothing
solidcraft-cli mcp setup --client opencode --live
mcp install is an alias for mcp setup. The command writes a solidcraft server entry using the full path of the solidcraft-cli that ran it, so the client does not need that binary on PATH. A client counts as installed when its config folder already exists; the setup does not start the client app. Only solidcraft entries change; everything else in the file (other servers, comments, order) stays as it was. Updates replace the file atomically and keep the previous version as <name>.bak. A failed write leaves the configuration intact. A file that does not parse is left alone. Setup also checks for changes since it read the file and refuses a stale edit (this narrows a race with another program writing settings; it cannot exclude a write after the check). After an update moves the program, running setup again only refreshes the path of an entry it wrote; an entry you changed (extra arguments, another program) is left as you have it. --live also adds solidcraft-live, which bridges to the open app on port 7878. Restart the client afterwards.
Since 0.22.1, on a normal launch the app can also do this itself: it adds or refreshes the solidcraft MCP entry for each installed client (Claude Desktop and Claude Code, Codex, OpenCode, Gemini CLI, Copilot CLI, Cursor, VS Code, Windsurf and Zed) and briefly reports which ones it connected. It does not overwrite entries you edited. Turn auto-connect off under Settings › Assistant › Make SolidCraft available to AI apps on this computer, that removes the entries it added. Automation runs (--control or SOLIDCRAFT_CONTROL_PORT) leave your clients alone. Help › Connect AI assistants… and solidcraft-cli mcp setup stay the explicit paths when you want to configure clients yourself; the launch-time auto-connect is complementary unless you disable it.
Supported --client values and where they write:
--client | Configuration file |
|---|---|
opencode | ~/.config/opencode/opencode.json (or .jsonc) |
claude-desktop | %APPDATA%\Claude\claude_desktop_config.json, ~/Library/Application Support/Claude/, ~/.config/Claude/, and the Microsoft Store package folder |
claude-code | ~/.claude.json (user-scope mcpServers) |
cursor | ~/.cursor/mcp.json |
codex | $CODEX_HOME or ~/.codex, config.toml (CLI, IDE extension, desktop) |
gemini | ~/.gemini/settings.json |
copilot | ~/.copilot/mcp-config.json (GitHub Copilot CLI) |
windsurf | ~/.codeium/windsurf/mcp_config.json |
zed | Zed settings.json (context_servers) |
vscode | VS Code user mcp.json |
OpenCode, Gemini, Copilot CLI, Windsurf, Zed and VS Code can use the same mcp setup --client … path. Manual OpenCode entry shape (when you edit by hand):
{
"mcp": {
"solidcraft": { "type": "local", "command": ["/path/to/solidcraft-cli", "mcp"], "enabled": true }
}
}
solidcraft-cli for MCPMost packages put solidcraft-cli on PATH after install. Since 0.22.1 that covers the Windows installer folder, the macOS app (links into /opt/homebrew/bin or /usr/local/bin) and the AppImage (small launcher in ~/.local/bin on first run), plus deb/rpm/FreeBSD in /usr/bin and Homebrew cask. Two stay off PATH by design: Snap exposes solidcraft.cli, Flatpak runs flatpak run --command=solidcraft-cli io.tangencylabs.solidcraft, use those as the client’s command with mcp as the args. The AppImage entry point is still the GUI; extracting solidcraft-cli from the squashfs remains a valid alternate. Verified steps and client configs:
From the official MCP doc:
claude mcp add solidcraft -- solidcraft-cli mcp
Or project .mcp.json:
{
"mcpServers": {
"solidcraft": { "command": "solidcraft-cli", "args": ["mcp"] }
}
}
With the control channel and MCP on by default (0.21.0+, restated through 0.30.1), start the app normally, then point Claude Desktop at a bare mcp (it finds the running app). After a normal package install, solidcraft-cli is usually on PATH everywhere since 0.22.1 (Windows installer; macOS app; AppImage’s ~/.local/bin launcher after first run; plus deb/rpm/FreeBSD and Homebrew), restart the client so it picks up the new PATH. If a terminal cannot find it (typical of older Windows installers), pass the full path, for example C:\Program Files\SolidCraft\solidcraft-cli.exe. For Snap use solidcraft.cli; for Flatpak use flatpak with args run --command=solidcraft-cli io.tangencylabs.solidcraft mcp (or set command/args to match). Official fixed-port example for claude_desktop_config.json still works when you name a port:
{
"mcpServers": {
"solidcraft": {
"command": "/path/to/solidcraft-cli",
"args": ["mcp"]
}
}
}
For a fixed port: args: ["mcp", "--connect", "127.0.0.1:7878"] and start the app with solidcraft --control 7878.
Codex is supported by solidcraft-cli mcp setup --client codex (config under $CODEX_HOME or ~/.codex, config.toml). You can also follow OpenAI’s Codex MCP documentation: Codex keeps MCP servers in ~/.codex/config.toml (or a project .codex/config.toml in trusted projects), shared by the Codex CLI, the IDE extension and the desktop app.
Add the headless server with one command:
codex mcp add solidcraft -- solidcraft-cli mcp
codex mcp list # check it is registered
Or edit ~/.codex/config.toml by hand, for example to bridge to a running app and allow a designs folder:
[mcp_servers.solidcraft]
command = "solidcraft-cli"
args = ["mcp", "--connect", "127.0.0.1:7878", "--allow-path", "/absolute/path/to/your/designs"]
Inside the Codex terminal UI, /mcp shows the active servers. Use a full path to the binary if solidcraft-cli is not on PATH (Snap: solidcraft.cli; Flatpak: flatpak run --command=solidcraft-cli io.tangencylabs.solidcraft; AppImage: first-run launcher in ~/.local/bin, or see where the CLI lives). Separately, SolidCraft’s in-app Agent chat panel can run Codex through npm install -g @agentclientprotocol/codex-acp (official docs).
Cursor is supported by solidcraft-cli mcp setup --client cursor (writes ~/.cursor/mcp.json). Manual config shape below follows Cursor documentation (.cursor/mcp.json or ~/.cursor/mcp.json). After setup or a hand edit, reload and confirm the tools appear in Cursor’s MCP settings.
{
"mcpServers": {
"solidcraft": {
"type": "stdio",
"command": "solidcraft-cli",
"args": ["mcp", "--allow-path", "/absolute/path/to/your/designs"]
}
}
}
Use a full path to the binary if Cursor cannot find solidcraft-cli on PATH. For Snap: solidcraft.cli. For Flatpak: flatpak with run --command=solidcraft-cli io.tangencylabs.solidcraft mcp.
Compact output stays off unless you turn it on. It is meant for agents that care about token size. Enable it with any of:
--connect, and agents its chat starts). The app is asked via mcp.options on the control channel when the agent first lists or calls a tool; the answer is kept for the session so listed tools keep their shape. A preference change applies to agent sessions started after it. If the app is not running yet, it is asked again on the next call.solidcraft-cli mcp --compactSOLIDCRAFT_MCP_COMPACT=1 (true, yes and on also work; 0, false, no, off or empty leave it off; any other value is an error at start-up)The command line can only turn it on: if the preference is already on, a server started without --compact is still compact. With compact on:
inspect_design summarises each sketch (id, name, plane, counts of points, curves, constraints and profiles, dof, status, visible) instead of returning full contents — roughly 4 KB of summary versus about 80 KB full for a 720-point sketch. Optional sketches: a list of names or ids for full detail, true for all full, or false / "summary" (the default). Optional bodies: a list of names — keep only those bodies and measure only them. An unknown sketch or body name is an error that lists the available names.solidcraft-cli mcp --connect 127.0.0.1:7878 --compact
SOLIDCRAFT_MCP_COMPACT=1 solidcraft-cli mcp --connect 127.0.0.1:7878
For a long batch — for example a polyline with hundreds of points — write the steps to a JSON file and call batch with path so the steps do not go through chat. The file is a JSON array of steps, or {"commands": [...]}, the same shape solidcraft-cli run takes and solidcraft-cli script writes. The server reads that file (at most 32 MB) only inside folders the agent may use, then runs the steps as if they had been sent inline (same tool steps, rollback and reply). Give either commands: [{command, params}] or path, not both; the call fails before anything is sent if both are given, the file cannot be read, is not JSON, or has no steps.
| Tool | Role |
|---|---|
version | The SolidCraft build answering the call: {version, commit, mode}. Connected sessions report the app’s version and commit with mode: "app"; headless sessions report their own build with mode: "headless". commit is "unknown" when unavailable, including builds without Git. This reads metadata without opening Help or returning diagnostics. Call it on its own, outside a batch. Official v0.45.0 MCP docs include this tool in the built-in set |
list_commands | Command catalog (id, label, tab/panel, shortcut, parameter docs, enabled now). Optional narrowing: filter (matches id, label, tab and panel), prefix (ids that start with it, e.g. sketch.), panel (one toolbar panel or tab, e.g. Modify; case-insensitive), compact: true (only id+label, about an eighth the size), fields (keep only the listed keys), and limit/offset for paging (reply becomes {commands, total, offset, next_offset}; next_offset is null on the last page). Without narrowing or paging the full catalog is about 350 KB |
describe_command | Parameter docs for one command; JSON Schemas for its input and result where the command has a typed contract (read-only) |
execute / batch | Run modelling commands; batch can roll back on error and reports rolled_back, undone, applied and not_run. Optional coalesce_parameters (default false) merges consecutive plain parameter edits so the design rebuilds once per run (one undo step; each step keeps a coalesced run length). timings: true adds per-step and total milliseconds; profile: true adds kernel boolean / tessellate / other splits where the app supports it; verbose: false keeps large-design replies smaller. Both tools also accept optional expect to assert volume_mm3 / bodies / bbox after a successful run (relative tol default 0.002; bbox coordinates within 0.05 mm); the reply gains expectation (ok, measured, expected, mismatch); a mismatch sets isError: true but keeps the design (undoable); invalid expect is refused before anything runs. expect is a tool argument, not a batch step key. Some tools may be named as steps (including compare_picture, which runs inspect.compare_picture without the overlay, and list_commands, which is narrowed by the same arguments as the tool); screenshot, body_topology, batch, check_parameters, pending, running and skill_reference cannot, nor can component.edit_in_place or component.finish_edit (send those alone with the execute tool, they switch to another design’s tab). A batch also fails before anything is sent when a step would certainly be refused at its turn (#5853): a step with no command, an unknown command id (the error names the closest ids), or, with --param-check strict, parameters that break a command’s contract. A headless session checks this itself; when bridged, an app that checks at the request’s own level checks against its own commands when it receives the batch (the server asks once per connection via control.capabilities / param_check); an older app is checked on the server against the server’s contracts before send (at strict, nothing that breaks a contract is sent). batch takes either commands: [{command, params}] or path (a script file), not both — see Long batches via path |
inspect_design / measure / body_topology | Read geometry and timeline; inspect_design also lists an assembly’s joints (turn off with joints: false). With Compact output, inspect_design gains sketches? (names/ids / true / false|"summary") and bodies? (name list) |
set_parameter | Create/change parameters and recompute |
check_parameters | Try parameter values without keeping them: one edit.checkpoint, set every value in one parameters.change {changes} (one rebuild), read the chosen reports, then edit.restore_checkpoint so the design, parameters and undo history match what they were. Args: set: {name: value} (number or expression each, same as set_parameter’s value); optional report? (measure, cylinders, errors; default all three). Reply includes values, recomputed, measure, errors/warnings (plus parameter_errors), cylinders (cylindrical faces coalesced) and restored: true. Errors on unknown parameter names, bad values, or a failed restore (restored: false + restore_error; tried values may still be in the design). Replaces the agent loop set_parameter→measure→body_topology→set_parameter-back. Not a batch step. Changes the design undoably then puts it back, not read-only, not destructive (alongside set_parameter/undo/redo; new_design remains destructive) |
screenshot | PNG of the model or window |
compare_picture | Compare the model’s outline to a part in a reference PNG/JPEG under the server’s allowed folders (same path rules as screenshot). Outline-only: holes are filled on both sides and not compared. Silhouette from view (default front) or camera; the picture’s part is found by growing background from the border. Optional crop_px/crop_fraction, part_fills_crop, fit (width|height|both; default width), bodies?, rows?. Returns an overlay image (model red, picture blue) plus text: overlap 0..1 and edge deltas in mm at nine stations. As a batch step it runs inspect.compare_picture without the overlay |
export | STEP, 3MF, STL, OBJ, URDF, … |
open / save / new_design | Document lifecycle |
undo / redo | History |
crash_reports | List this computer’s crash reports, or open one by id (backtrace and recent commands) |
skill_reference | Read a bundled skill document (solidcraft-modeling, solidcraft-mechanisms, solidcraft-editing, solidcraft-checking, solidcraft-reporting); optional file (default reference.md). Read-only; used by Agent chat when file tools are off (since 0.21.0). MCP initialize and the Agent chat system note steer agents here first |
running | Show what the app is busy with or has queued for every connected client (without parameters); replies even while the app is busy, so check it after a timeout before resending a change (since 0.18.3) |
pending | Bridged mode: after a long control request returns “still running”, wait up to 60 s for that result (done: false while it runs; pending: null when nothing is waiting). Read-only, with running, skill_reference and crash_reports |
The official MCP docs also record two session limits that matter when several agents share one app: the app serves 16 connections at once, and every bridged server, CLI run or script connected to it holds one; a call past that is refused without running, so it is safe to retry once a seat is free. execute view.pick with rays: [{origin, dir}…] answers in every session, including headless: for each world ray it returns the body, face index, world point, outward normal and depth where the ray first meets a shown body (null if it meets nothing; all: true lists every body, nearest first). Picking screenshot pixels still needs a connection to the running app. After the built-in tools, tools/list also lists every installed, enabled plugin entry as a tool named <plugin>.<entry>. Since 0.51.x, solidcraft-cli mcp --structured emits structured JSON output alongside text, solidcraft-cli commands --schemas dumps machine-readable command schemas, and the release Python wheel lets Python environments start MCP via uvx --from solidcraft-0.51.2-py3-none-any.whl solidcraft mcp (downloading the matching solidcraft-cli binary on first run).
Read-only vs undoable: version, skill_reference, crash_reports, pending and running are read-only. set_parameter, undo, redo and check_parameters change the design undoably (check_parameters puts it back afterward, not read-only, not destructive). new_design replaces the design (destructive). execute, batch, open, save, export, screenshot (whose path writes a file) and compare_picture (which reads the reference picture) are not read-only either, they can touch files under the server’s folders (destructiveHint and openWorldHint true).
Long-running requests (bridged): the server may block for up to about 300 s on a slow control call; set the MCP client timeout above 330 s. If a call times out or returns “still running”, do not resend the same change, call pending and/or running (or inspect_design) first.
Agents can set the same view-corner confirm controls via ui.prefs key view_confirm_corner (default false).
For the Preferences › Navigation › 3D mouse device app on this computer bridge, agents can set ui.prefs keys nav_bridge_enabled (default false) and nav_bridge_port (default 8765). Source: docs/3d-mouse.md and print docs.
Agents can set Preferences › Navigation Right drag orbits via ui.prefs key right_drag_orbits (default true; false leaves the camera alone on a right drag the mouse preset would otherwise orbit). Source: print docs.
Agents can set Preferences › Navigation trackpad zoom-with-key via ui.prefs key trackpad_zoom_modifier (off default; cmd, alt, or ctrl, hold that key alone so vertical two-finger scroll zooms). Source: print docs.
Agents can set Preferences › Design Assembly Move via ui.prefs keys assembly_move_handles (default true; false keeps the previous Move panel), joint_rotation_coarse (default 10°), and joint_rotation_fine (default 0.1°). Source: print docs.
Agents can set Preferences › Interface Quick measurement via ui.prefs key quick_measure (default false). Source: print docs.
Agents can set Preferences › Sketch & selection Select hidden geometry with Select Other via ui.prefs key select_other_hidden (default true; false restores visible-only under the pointer). Source: print docs.
Agents can set Preferences › Sketch Dimension values via ui.prefs keys dimension_input (view default or window), dimension_step_deg (default 1, range 0.001…180) and dimension_step_mm (default 1, range 0.001…1000). Source: print docs.
Agents can manage profile personal sheet metal rules via ui.prefs key personal_sheet_rules (and command sheet.manage_rules for the manager UI). Source: print docs.
Agents and scripts can manage the same Preferences › General › Settings profiles via settings.profile.list, settings.profile.save, settings.profile.apply, settings.profile.rename, settings.profile.delete, settings.profile.export and settings.profile.import (export/import use the solidcraft-profile/1 document format). These are engine commands through execute, not entries in the MCP protocol tools table above. Source: print docs.
Agents can check whether the open design changed without re-reading it by running document.revision through execute; the reply is {document_id, revision}, revision advances only when the design changes, and document_id identifies the open document (a different one after new_design or open). On the desktop control channel a client can call control.subscribe once instead of polling: the first reply matches document.revision, then the app pushes design.changed events whenever document_id or revision changes (coalesced to about ten per second while values keep moving; a second subscribe on the same connection is refused, ask document.revision for the current state). Source: docs/mcp.md and control-protocol.md (Following the design).
Sketch constraints and model geometry: for Coincident, Tangent, Equal, Parallel, Perpendicular, MidPoint (a point and a line, or two lines’ midpoints), Concentric, Collinear and Symmetry, any of the usual sketch arguments may instead be a model edge {edge: [x,y,z], body?} or vertex {vertex: [x,y,z], body?}. SolidCraft projects that into the sketch first; the projection is listed in created. Source: docs.solidcraft.io print (constraint command parameters).
Extrude profiles (solid.extrude): profile picks by index or by a point are normally stored by the curves around that region so they keep following parameter edits. When reference geometry, for example the projected outline of the face the sketch sits on, splits a drawn profile into regions, a pick on that drawn profile still takes the whole drawn profile. Optional exact_regions: true makes each index or point pick mean exactly the region it names, matching what the Extrude dialogs send. Source: docs.solidcraft.io print (solid.extrude parameters).
Parameter checking (since 0.17.0; solidcraft-cli run since 0.27.0; bridged app calls since 0.27.1): commands with a typed contract (describe_command shows schemas) can be checked when they are called. Pass --param-check off|warn|strict for a headless MCP session (including --in scripts), for solidcraft-cli run, and, since 0.27.1, for calls bridged to a running app: off is the default and changes nothing, warn runs the call but adds warnings such as a likely misspelt key, and strict refuses the call and leaves the design untouched. When bridged, the server asks the app once per connection whether the app checks at the request’s own level (control.capabilities and param_check in control-protocol.md). If the app does, every call and batch is sent with that level and the app checks against its own commands (so a newer app’s keys are not refused by an older server’s contracts). At strict, a reply that does not say the app checked at that level is an error (the call may have run unchecked, inspect the design), and the server then checks the next calls itself. An older app is still checked on the server against the server’s contracts before send (strict sends nothing that breaks one; a command with no server contract goes unchecked). With such an older app, keep server and app on the same release. To see what a single joint is attached to, run joint.inspect through execute. Source: docs/mcp.md.
Five bundled agent skills live under skills/ in the repo: solidcraft-modeling, solidcraft-editing, solidcraft-checking, solidcraft-mechanisms, and solidcraft-reporting (turns a user problem into a bug report: reproduce it in a fresh design, shrink it to a minimal command script, check with measure and a screenshot, and search existing issues first). The MCP skill_reference tool (since 0.21.0) returns those bundled docs without needing disk access. MCP initialize instructions steer connected agents to call skill_reference first, then plan dimensions, build in a few batch calls, and verify each stage with measure, SolidCraft’s own Agent chat system note gives the same pointer. Docs also document the bridged pending and running tools (22 tools total with undo/redo counted separately; running restated through 0.30.1). Still in 0.30.1: optional expect on execute/batch, check_parameters, compare_picture, and initialize guidance to call skill_reference first (22 tools with undo/redo counted separately). Scripting in 0.30.0 adds inspect.measure names_only, timeline.inspect feature type for round-trip into timeline.add, and sketch.create origin-plane axis directions; ui.inspect/ui.editFeature/ui.start report dialog and tool-window data on the control channel. Since 0.30.1, MCP/scripting replies from parameters.add, parameters.change and parameters.list put value in millimetres (degrees for angles) with 12 significant digits — check any script that used to read a user parameter’s own unit or angles in radians. Since 0.24.0 the in-app agent chat shows tool calls as plain summaries (details one click away). Since 0.23.0 the in-app AI assistant picks the provider first, then its model.
The desktop Assistant can drive the open design with a model running on your computer via Ollama, LM Studio, or another OpenAI-compatible server. You need a model with native tool calling (on Ollama, look for a tools capability) and enough VRAM for the model plus its context. Tool support alone does not guarantee good results.
Setup: start the server and load a model → Preferences › AI › Add agent… › OpenAI-compatible API → pick Ollama, LM Studio, or a custom URL → enter the base URL (for example http://localhost:11434/v1 for Ollama) and the model name → Test, then add → open the Assistant, select the endpoint, and set permissions (Ask / Edits / All).
Which models work? Tool-capable local models vary widely. Official measured results (standard test v1) live in GitHub issue #4851, check that table for the current pass counts rather than copying an outdated list. In broad terms, smaller tool-capable models in the ~8 GB VRAM class can work; larger ones often score higher. Models that only chat (no tools), write every call as text, or never call a tool score zero.
Troubleshooting (high level): replies that are JSON or code but change nothing usually mean weak tool calling, try another model from #4851. An HTTP 400 “does not support tools” means pick a tools-capable model. Empty replies often need a larger server context (for example Ollama num_ctx) and a new chat. Slow answers often mean the model is spilling from VRAM onto the CPU, try a smaller model or quantization. You can also measure a candidate yourself with solidcraft-cli bench-assistant (see the issue). Since 0.23.1 the Assistant also warns in the UI when a turn ends without using SolidCraft’s tools, and when an Ollama model has no tool support.
Official write-up: Agent chat (local-models section) and #4851.
By default, tools only touch:
--in design, the design open in the app, or whatever the agent last opened or saved, only when that folder lies strictly inside your home or temp folder (not home itself, not a parent such as / or /Users, not a hidden folder). Hidden files inside that folder (.env, .git) stay out of reach,open/save, or doc.open/file.save/file.save_as via execute/batch with a full path), and headless every folder a design was open in, until the server stops (up to the 16 most recent). A folder joins only after a successful open or save in it, naming a path is not enough. After a new design, an opened STEP, or a save-as elsewhere, the agent can still save beside that design,--allow-path DIR you add (that folder is reached in full, including hidden files).The working folder the server was started in does not count by itself, so home dotfiles such as ~/.ssh stay out of reach unless you allow them.
solidcraft-cli mcp --allow-path ~/designs --allow-path ~/exports
--allow-any-path removes the limit (previous behaviour), use carefully.
When a save (or any other call) is refused with “outside the folders this agent may use”, add the folder to the MCP client’s server args with --allow-path (or re-run solidcraft-cli mcp setup after editing), then restart the client. The agent should ask you to do that rather than saving through the app’s control port, which ignores these folder limits.
In bridged mode the server sends allow_paths and those open/save folders as design_folders with each request (see control-protocol.md); the app also adds its recovery folder and the folder of the design open in it under the same rules, prefer absolute paths. The app’s own file dialogs are never limited. Source: docs/mcp.md.
Conceptual flow from the official doc’s example session:
batch a sketch rectangle → extrude → fillet → cut a holemeasure volume / areascreenshot with view: "iso"export to a path inside an allowed folderDemo scripts: examples/demo/enclosure_mcp.py builds an enclosure over MCP.
Also see: CAD MCP servers compared · install guide · examples.