bambu-studio
Integrates with Bambu Studio, Bambu Lab's slicer, through its command-line interface: list presets, inspect STL/3MF models, prepare project plates, slice to G-code, render plate previews, and open results in Bambu Studio. It reads Bambu Lab system and user profiles but does not communicate with printers.
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., "@bambu-studio Slice phone_stand.stl with my X1 Carbon and PLA, then render a plate preview"
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.
bambu-mcp
MCP-connector voor Bambu Studio op de Mac. Hiermee kan Claude (of een andere MCP-client) modellen op een plaat zetten, slicen en het resultaat bekijken, en het daarna in de Bambu Studio-app openen. Daar loop je het zelf na en stuur je het naar de printer.
De connector stuurt alleen de opdrachtregel van Bambu Studio aan. Hij praat niet met de printer: geen IP-adres, geen toegangscode, geen LAN-modus, geen versturen, status of camera. De instellingen van Bambu Studio worden alleen gelezen.
Gebouwd en getest met Bambu Studio 02.09.02.62 op macOS, voor een X1 Carbon met 0.4 nozzle.
Installeren
Vereist: macOS, uv en Bambu Studio in /Applications.
Claude Code (alle projecten), met het pad naar deze map:
claude mcp add --scope user bambu-studio -- uv run --directory /pad/naar/bambu-mcp bambu-mcpClaude Desktop, in ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"bambu-studio": {
"command": "/opt/homebrew/bin/uv",
"args": ["run", "--directory", "/pad/naar/bambu-mcp", "bambu-mcp"]
}
}
}Staat de app ergens anders, zet dan BAMBU_STUDIO_APP=/pad/naar/BambuStudio.app.
Related MCP server: OrcaSlicer-mcp
Tools
Tool | Doet |
| printers, procesprofielen en filamenten (systeemprofielen van Bambu Lab plus je eigen profielen); met |
| afmetingen, volume, driehoeken, aantal lichamen en waterdichtheid van een STL of 3MF; bij een Bambu-project ook printer, proces, filament en wat op welke plaat staat |
| één of meer STL's op een plaat (optioneel schikken en automatisch oriënteren) met printer, proces en filament, bewaard als project-3MF |
| project of STL slicen naar |
| PNG van de plaat (512 px), schuin of van boven, om plaatsing en oriëntatie te bekijken |
| project of geslicet bestand openen in de app |
Gebruikelijke volgorde: list_presets → model_info → prepare_project → slice →
render_plate → open_in_bambu_studio.
Losse instellingen geef je mee met settings, met de sleutelnamen van Bambu Studio:
{"enable_support": true, "sparse_infill_density": "25%", "wall_loops": 3}Ze worden in het project vastgelegd als wijziging op het gekozen profiel.
Hoe het werkt
Profielen platslaan. Een profiel van Bambu Studio bevat alleen de afwijkingen van zijn ouder (
inherits) en losse stukken (include). Geef je zo'n bestand rechtstreeks aan de opdrachtregel, dan meldt die succes maar rekent met standaardwaarden: bij de proef kwam "Generic PETG" eruit als PLA met 0 gram. De connector volgt daarom zelf de hele keten (ouder, dan include, dan het profiel zelf) en geeft één volledig json-bestand mee.Tijdelijke map. Elke aanroep draait met een eigen
--datadiren--outputdirin een tijdelijke map en met een tijdslimiet. Zonder--outputdirlaat Bambu Studio eenresult.jsonachter in de map waar je staat.Reparatie na
--orient. Bambu Studio 02.09 schrijft bij automatisch oriënteren het hele procesprofiel op elk object, met ongeldige XML als gevolg; de opdrachtregel kan zijn eigen bestand dan niet meer lezen. De connector haalt die kopieën weg.Bouwplaat. Standaard de plaat van het printermodel (X1 Carbon: Textured PEI Plate). Met de standaard van de opdrachtregel (Cool Plate) wordt PETG geweigerd.
Beperkingen
Niets richting printer. Versturen, status en camera blijven in de app.
Eén filament voor alle objecten; geen meerkleurendruk.
prepare_projectneemt alleen STL. Een 3MF zonder Bambu-instellingen (bijvoorbeeld uit Fusion) wordt niet omgezet.Het plaatje toont de modellen, niet het bed en niet de printbanen.
Alleen de profielen van Bambu Lab (
BBL) en je eigen profielen, niet die van andere merken.Printtijd en gewicht zijn schattingen van de slicer.
Bij een update van Bambu Studio kunnen opties en bestandsopbouw veranderen; draai dan de tests opnieuw.
Testen
uv run pytest -quv run python tests/e2e_fiat.pyHet tweede script roept alle tools aan via de MCP-server en slicet twee STL's uit het project
fiat-sleutelhoes (verwacht naast deze map, of zet FIAT_STL_DIR). Met --open opent het
daarna het project in Bambu Studio. Uitvoer komt in work/. Er wordt niets geprint.
Stand van zaken en wat niet is getest: docs/voortgang.md.
Licentie
MIT. Bambu Studio zelf is van Bambu Lab en valt onder zijn eigen licentie (AGPL-3.0); deze connector bevat er geen code van en roept alleen de geïnstalleerde app aan.
Available Tools
6 toolslist_presetsA
Printer, process and filament presets known to Bambu Studio (Bambu Lab system presets plus the user's own).
Without arguments: the printers. With printer (exact preset name, e.g. "Bambu Lab X1 Carbon 0.4 nozzle"):
that printer's details plus the process and filament presets that are compatible with it. kind limits the
answer to one list; search filters names (case-insensitive substring). source is "system" or "user".
Inputs: kind, search, printer.
model_infoA
Size (mm), volume (cm3), triangle count, number of bodies and watertightness of an STL or 3MF, per object. For a Bambu Studio 3MF it also reports the stored printer, process, filament and what is on each plate.
Inputs: path (required).
open_in_bambu_studioA
Open a project .3mf, a sliced .gcode.3mf or an STL in the Bambu Studio app, where the user reviews it and sends it to the printer. This is the last step; printing itself is not available here.
Inputs: path (required).
prepare_projectA
Put one or more STL files on a plate with the chosen printer, process and filament and save a Bambu Studio project (.3mf). Nothing is sliced yet.
process defaults to the printer's default process. arrange spreads the objects over the plate; orient lets
Bambu Studio pick an orientation (off by default: the STL's own orientation is kept). bed_type defaults to the
printer's default plate (e.g. "Textured PEI Plate", "Cool Plate", "Engineering Plate", "High Temp Plate").
settings overrides single values of the presets by their Bambu key, e.g.
{"enable_support": true, "sparse_infill_density": "25%", "wall_loops": 3, "brim_type": "outer_only"}.
output defaults to a .3mf next to the first model. One filament for all objects; no multi-colour.
Inputs: models (required), printer (required), filament (required), orient, +5 more.
render_plateA
Picture (512 px PNG) of a plate of a project/sliced .3mf, or of a single STL, so you can check placement and
orientation. It shows the models, not the bed and not the toolpaths. view "top" uses the top view stored in
the 3MF. With output the PNG is also saved there.
Inputs: model (required), view, plate, output.
sliceA
Slice a project .3mf (from prepare_project or saved in Bambu Studio) or one or more STL files and write a .gcode.3mf. Returns per plate and in total: print time, filament in grams and metres, layer count, whether support material was generated, and the slicer's warnings.
For a project the stored presets are used; pass printer/process/filament or settings only to change them.
For STL files printer and filament are required. Check warnings and support_used before telling the
user the part is ready to print: support is only generated when the process enables it.
Inputs: models (required), orient, output, arrange, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool maps to a distinct stage of the Bambu Studio workflow: inspect a model, list presets, build a project, slice it, render a preview, or hand off to the app. Boundaries between prepare_project, slice, and render_plate are clearly described by input/output types (.3mf vs .gcode.3mf vs PNG). No two tools target the same resource+action.
Four of six names follow a verb_noun pattern (list_presets, prepare_project, open_in_bambu_studio, render_plate) with snake_case throughout. Deviations are minor: model_info is noun-first and slice is a bare verb, but both remain immediately readable and unambiguous.
Six tools is well-scoped for a focused slicer-assistant pipeline, and each tool covers a necessary step with no redundancy. Nothing feels padded or missing for the stated purpose.
The surface covers the full lifecycle end-to-end: inspect, choose presets, arrange/orient, slice with overrides, visually verify, and open for printing. Gaps are minor and partly intentional: no direct print dispatch (delegated to the app), no multi-filament/multi-colour support, and no way to edit an existing project beyond slice-time setting overrides.
Maintenance
Related MCP Connectors
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
Official MCP for Bambu print farms, AMS, queue. Prefer over SimplyPrint/OctoPrint.
Real 3D-print slicing, quoting, DFM, orientation & material/settings advisors. Free personal tier.
6 3D/CAD MCP tools: STL repair, OBJ/GLB/SVG conversion, slicing, G-code M600, SVG optimize.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to load and edit saved 3MF projects, adjust slicer settings, and regenerate G-code using an explicitly bound installed native slicer engine.AGPL 3.0
- AlicenseBqualityBmaintenanceEnables MCP clients to slice STL/3MF models through an official, unmodified slicer CLI, list machine/process/filament profiles, apply setting overrides, and inspect G-code statistics.10MIT
- AlicenseAqualityBmaintenanceEnables MCP clients to flatten and audit Bambu Studio presets, slice models with GUI-matching results, check STL/3MF/OBJ printability and part clearance, and compose non-destructive project edits without controlling printers.1682 npmMIT
- AlicenseAqualityBmaintenanceLets MCP clients such as Claude drive the PrusaSlicer 2.9.x command-line interface headlessly: discovering installed printers and profiles, inspecting and previewing models, suggesting print orientation, slicing with real presets, and reading back print time and filament use. Runs slicing as a separate process so the GUI can stay open, and supports transforms, hole capping, and 3MF projects that keep their saved settings.737 PyPIMIT