Unofficial community guide — not affiliated with or endorsed by SolidCraft / Tangency Labs. Official: solidcraft.io · GitHub · docs

Drive SolidCraft with MCP (Claude & Cursor)

Primary source: docs/mcp.md / official MCP guide. Official client examples cover Claude Code and Claude Desktop. Cursor uses the standard MCP stdio config from Cursor’s MCP docs with the same command.

What the MCP server does

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.

Start it

# Headless
solidcraft-cli mcp

# Headless from a design or script
solidcraft-cli mcp --in part.solidcraft

# Bridged to the running app
solidcraft --control 7878 &
solidcraft-cli mcp --connect 127.0.0.1:7878

On Snap installs the CLI is solidcraft.cli.

Prefer SOLIDCRAFT_CONTROL_TOKEN over --token when bridging — command-line args are visible in the process list (official docs).

Claude Code

From the official MCP doc:

claude mcp add solidcraft -- solidcraft-cli mcp

Or project .mcp.json:

{
  "mcpServers": {
    "solidcraft": { "command": "solidcraft-cli", "args": ["mcp"] }
  }
}

Claude Desktop (bridged)

Official example for claude_desktop_config.json:

{
  "mcpServers": {
    "solidcraft": {
      "command": "/path/to/solidcraft-cli",
      "args": ["mcp", "--connect", "127.0.0.1:7878"]
    }
  }
}

Start the app with solidcraft --control 7878 first.

Cursor

Not in SolidCraft’s official client list. The server speaks standard MCP over stdio, so Cursor should work with the same command. Config shape below follows Cursor documentation (.cursor/mcp.json or ~/.cursor/mcp.json). Verify tools appear in Cursor’s MCP settings after reload.
{
  "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.

Tools (from official docs)

ToolRole
list_commandsCommand catalog
execute / batchRun modelling commands (batch can roll back on error)
inspect_design / measure / body_topologyRead geometry and timeline
set_parameterCreate/change parameters and recompute
screenshotPNG of the model or window
exportSTEP, 3MF, STL, OBJ, URDF, …
open / save / new_designDocument lifecycle
undo / redoHistory

Optional agent skills live under skills/ in the repo (solidcraft-modeling, solidcraft-editing, etc.).

Which files the agent can reach

By default, tools only touch:

solidcraft-cli mcp --allow-path ~/designs --allow-path ~/exports

--allow-any-path removes the limit (previous behaviour) — use carefully.

Minimal modelling session

Conceptual flow from the official doc’s example session:

  1. batch a sketch rectangle → extrude → fillet → cut a hole
  2. measure volume / area
  3. screenshot with view: "iso"
  4. export to a path inside an allowed folder

Demo scripts: examples/demo/enclosure_mcp.py builds an enclosure over MCP.

Also see: install guide · examples.