PrusaSlicer MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PRUSASLICER_PATH | No | Path to the PrusaSlicer binary. Defaults to the two /Applications locations. | the two /Applications locations |
| PRUSASLICER_DATADIR | No | PrusaSlicer config folder (read only). | ~/Library/Application Support/PrusaSlicer |
| PRUSASLICER_TIMEOUT_S | No | Time limit for one slice, in seconds. | 600 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_presetsA | Shows which printer, print and filament presets are selected in PrusaSlicer, and key values (layer height, perimeters, infill, support) from the user print preset file. Reads the saved files: unsaved "(modified)" changes in the PrusaSlicer window are not visible. |
| check_orientationA | Reads an STL (binary or ASCII) and reports its size and, for each of the 6 "which side down" choices, the flat bed contact area and the downward-facing area steeper than 45 degrees, best first. Then lists overhang faces by height above the bed for the best side, or for |
| sliceA | Slices a model with the PrusaSlicer CLI using the user's selected presets (or the given ones) plus optional overrides, and returns print time, filament grams, layer count, the presets used and the effective key settings. Takes a few seconds to minutes. Writes only to a temp folder. Uses the saved preset files, not unsaved GUI changes. The CLI time estimate differs from the PrusaSlicer window by a few minutes: compare variants with each other, not with the GUI number. The CLI does not auto-orient: use rotate-x/rotate-y to change which side is down. |
| compareA | Slices the same model once per variant and returns a table of time, grams and the difference from the first variant. Use it for questions like "how long with 3 vs 4 perimeters?". Give a variant with no overrides first as the reference. Uses the saved preset files, not unsaved GUI changes. The CLI time estimate differs from the PrusaSlicer window by a few minutes: compare variants with each other, not with the GUI number. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
read_presets and check_orientation are clearly distinct (config inspection vs. geometry analysis), and slice vs. compare is separated by compare being an explicit multi-variant batch with a diff table. The only mild overlap is that an agent could emulate compare with repeated slice calls, but the descriptions make the intended boundary clear.
All names are lowercase snake_case and start with an action verb, so the set reads predictably. However, two use verb_noun (read_presets, check_orientation) while two use bare verbs (slice, compare), a minor deviation from a strict pattern.
Four tools is well-scoped for a focused slicing/analysis server: inspect presets, analyze orientation, slice, and compare variants. Each tool has a distinct role and none feels redundant or filler.
The core workflow (inspect config, check orientation, slice, compare) is covered, but there is no way to list available presets to choose from, no explicit orientation/rotation operation beyond slice overrides, and no tool to export or locate the resulting G-code. These are workable gaps but notable for a full lifecycle.