cadloop Slicer
v0.1.0Find printer profiles, check bed fit, slice to .gcode.3mf and extract the G-code.
Starts only with mcp<2 (written for an older SDK); the install commands pin it.
Values you need
| Variable | What it is | |
|---|---|---|
SLICER_WORKSPACE | optional | The only directory this server reads and writes. Defaults to ~/cad. |
SLICER_BIN | optional | Path to the slicer binary. Auto-detected if unset. Creality Print's CLI does not work headless on macOS; prefer OrcaSlicer, Bambu Studio or ElegooSlicer there. |
SLICER_PROFILE_DIRS | optional | Extra profile roots, os.pathsep separated. Added to the auto-detected roots rather than replacing them. |
SLICER_TIMEOUT | optional | Seconds before a slice is killed. Defaults to 600. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add cadloop-slicer -- uvx --with 'mcp<2' --from cadloop==0.1.0 cadloop-openscadAdd to
claude_desktop_config.json{
"mcpServers": {
"cadloop-slicer": {
"args": [
"--with",
"mcp<2",
"--from",
"cadloop==0.1.0",
"cadloop-openscad"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"cadloop-slicer": {
"args": [
"--with",
"mcp<2",
"--from",
"cadloop==0.1.0",
"cadloop-openscad"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"cadloop-slicer": {
"args": [
"--with",
"mcp<2",
"--from",
"cadloop==0.1.0",
"cadloop-openscad"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.cadloop-slicer]
command = "uvx"
args = ["--with", "mcp<2", "--from", "cadloop==0.1.0", "cadloop-openscad"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: openscad_info, list_files, read_file, write_file, check, echo, render, measure, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json