orcaslicer-mcp
v0.1.29Work a running OrcaSlicer with AI: slice, tune, and understand what each setting costs
Values you need
| Variable | What it is | |
|---|---|---|
ORCA_API_TOKEN | required secret | Remote API token from the OrcaSlicer MCP build (Preferences -> Remote API) |
ORCA_API_URL | optional | OrcaSlicer Remote API address; defaults to http://127.0.0.1:13130 Default: http://127.0.0.1:13130 |
ORCA_MCP_ALLOW_KEYS | optional | Optional comma-separated config keys the MCP may change even though they run code or drive the printer directly (post_process, *_gcode, print host settings). Wildcards allowed. Blank by default. |
ORCA_PRINTER_URL | optional | Optional printer address; by default the address in OrcaSlicer's active printer profile is used. A user name and password can be part of it (http://user:password@192.0.2.10); percent-encode special characters in them (@ as %40). A password in it is stored as an ordinary setting, so prefer ORCA_PRINT |
ORCA_PRINTER_API_KEY | optional secret | Optional API key for printers that need one (OctoPrint, or Moonraker with authorization). |
ORCA_PRINTER_ID | optional | Optional printer name for the outcome store; defaults to the host name of ORCA_PRINTER_URL when that is set, otherwise the printer profile's name, otherwise unknown. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add orcaslicer-mcp -e 'ORCA_API_TOKEN=<ORCA_API_TOKEN>' -- uvx orcaslicer-mcp==0.1.29Add to
claude_desktop_config.json{
"mcpServers": {
"orcaslicer-mcp": {
"args": [
"orcaslicer-mcp==0.1.29"
],
"command": "uvx",
"env": {
"ORCA_API_TOKEN": "<ORCA_API_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"orcaslicer-mcp": {
"args": [
"orcaslicer-mcp==0.1.29"
],
"command": "uvx",
"env": {
"ORCA_API_TOKEN": "<ORCA_API_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "ORCA_API_TOKEN",
"id": "orca-api-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"orcaslicer-mcp": {
"args": [
"orcaslicer-mcp==0.1.29"
],
"command": "uvx",
"env": {
"ORCA_API_TOKEN": "${input:orca-api-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.orcaslicer-mcp]
command = "uvx"
args = ["orcaslicer-mcp==0.1.29"]
env = { "ORCA_API_TOKEN" = "<ORCA_API_TOKEN>" }For AI agents
- Ask the user for: ORCA_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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: get_status, get_config, set_config, slice, get_slice_status, get_slice_warnings, get_slice_breakdown, cancel_slice, ….
- 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