# orcaslicer-mcp

Connect an AI agent to a running OrcaSlicer to edit settings, prepare models, and inspect slicing results. Useful when print trade-offs need a closer look.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 81
- Author: MaxEllis
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/MaxEllis/orcaslicer-mcp
- Updated: 2026-10-12
- HTML: https://affpapa.org/en/nevibecode/mcp/orcaslicer-mcp

## What it does

The server works with an open OrcaSlicer session. An agent can load and arrange models, change settings, start a slice, and inspect time, filament use, and flow by print feature. It can also compare named setting variants and check a profile against printer limits using flow, temperature, geometry, and cooling calculations. OrcaSlicer must be running.

An offline reference provides setting labels, tooltips, types, ranges, and defaults from OrcaSlicer. On multi-filament setups, choosing a preset discards unsaved overrides across all groups, so edit filament settings before print settings. Printer tools make read-only requests; they do not send commands to the printer.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `ORCA_API_TOKEN`, `ORCA_API_URL`, `ORCA_MCP_ALLOW_KEYS`, `ORCA_PRINTER_URL`, `ORCA_PRINTER_API_KEY`, `ORCA_PRINTER_ID` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env ORCA_API_TOKEN=<ORCA_API_TOKEN> --env ORCA_API_URL=<ORCA_API_URL> --env ORCA_MCP_ALLOW_KEYS=<ORCA_MCP_ALLOW_KEYS> --env ORCA_PRINTER_URL=<ORCA_PRINTER_URL> --env ORCA_PRINTER_API_KEY=<ORCA_PRINTER_API_KEY> --transport stdio orcaslicer-mcp -- uvx orcaslicer-mcp
```
Replace <…> with your own values. 1 more environment variable is in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from orcaslicer-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add orcaslicer-mcp --env ORCA_API_TOKEN=<ORCA_API_TOKEN> --env ORCA_API_URL=<ORCA_API_URL> --env ORCA_MCP_ALLOW_KEYS=<ORCA_MCP_ALLOW_KEYS> --env ORCA_PRINTER_URL=<ORCA_PRINTER_URL> --env ORCA_PRINTER_API_KEY=<ORCA_PRINTER_API_KEY> -- uvx orcaslicer-mcp
```
Replace <…> with your own values. 1 more environment variable is in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from orcaslicer-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "orcaslicer-mcp": {
            "command": "uvx",
            "args": [
                "orcaslicer-mcp"
            ],
            "env": {
                "ORCA_API_TOKEN": "<ORCA_API_TOKEN>",
                "ORCA_API_URL": "<ORCA_API_URL>",
                "ORCA_MCP_ALLOW_KEYS": "<ORCA_MCP_ALLOW_KEYS>",
                "ORCA_PRINTER_URL": "<ORCA_PRINTER_URL>",
                "ORCA_PRINTER_API_KEY": "<ORCA_PRINTER_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. 1 more environment variable is in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from orcaslicer-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "orcaslicer-mcp": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "orcaslicer-mcp"
            ],
            "env": {
                "ORCA_API_TOKEN": "<ORCA_API_TOKEN>",
                "ORCA_API_URL": "<ORCA_API_URL>",
                "ORCA_MCP_ALLOW_KEYS": "<ORCA_MCP_ALLOW_KEYS>",
                "ORCA_PRINTER_URL": "<ORCA_PRINTER_URL>",
                "ORCA_PRINTER_API_KEY": "<ORCA_PRINTER_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values. 1 more environment variable is in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from orcaslicer-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e ORCA_API_TOKEN=<ORCA_API_TOKEN> -e ORCA_API_URL=<ORCA_API_URL> -e ORCA_MCP_ALLOW_KEYS=<ORCA_MCP_ALLOW_KEYS> -e ORCA_PRINTER_URL=<ORCA_PRINTER_URL> -e ORCA_PRINTER_API_KEY=<ORCA_PRINTER_API_KEY> orcaslicer-mcp uvx orcaslicer-mcp
```
Replace <…> with your own values. 1 more environment variable is in the server README. uvx runs the command named after the package; if the README names another one, use uvx --from orcaslicer-mcp <command>

## When to use it
- identify which print features take the most time
- compare layer-height variants by time and filament use
- look up OrcaSlicer settings and their valid ranges
- check a profile against printer flow and geometry limits
- arrange a model and start slicing

## Example prompts
- Show which features account for most of this model's print time.
- Compare these layer-height options by print time, filament use, and warnings.
- Check this profile against the printer's physical limits before slicing.

## Similar
- [gcode](https://affpapa.org/en/nevibecode/skills/gcode.md) — skill · 9500 installs
- [Bambu Printer MCP](https://affpapa.org/en/nevibecode/mcp/bambu-printer-mcp.md) — MCP server · ★ 242
- [meshy-3d-printing](https://affpapa.org/en/nevibecode/skills/meshy-3d-printing.md) — skill · 1600 installs
- [meshy-openclaw](https://affpapa.org/en/nevibecode/skills/meshy-openclaw.md) — skill · 562 installs
- [ParCAD](https://affpapa.org/en/nevibecode/mcp/parcad.md) — MCP server · ★ 10
- [dfam-check](https://affpapa.org/en/nevibecode/skills/dfam-check.md) — skill · 4100 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
