solidcraft-cli for MCP?solidcraft-cli launcher into ~/.local/bin (so MCP clients can call it by name if
that folder is on your PATH). The AppImage entry point itself is still the GUI
(solidcraft) and does not accept mcp as a useful CLI mode. Extracting
solidcraft-cli from the squashfs remains a valid alternate; .tar.gz / .deb
put both binaries on disk directly.~/.local/binOfficial MCP docs: on first run the AppImage writes a small solidcraft-cli launcher into
~/.local/bin. Make sure ~/.local/bin is on your shell PATH, restart the
MCP client, then use solidcraft-cli mcp like any other package. Since 0.22.1 that matches the
Windows installer and the macOS app (which link into /opt/homebrew/bin or /usr/local/bin),
so a normal package install puts solidcraft-cli on PATH everywhere. Deb, rpm and FreeBSD
already install the CLI in /usr/bin; Homebrew cask puts it on PATH too.
Running the AppImage directly:
$ ./solidcraft-0.51.2-linux-x86_64.AppImage --version
solidcraft 0.51.2
$ ./solidcraft-0.51.2-linux-x86_64.AppImage --help
usage: solidcraft [--control PORT] [--sample] [--crash-log] [--safe-mode] [design.sc | part.step]
So argv0 is the desktop app, not the CLI. After --appimage-extract (our earlier extract still listed a solvecraft-cli shim; official v0.44.0 notes remove that command, the SOLVECRAFT_* variables and the .solvecraft file association, while .solvecraft designs still open):
$ ./solidcraft-0.51.2-linux-x86_64.AppImage --appimage-extract
$ ls squashfs-root/usr/bin/
solidcraft
solidcraft-cli
$ ./squashfs-root/usr/bin/solidcraft-cli --version
solidcraft-cli 0.51.2
$ ./squashfs-root/usr/bin/solidcraft-cli mcp
solidcraft mcp: files limited to …/recovery, /tmp/solidcraft-mcp-… and the open design's folder …
# (stdio MCP server started; Ctrl-C / close stdin to stop)
Renaming/symlinking the AppImage to solidcraft-cli still reported solidcraft 0.51.2
(GUI binary) — there is no argv0 trick that turns the AppImage into the CLI. Prefer the first-run
~/.local/bin launcher, or the extract path below.
solidcraft-0.51.2-linux-x86_64.AppImage from
Releases.chmod +x the AppImage (optional if you only extract)../solidcraft-…AppImage --appimage-extract…/squashfs-root/usr/bin/solidcraft-cli.chmod +x solidcraft-0.51.2-linux-x86_64.AppImage
./solidcraft-0.51.2-linux-x86_64.AppImage --appimage-extract
./squashfs-root/usr/bin/solidcraft-cli mcp
The Linux .tar.gz layout is bin/solidcraft + bin/solidcraft-cli
(verified). The .deb installs the same pair under /usr/bin/
(dpkg-deb -c lists both). Since 0.51.0, GitHub Releases also publish standalone CLI-only archives
(solidcraft-cli-0.51.2-linux-x86_64.tar.gz, aarch64, Windows .zip, macOS .zip and FreeBSD .tar.gz)
plus a Python wheel (solidcraft-0.51.2-py3-none-any.whl). For MCP-only machines, the CLI archive or tarball is the simplest:
tar -xzf solidcraft-0.51.2-linux-x86_64.tar.gz
./solidcraft-0.51.2-linux-x86_64/bin/solidcraft-cli --version
./solidcraft-0.51.2-linux-x86_64/bin/solidcraft-cli mcp
Official docs: after sudo snap install solidcraft, the CLI stays off PATH on purpose
as solidcraft.cli (not solidcraft-cli). Example:
solidcraft.cli --version / solidcraft.cli mcp. Use solidcraft.cli as the
MCP client’s command with mcp as the args.
Flatpak also keeps the CLI off PATH by design. Official command:
flatpak run --command=solidcraft-cli io.tangencylabs.solidcraft mcp
In an MCP client config, set command to flatpak and
args to ["run", "--command=solidcraft-cli", "io.tangencylabs.solidcraft", "mcp"]
(plus any extra flags such as --allow-path).
Prefer solidcraft-cli by name when it is on PATH (AppImage launcher, deb, tarball).
Otherwise use an absolute path to the extracted or tarball CLI.
claude mcp add solidcraft -- /ABS/PATH/squashfs-root/usr/bin/solidcraft-cli mcp
Or .mcp.json:
{
"mcpServers": {
"solidcraft": {
"command": "/ABS/PATH/squashfs-root/usr/bin/solidcraft-cli",
"args": ["mcp"]
}
}
}
{
"mcpServers": {
"solidcraft": {
"command": "/ABS/PATH/squashfs-root/usr/bin/solidcraft-cli",
"args": ["mcp"]
}
}
}
{
"mcpServers": {
"solidcraft": {
"type": "stdio",
"command": "/ABS/PATH/squashfs-root/usr/bin/solidcraft-cli",
"args": ["mcp", "--allow-path", "/absolute/path/to/your/designs"]
}
}
}
For tarball installs, use
…/solidcraft-0.51.2-linux-x86_64/bin/solidcraft-cli instead.
For Snap, use solidcraft.cli as the command name. For Flatpak, use
flatpak with run --command=solidcraft-cli io.tangencylabs.solidcraft mcp.
Back to the main MCP tutorial · install guide.