cura-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cura-mcp Slice model.stl with 0.2mm layers and 20% infill"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cura-mcp
An MCP server that lets an AI agent (Claude, etc.) slice 3D models with UltiMaker Cura
(the CuraEngine backend) headlessly — no GUI, no clicking. Load STL files, pick a printer
profile, override any Cura setting, and get back a ready-to-print .gcode plus the estimated
print time.
Built because Cura has no official MCP and its engine is awkward to run standalone — this wraps it cleanly.
What it exposes
Tool | What it does |
| List available printer profiles (id, build volume, nozzle). |
| Return the full settings of a profile, to inspect or tweak. |
| Slice one or more STL files with a profile + optional setting overrides → gcode + print time. |
Example: "Slice part.stl on the Creasee 340 with 0.16 mm layers, 5 walls, 30% infill, and a raft."
→ the agent calls slice(stl_paths=["/…/part.stl"], printer_id="creasee340", settings={"layer_height":0.16,"wall_line_count":5,"infill_sparse_density":30,"adhesion_type":"raft"}).
Related MCP server: orca-mcp
Why this was hard (and how it's solved)
CuraEngine from the Cura AppImage doesn't run standalone: it needs (1) the AppImage's bundled
ld-linux interpreter, (2) all of the AppImage's shared libraries, and (3) a complete, flattened
set of settings (fdmprinter + fdmextruder defaults + your overrides) — miss one and it aborts.
engine.py handles all three: it runs CuraEngine via the bundled linker with a full library path,
and flattens Cura's nested settings tree into the ~400 -s key=value flags CuraEngine expects.
Requirements
Linux, Python ≥ 3.10.
UltiMaker Cura AppImage extracted to
~/opt/cura/squashfs-root(or setCURA_ROOT):cd ~/opt/cura && /path/to/UltiMaker-Cura-*.AppImage --appimage-extract
Install
git clone <this repo> && cd cura-mcp
python3 -m venv .venv && ./.venv/bin/pip install -e .Use with Claude Code
claude mcp add cura-slicer -- /ABS/PATH/cura-mcp/.venv/bin/python -m cura_mcpThen restart your session and ask Claude to slice a model.
Printer profiles
Profiles live in src/cura_mcp/profiles/*.json as {name, manufacturer, description, settings:{…Cura settings…}}.
Ships with Creasee 340 (large CR-10-class bowden printer, CR-Touch ABL, quality profile tuned for a
slightly warped bed) and a generic 220 mm printer. Add your own by dropping a JSON file in that folder.
Notes
Print time and filament are computed from the actual toolpaths (analyze_gcode), so they vary with settings and model — reliable estimates.
License AGPL-3.0 (CuraEngine is AGPL; this wrapper follows).
Author
Built by Claude (Anthropic's Opus 4.8), autonomously, for Michael Gagnon — solving the standalone-CuraEngine problem, the settings flattener, the MCP server, and a real gcode-based time/filament estimator. Tested with a 9-case suite (tools, overrides, multi-part, error handling, stat-variation).
Available Tools
12 toolscura_arrangeA
Ré-arrange automatiquement les pièces sur le plateau (sans chevauchement).
Inputs: no named parameters. Returns: object
cura_getC
Lit les valeurs actuelles de réglages dans Cura (pour vérifier avec l'utilisateur).
Inputs: keys (required). Returns: object
cura_loadA
Charge des modèles (STL/3MF) DANS la fenêtre Cura ouverte — l'utilisateur les voit apparaître.
Inputs: stl_paths (required), clear_first. Returns: object
cura_print_timeA
Retourne le temps d'impression estimé + matière, après une découpe dans Cura.
Inputs: no named parameters. Returns: object
cura_screenshotA
Capture le viewport de Cura (image isométrique) — pour VOIR l'état et le montrer à l'utilisateur.
Retourne le chemin de l'image PNG écrite (à lire ensuite).
Inputs: path, width, height. Returns: object
cura_setC
Applique des réglages Cura EN DIRECT (visibles dans le panneau de l'utilisateur).
Inputs: settings (required). Returns: object
cura_sliceB
Lance la découpe DANS Cura (l'utilisateur voit l'aperçu se calculer).
Inputs: no named parameters. Returns: object
cura_statusA
Vérifie si Cura est ouvert et pilotable en direct (plugin MCPBridge). Retourne version + imprimante active.
Inputs: no named parameters. Returns: object
get_profileA
Retourne les réglages complets d'un profil d'imprimante (pour inspection ou ajustement).
Inputs: printer_id (required). Returns: object
list_printersA
Liste les profils d'imprimante disponibles avec leurs specs clés.
Retourne pour chaque profil : id, nom, fabricant, description, et volume d'impression.
Inputs: no named parameters. Returns: result
make_projectA
Crée un PROJET Cura (.3mf) avec les pièces positionnées côte à côte sur le plateau.
À OUVRIR dans Cura : l'utilisateur VOIT les pièces posées et peut vérifier les réglages, sans rien toucher. C'est le livrable de validation visuelle (contrairement au gcode).
Inputs: stl_paths (required), output_3mf, printer_id. Returns: object
sliceB
Tranche un ou plusieurs fichiers STL en gcode prêt à imprimer, avec CuraEngine.
Inputs: stl_paths (required), settings, printer_id, output_gcode. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
There is clear overlap between 'cura_slice' and 'slice' both performing slicing operations, and 'cura_arrange' vs 'make_project' both involve part positioning. Other tools have distinct purposes, but these overlaps create ambiguity for an agent.
Naming is inconsistent: most tools use 'cura_' prefix (cura_arrange, cura_get, etc.), but four tools (get_profile, list_printers, make_project, slice) lack the prefix. All use snake_case, but the prefix inconsistency is confusing.
12 tools is appropriate for a Cura MCP server, covering loading, slicing, settings, and status. The count feels slightly padded due to duplicate slicing tools, but is still within a reasonable range.
Obvious gaps: no tool to set active printer, remove models, export gcode, or adjust individual model settings. The duplicate slicing tools waste a slot while missing core lifecycle operations, leading to potential agent failures.
Maintenance
Related MCP Connectors
Real 3D-print slicing, quoting, DFM, orientation & material/settings advisors. Free personal tier.
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
3D print farm management for AI. Monitor, queue, and control prints on your SimplyPrint account.
6 3D/CAD MCP tools: STL repair, OBJ/GLB/SVG conversion, slicing, G-code M600, SVG optimize.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to interact with OrcaSlicer to manage profiles, adjust printing settings, and perform slicing operations. It allows users to search settings, slice STL/3MF files, and analyze G-code metadata through natural language assistants.7AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceWraps the OrcaSlicer CLI to enable AI agents to slice 3D models, run parameter sweeps, and analyze G-code.124 PyPI1MIT
- AlicenseCqualityCmaintenanceEnables AI agents to perform reproducible Snapmaker U1 headless slicing with Snapmaker Orca, including model/profile discovery, STL/3MF-to-G-code slicing, G-code analysis, controlled overrides, and slice or orientation comparisons without GUI automation or printer control.331MIT
- AlicenseAqualityCmaintenanceEnables LLM clients to slice, paint, and verify 3D prints through the installed slicer's command line for any installed Bambu printer, nozzle, and filament, with settings per object type. It never sends jobs to a printer.211MIT