solidcraft
SolidCraft
Operate SolidCraft (an open-source parametric CAD app in Rust: desktop, web, headless CLI, MCP) through its structured automation interface. Preserve the user's requested modelling workflow and target design.
Protocol reference
Read the relevant sections of references/control-protocol.md before constructing calls, and references/mcp.md for the MCP tool surface. These are downloaded upstream docs, captured from upstream main on 2026-11-15 for SolidCraft 0.42.x; upstream lives at github.com/tangency-labs/solidcraft (docs/). Relative links inside them (e.g. render-jobs.md, scripts.md) resolve against https://github.com/tangency-labs/solidcraft/blob/main/docs/; render-jobs.md and scripts.md are also in references/. The protocol lists methods, not individual modelling commands: discover those at runtime instead of inventing command IDs or parameters.
Locate the executables
solidcraft and solidcraft-cli are usually not on PATH even when the app is installed. Discover them, never guess a path:
- PATH:
command -v solidcraft solidcraft-cli(POSIX) orwhere solidcraft solidcraft-cli(Windows). - macOS:
mdfind -name SolidCraft.app; the binaries are/Applications/SolidCraft.app/Contents/MacOS/SolidCraftand.../solidcraft-cli(both ship in the same bundle). - Linux: the AppImage,
/snap/bin/solidcraft, or the shortcut's target. - Nothing to install to drive it. The control port is plain line-delimited JSON over loopback TCP;
scripts/sc.pyis a small dependency-free wrapper, and any language that opens a socket works.solidcraft-cliis only needed for the MCP bridge and headless runs.