1. Conduid
  2. Gaming
  3. Bambu Printer MCP
MCP server · Gaming

Bambu Printer MCP

MCP server for Bambu Lab 3D printers — STL manipulation, BambuStudio or FULU/orca slicing, Blender MCP integration, and direct printer control

79Good

Scored 4 hours ago · breakdown

About Bambu Printer MCP

Bambu Printer MCP is an MCP server published by DMontgomery40 in the Gaming category: mCP server for Bambu Lab 3D printers — STL manipulation, BambuStudio or FULU/orca slicing, Blender MCP integration, and direct printer control. Conduid read 68 tools from its source: bambu_connect_import_file, bambu_network_bridge_status, bambu_network_call, blender_mcp_call, blender_mcp_edit_model, blender_mcp_setup and 62 more. It is published to npm as bambu-printer-mcp and starts with npx.

The repository has 399 stars and 76 forks, is licensed GPL-2.0, and its last commit was on 1 Dec 2026. The latest release is v1.1.105 (27 Nov 2026): Document Bambu Scan 01.00.00.50 mesh exports and a manual STL preparation workflow, keeping proprietary projects, unverified units and scanner controls outside the suppo… It follows v1.1.104 (26 Nov 2026), and the 5 most recent releases go back to v1.1.101 (23 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include 3d-printing, bambu-lab and multi-printer.

Install

Claude Code
claude mcp add bambu-printer-mcp -- npx -y bambu-printer-mcp
npx
npx -y bambu-printer-mcp
From source
git clone https://github.com/DMontgomery40/bambu-printer-mcp

Tools (68)

bambu_connect_import_fileOpen an existing G-code or sliced 3MF file in the signed-in Bambu Connect app through its official URL scheme. This is a cloud-mode handoff and does not start printing by itself.
ParameterTypeDescription
file_path *stringReadable local path to a .gcode, .3mf, or .gcode.3mf file
namestringOptional project name shown by Bambu Connect
versionstringOptional integration version sent to Bambu Connect (default: 1.0.0)
bambu_network_bridge_statusInspect or probe the FULU OrcaSlicer-bambulab BambuNetwork bridge runtime used for cloud and restored BambuNetwork printing.
ParameterTypeDescription
bambu_network_config_dirstringConfig/log directory used by the BambuNetwork agent; defaults to BAMBU_NETWORK_CONFIG_DIR or a user config directory.
bridge_commandstringOverride command for the FULU bridge host or macOS/WSL wrapper; defaults to BAMBU_NETWORK_BRIDGE_COMMAND. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
connectbooleanWhen true, start the bridge command and run a handshake plus agent initialization probe.
country_codestringBambuNetwork country code, such as US, used by the agent during startup.
timeout_msnumberBridge request timeout in milliseconds for the connect probe.
user_infostringOptional BambuNetwork user_info JSON string to pass to net.change_user after the agent starts.
bambu_network_callCall a raw FULU OrcaSlicer-bambulab BambuNetwork bridge method, optionally with an initialized network agent injected into the payload.
ParameterTypeDescription
bambu_network_config_dirstringConfig/log directory used by the BambuNetwork agent; defaults to BAMBU_NETWORK_CONFIG_DIR or a user config directory.
bridge_commandstringOverride command for the FULU bridge host or macOS/WSL wrapper; defaults to BAMBU_NETWORK_BRIDGE_COMMAND. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
country_codestringBambuNetwork country code, such as US, used by the agent during startup.
method *stringFULU bridge method name, for example bridge.handshake, net.is_user_login, or net.get_user_selected_machine.
payloadobjectJSON payload passed to the bridge method.
timeout_msnumberBridge request timeout in milliseconds.
user_infostringOptional BambuNetwork user_info JSON string to pass to net.change_user after the agent starts.
with_agentbooleanWhen true, initialize a BambuNetwork agent and add its agent id to the payload before calling the method.
blender_mcp_callCall a discovered tool on the configured Blender MCP server, preserving its full MCP content and errors. Discover tool schemas with blender_mcp_status first; execute_blender_code accepts Python code and user_prompt. Calls can modify the active Blender scene and are never automatically retried.
ParameterTypeDescription
argumentsobjectArguments matching the remote tool's discovered input schema. Preserve the user's own words in user_prompt when the remote tool requests it.
timeout_msintegerTotal connection, discovery, and tool deadline in milliseconds; defaults to BLENDER_MCP_TIMEOUT_MS or 120000.
tool_name *stringExact name advertised by Blender MCP, such as get_scene_info or execute_blender_code.
blender_mcp_edit_modelImport, edit, and export a local STL through standard Blender MCP with verified output and existing scene objects preserved. Requires a shared local filesystem and Blender Object Mode. Also supports a separately configured legacy executable bridge.
ParameterTypeDescription
bridge_commandstringLegacy custom bridge executable override, not a standard MCP command. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
executebooleanApply edits and export (true) or validate and return the prepared request without connecting (false, default).
operationsarrayOrdered operations: decimate:<ratio greater than 0 and at most 1>, remesh:<positive voxel size in STL units>, boolean_union:<STL path>. Legacy custom bridges define their own operations.
output_pathstringRequired for standard MCP previews and execution: new local STL output path whose parent exists. Existing files are never overwritten. Optional for legacy-only bridge configuration.
stl_pathstringPath to the local STL file
timeout_msintegerTotal Blender request deadline in milliseconds; defaults to BLENDER_MCP_TIMEOUT_MS or 120000.
user_promptstringThe user's own words describing the edit, passed unchanged to Blender MCP.
blender_mcp_setupCheck or update the MCP for Blender add-on that the configured Blender bridge (BLENDER_MCP_COMMAND uvx, BLENDER_MCP_ARGS naming mcp-for-blender or blender-mcp) needs. Without update: which add-on file Blender loads, its protocol and the protocol the package expects, whether Blender is listening and the running add-on's own handshake. Changes nothing. With update: true, stages the add-on with the package's own installer (mcp-for-blender install-addon) at the inspected version, checks it, keeps the old file as a backup next to it and renames the new one into place. Never starts, stops or edits Blender; a running Blender uses the new add-on once it is re-enabled or restarted. A custom bridge returns supported false.
ParameterTypeDescription
updatebooleanReplace the installed add-on with the package's own (default false: check only).
blender_mcp_statusInspect Blender MCP configuration or connect and discover the remote server's tools and schemas. Connecting does not edit the scene; use get_scene_info through blender_mcp_call to check the Blender addon.
ParameterTypeDescription
connectbooleanInitialize the configured stdio MCP server and discover its tools (default false).
timeout_msintegerTotal connection and discovery deadline in milliseconds; defaults to BLENDER_MCP_TIMEOUT_MS or 120000.
camera_frameRead the shared camera stream, optionally waiting up to 10 seconds. Returns JPEG only when newer than since_seq and visibly changed (32×18 grayscale difference). Retain the last delivered frame's seq on unchanged. max_width resizes JPEG to the viewer. Does not start a stopped stream.
ParameterTypeDescription
changed_onlybooleanReturn JPEG only when its thumbnail differs enough from the last delivered frame.
max_bytesintegerOptional maximum encoded JPEG bytes. Downscales further at quality 70 when needed; base64 adds about one third plus protocol overhead. Use 42000 for a two-second 30 KB/s viewer budget.
max_widthintegerOptional maximum JPEG width in pixels, preserving aspect ratio and never enlarging.
min_changenumberMinimum mean absolute grayscale thumbnail difference, normalized from zero to one.
since_seqintegerSequence of the last delivered JPEG; retain it when a result is unchanged.
wait_msintegerMaximum time to await a newer changed frame; zero returns immediately.
camera_snapshotCapture a single JPEG frame from the printer's chamber camera. A1/P1 use TCP-on-6000; X1/P2S/H2/X2D use RTSP via ffmpeg. Returns JPEG as base64; pass save_path to also write the bytes to disk.
ParameterTypeDescription
bambu_modelstringPrinter model. Used to route to the correct protocol or fail fast on unsupported models. Defaults to BAMBU_MODEL.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
experimentalbooleanDeprecated and ignored. Earlier this flag let callers probe H2 series via the A1/P1 TCP-on-6000 path; live testing on an H2S confirmed H2 uses RTSP instead, so the flag has no effect now.
ffmpeg_pathstringOverride path to the ffmpeg binary used by the RTSP path. Defaults to FFMPEG_PATH or ffmpeg via $PATH. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1. Required only for the RTSP transport (X1, P2S, H2 series, X2D).
hoststringHostname or IP of the printer (default: value from env)
save_pathstringOptional absolute path to write the JPEG to disk. If omitted, only the base64 payload is returned.
timeout_msnumberMax ms to wait for a live frame (default 8000). A1/P1 cameras first replay a buffered frame, which is skipped, so a live frame takes about 3 s, longer on cold start.
camera_stream_startStart or renew one persistent camera connection for this printer. Call only while watched; it closes automatically after idle_timeout_ms without a viewer request. camera_snapshot then reuses its latest frame. No printer motion or print commands.
ParameterTypeDescription
bambu_modelstringBambu model used to select the camera transport; defaults to BAMBU_MODEL.
fpsnumberMaximum processed frames per second. The first viewer sets the rate until the stream closes.
idle_timeout_msintegerClose the shared connection after this many milliseconds without a viewer request.
camera_stream_stopClose this printer's camera connection and free its cached frames. Other printers keep their own streams. Active viewers may restart it; normally let the idle timeout close a shared stream.
cancel_printCancel the current print job on the Bambu Lab printer
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
connection_modestringThe connection the print used. Defaults to BAMBU_DEFAULT_CONNECTION_MODE, the same default print_3mf uses, else the model's route.
connection_typestringFULU BambuNetwork connection type the print used. Defaults to BAMBU_DEFAULT_CONNECTION_TYPE, as for print_3mf. Authenticated controls support lan.
hoststringHostname or IP of the printer (default: value from env)
center_modelTranslate the model so its geometric center is at the origin (0,0,0)
ParameterTypeDescription
stl_path *stringPath to the STL file
clear_hms_errorsClear HMS or print error state on the Bambu Lab printer using the clean_print_error MQTT command.
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
counterpart_diagnosticsCounterpart contract (counterpart/1): this server's own diagnostics for a bug report, as files for the client to add to its export: the configured printers (model, serial, connection; firmware is not read), this server's settings, slicer path and version, CAD runtime status, recent tool errors, this run's stderr log (MQTT and connection messages). The Bambu network plug-in logs are not included. Redaction fails closed: configured secrets go in their encoded forms, JSON is redacted by key, and any log line that names a secret is withheld whole; serial numbers, error codes and whether a secret is set stay. Names, contents and notes stay within max_bytes; anything missing is listed in notes. Sends nothing to the printer.
counterpart_discover_printersCounterpart contract (counterpart/1): Bambu printers on the local network, from their own SSDP announcements (UDP 2021), with serial, model (as bambu_model names it), name and firmware. Listens for duration_ms (default 4000). network is "unavailable" when another app holds the port. Never connects to or authenticates with a printer.
ParameterTypeDescription
duration_msintegerHow long to listen (default 4000).
counterpart_make_3mfCounterpart contract (counterpart/1): combine STL parts exported separately (for example each body of a design) into one new 3MF for multi-colour printing. The parts keep their relative positions as one assembly, and each part prints with its filament number (default: part 1 uses filament 1, part 2 filament 2, and so on). Slice it with slice_stl, passing one load_filaments profile per filament number, then print it with print_3mf and ams_mapping or ams_slots. Never overwrites a file.
ParameterTypeDescription
out_path *stringNew .3mf path whose parent directory exists. Existing files are never overwritten.
parts *arrayThe parts, in filament order.
counterpart_part_meshesCounterpart contract (counterpart/1): one STL per printable part of any 3MF (a pass's, counterpart_make_3mf's, cad_run's project_3mf, or a designer's Bambu Studio, OrcaSlicer or plain 3MF), so a client draws each part in its colour or shows the design in AR. Writes into a new folder it creates inside out_dir and never overwrites. Returns units (mm), folder and parts: [{id, name, plate?, color?, filament?, painted?, stl_path, triangles, size_mm}], one per part per printed copy. Every STL is in the 3MF's build frame in millimetres, component and build transforms applied, so the parts line up when drawn together; plate is the plate number from 1 (list_3mf_plates index + 1), absent for a 3MF without plates; color is #RRGGBB from the 3MF's own filament colours, absent when it declares none; painted means slicer painting recolours some facets. A part beyond the read limits is listed in skipped with why.
ParameterTypeDescription
out_dir *stringAn existing folder; each call writes into a new subfolder of it.
three_mf_path *stringPath to the 3MF.
counterpart_print_assess
ParameterTypeDescription
bambu_serialstringSaved Bambu printer serial; used only to select a local record.
hoststringSaved printer hostname or address; used only to select a local record.
counterpart_print_progressCounterpart contract (counterpart/1): the printer's state, current job (name, task id, percent, time left, layers, stage words), temperatures, active filament and problems with Bambu's HMS messages and links. Read from the MQTT report this server keeps, so a held session asks the printer nothing; observedAt is when the printer sent it. An unreachable printer reports state offline. Read-only; not a safety check.
ParameterTypeDescription
bambu_modelstringPrinter model; defaults to BAMBU_MODEL. Used for the chamber sensor and Bambu's per-model messages.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
counterpart_print_record
ParameterTypeDescription
bambu_serialstringSaved Bambu printer serial; used only to select a local record.
hoststringSaved printer hostname or address; used only to select a local record.
counterpart_print_routeCounterpart contract (counterpart/1): how this server reaches the printer for prints and for Stop/Pause/Resume. route is "lan" (the local network through FULU's BambuNetwork bridge, or the configured X2D native or Bambu Connect mode), "cloud" (Bambu Cloud through FULU's bridge) or "developer" (the local network straight to a printer in LAN Only + Developer Mode, whose Pause, Resume and Stop need no Bambu app). options lists each with its label, whether it can be chosen here (and why not) and what controls do on it; choices lists the ids that can be chosen. mode and type are BAMBU_DEFAULT_CONNECTION_MODE and BAMBU_DEFAULT_CONNECTION_TYPE as resolved. Pass route to change it: the change applies to the next print and control at once, and is saved to the .env file in this server's working directory when that file exists (savedTo; null otherwise). Sends nothing to the printer.
ParameterTypeDescription
routestringChange the route. Omit to read it.
counterpart_printer_infoCounterpart contract (counterpart/1): this server's name and version, the configured Bambu printer, and which progress, layer, camera, filament, pause/resume/cancel and print features it has. Sends nothing to the printer.
ParameterTypeDescription
bambu_modelstringPrinter model; defaults to BAMBU_MODEL. Selects the camera transport.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env); never returned.
hoststringHostname or IP of the printer (default: value from env)
counterpart_propose_filamentsCounterpart contract (counterpart/1): which loaded AMS spool prints each of a model's colours, before slicing. Reads the live AMS once. trays lists the spools a person may choose (label like "A2", a person-readable name, colour, material, feed). proposal gives each filament its nearest spool in OKLab colour with the asked-for material preferred, and a verdict: same-colour, closest (that colour isn't loaded; note says so), no-colour or none. One print feeds from one source. Pass chosen to check the person's spools against what is loaded now; mapping then lists every filament slot's spool (painted slots included), and problems says why a choice can't print.
ParameterTypeDescription
bambu_modelstringPrinter model; defaults to BAMBU_MODEL. Selects the filament profiles that decide which spools can slice.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env); never returned.
hoststringHostname or IP of the printer (default: value from env)
nozzle_diameterstringNozzle diameter (default NOZZLE_DIAMETER or 0.4).
counterpart_self_checkCounterpart contract (counterpart/1): whether this install's own runtime dependencies and its bundled bambu-node patch loaded, each with its installed version. Run it after an update; ok is false when a check failed, with a message saying which. Sends nothing to the printer.
counterpart_setup_fieldsCounterpart contract (counterpart/1): the printers this server drives and the settings it reads for each, by .env variable name (first canonical, then aliases): label, hint, whether required, the model choices and the model each serial-number prefix names, and whether camera_snapshot reads the printer's camera with only those settings (cameraSnapshot). Pass serial to get the model it names. Sends nothing to a printer and returns no configured values.
ParameterTypeDescription
serialstringA Bambu serial number: model is the one it names, when known.
delete_printer_fileDelete a file from the Bambu Lab printer's SD card via FTPS. Destructive: requires confirm:true. Restricted to cache/, timelapse/, and logs/ directories, plus top-level files on H2-series printers (except X2D). Path traversal segments (..) are rejected.
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
confirmbooleanMust be true to actually delete. When false or omitted the call returns without sending an FTP request.
filename *stringFile to delete. Bare names default to cache/<name>; pass a relative path like timelapse/foo.mp4 to target other allowed directories, or /<name> as list_printer_files reports it for a top-level file on an H2-series printer.
hoststringHostname or IP of the printer (default: value from env)
extend_stl_baseExtend the base of an STL file by a specified amount
ParameterTypeDescription
extension_height *numberHeight in mm to extend the base by
stl_path *stringPath to the STL file to modify
fusion_mcp_callCall a discovered tool on the configured Fusion MCP server, such as create_sketch, extrude, fillet, create_parameter, set_parameter, check_interference or execute_code, preserving its full MCP content and errors. Discover tool schemas with fusion_mcp_status first. Calls change the open Fusion design and are never automatically retried. Most tools need an open design: call fusion_mcp_new_design first.
ParameterTypeDescription
argumentsobjectArguments matching the remote tool's discovered input schema.
document_idstringSession identity returned by a bound new design. Every operation targets this document, even if the user changes tabs.
timeout_msintegerTotal deadline in milliseconds; defaults to FUSION_MCP_TIMEOUT_MS or 180000.
tool_name *stringExact tool name advertised by the Fusion MCP server.
fusion_mcp_exportExport the open Fusion design into an existing directory as <name>.stl (export_stl of one body), <name>.f3d (export_f3d) and <name>.parameters.json (its user parameters), and return their absolute paths. The STL is checked as a finite triangle mesh; slice it like any other model. Fusion must run on this computer, and existing files are never overwritten.
ParameterTypeDescription
body_namestringThe body to export as STL. Optional when the design has exactly one body.
document_idstringSession identity returned by a bound new design. Every operation targets this document, even if the user changes tabs.
name *stringFile name without extension, such as bracket.
output_dir *stringExisting directory for the three files.
timeout_msintegerTotal deadline in milliseconds; defaults to FUSION_MCP_TIMEOUT_MS or 180000.
fusion_mcp_new_designOpen a new parametric design document in Fusion (execute_code with app.documents.add(FusionDesignDocumentType)). The Fusion MCP tools work on the open design, so a design pass calls this first.
ParameterTypeDescription
bind_documentbooleanCreate an isolated document and return its session identity, restoring the previously active document. Requires document-binding support in the configured bridge/add-in.
source_f3dstringWith bind_document, import this absolute F3D path into a new document for revision.
timeout_msintegerTotal deadline in milliseconds; defaults to FUSION_MCP_TIMEOUT_MS or 180000.
fusion_mcp_setupCheck or install what the Fusion bridge needs on macOS: Autodesk Fusion itself (found, never installed), the Fusion360MCP add-in from ${FUSION_ADDIN_REPOSITORY} at ${FUSION_MCP_PIN} (every file checked against its pinned SHA-256) set to run on startup, a login item that sets FUSION_MCP_PORT for Fusion however it is opened, and this server's FUSION_MCP_* settings. Without install: reports them and changes nothing. With install: true, installs what is missing and adds the missing settings to this server's own .env (after a copy of it), keeping a configured FUSION_MCP_COMMAND and its arguments. Never starts or quits Fusion; check the connection with fusion_mcp_status.
ParameterTypeDescription
installbooleanInstall what is missing (default false: check only).
fusion_mcp_statusCheck Autodesk Fusion through the configured Fusion MCP server (fusion360-mcp-server, faust-machines or the pinned fork with document binding): whether it is configured, Fusion is running, the Fusion360MCP add-in answers on its port, and the server's tools and schemas. Reports state (starting, ready, unresponsive), responsive and reason from a fresh no-op execute_code command probe, capped at 5 s; a ping or design read alone is not readiness. The probe never edits or opens a document. With launch: true, starts Fusion on macOS when it is not running and waits up to 90 s for the add-in. Configure FUSION_MCP_COMMAND (uvx) and FUSION_MCP_ARGS (${JSON.stringify(FUSION_MCP_DEFAULT_ARGS)}), or run fusion_mcp_setup.
ParameterTypeDescription
launchbooleanStart Autodesk Fusion (open -a "Autodesk Fusion") when it is not running, then wait up to 90 s for the add-in.
timeout_msintegerConnection, discovery and command-probe deadline, capped at 5000 ms even if a larger value is requested. Launch waiting is separate.
get_printer_filamentsGet the live AMS/external filament inventory from the printer over MQTT, including loaded/empty slot summary, resolved slicer profile paths, match confidence, and recommended load_filaments when the printer model is known.
ParameterTypeDescription
bambu_modelstringOptional model hint used to resolve Bambu/Orca filament profile JSONs for each tray.
bambu_serialstringSerial number for the Bambu Lab printer (default: value from env)
bambu_tokenstringAccess token for the Bambu Lab printer (default: value from env)
hoststringHostname or IP address of the printer (default: value from env)
nozzle_diameterstringOptional nozzle diameter used when resolving model-specific filament profile JSONs (default: 0.4).
get_printer_statusGet the current status of the Bambu Lab printer
ParameterTypeDescription
bambu_serialstringSerial number for the Bambu Lab printer (default: value from env)
bambu_tokenstringAccess token for the Bambu Lab printer (default: value from env)
hoststringHostname or IP address of the printer (default: value from env)
get_slice_settingsInspect slicer settings from a saved 3MF template or a JSON/config slicer profile without slicing anything. For a 3MF given as source_path, own_process is true when slice_stl, given this call's other arguments as it would take them (slicer_profile, template_name, template_3mf_path, layer_height, wall_loops, sparse_infill_density, quality, strength), prints the process the file carries (a designer's Bambu Studio or Orca project) unchanged. A 3MF with no slicer settings reports raw_key_count 0; a file that can't be read is an error.
ParameterTypeDescription
enable_supportbooleanFor own_process: the enable_support slice_stl would be given.
layer_heightnumberFor own_process: the layer_height slice_stl would be given.
nozzle_diameterstringFor own_process: the nozzle_diameter slice_stl would be given; layer heights are checked against it.
slicer_profilestringFor own_process: the slicer_profile slice_stl would be given.
source_pathstringPath to a 3MF template, extracted project_settings.config, or slicer profile JSON.
sparse_infill_densitystringFor own_process: the sparse_infill_density slice_stl would be given.
support_typestringFor own_process: the support_type slice_stl would be given.
template_3mf_pathstringFor own_process: the template_3mf_path slice_stl would be given.
template_dirstringOptional template directory override when resolving template_name.
template_namestringOptional named template from the local registry. Without source_path it is the source read; with source_path it is the slice's template, for own_process.
wall_loopsnumberFor own_process: the wall_loops slice_stl would be given.
get_stl_infoGet detailed information about an STL file (bounding box, face count, dimensions)
ParameterTypeDescription
stl_path *stringPath to the STL file to analyze
inspect_print_fileInspect an exact private snapshot of a prepared sliced 3MF or textual G-code file and selected plate without contacting a printer. Returns versioned file-only evidence; no printer readiness or permission to dispatch is established. Does not auto-slice.
ParameterTypeDescription
bambu_model *stringExplicit file-inspection target model; never inferred from environment or live state.
bed_typestringOptional declared bed type to compare with file metadata.
file_path *stringLocal prepared .3mf or textual .gcode artifact to inspect; checksum-only and unsliced projects reject.
include_previewbooleanAlso return preview: PNG pictures drawn from this exact file's G-code (every extruding line in its filament's colour; the top as it sits on the bed, and the bed side turned over), with the artifact's sha256. Large (tens of KB of base64); for apps that show the person what will print, not for agents.
nozzle_diametersarrayOptional requested nozzle diameters to compare with file declarations; this does not observe installed hardware.
plate_indexintegerZero-based selected plate; defaults to 0. Raw G-code only supports 0.
lay_flatRotate the model so a face rests on the bed (Z=0), choosing the orientation with the least part and support volume per mm² of bed contact. A face counts only if nothing hangs below it. Returns the new STL path; structuredContent.laid_flat is false, with the input path, when no orientation qualifies.
ParameterTypeDescription
stl_path *stringPath to the STL file
list_3mf_plate_objectsList the objects of a sliced 3MF plate that the printer can skip, one per copy, as Bambu Studio's skip dialog lists them: identify_id (id), name, whether it is already skipped, and labelObjectEnabled (the plate was sliced with object labels, which skipping needs). Use these ids with skip_objects during a running print.
ParameterTypeDescription
plate_indexnumber0-based plate index to inspect (default: 0)
three_mf_path *stringPath to a sliced 3MF/.gcode.3mf file
list_3mf_platesList a Bambu Studio or OrcaSlicer 3MF's plates as its designer laid them out, before slicing: plate_count, and for each plate its index (from 0; slice_stl's slice_plate is index + 1, inspect_print_file's plate_index is index), name, the objects on it, each object copy's identify_id (instances: the ids slice_stl's skip_objects takes) whether the file already holds its G-code (sliced), and filaments: the project filaments that plate prints with and only those (index from 1 = slice_stl's load_filaments/filament_colours position and print_3mf's ams_mapping position + 1; colour, material, filament_id, and the first part using it), from the slice when there is one, otherwise worked out as Bambu Studio does from the plate's parts, painting, support, layer ranges and tool changes. filaments_complete is false when a part's mesh was too large to read its painting: that plate then lists every declared filament, so offer them all rather than miss one that prints. project_filaments lists every filament the project declares, used or not (slice_stl takes one load_filaments profile per declared filament). build_items: the root 3D/3dmodel.model build items on the plate (0-based, build order); parts: each model part of the plate's objects once, with object_id (the mesh object), path when that mesh is in another model part (p:path), build_object_id (the root object a build item places), name, filament (1-based) and painted: true when slicer painting recolours some facets; draw a plate from these with the 3MF's own meshes. A plain 3MF without plate metadata is one plate. include_thumbnails adds each plate's own preview from the file (thumbnail_png_base64). Read-only.
ParameterTypeDescription
include_thumbnailsbooleanInclude each plate's own preview PNG from the file, base64 (default false)
three_mf_path *stringPath to the 3MF (a designer's project, sliced or not)
list_printer_filesList files stored on the Bambu Lab printer: on H2-series printers, the top-level folder (directories["/"], where H2-series printers keep print and upload files; listed in files as /<name>) and the cache/, timelapse/ and logs/ directories.
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
list_templatesList saved slicing templates from the local template registry directory.
ParameterTypeDescription
template_dirstringOptional template directory override. Defaults to BAMBU_TEMPLATE_DIR or the server's configured local template registry.
merge_verticesMerge vertices in an STL file closer than the specified tolerance
ParameterTypeDescription
stl_path *stringPath to the STL file
tolerancenumberMax distance to merge (mm, default: 0.01)
pause_printPause the current print job on the Bambu Lab printer (resumable via resume_print)
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
connection_modestringThe connection the print used. Defaults to BAMBU_DEFAULT_CONNECTION_MODE, the same default print_3mf uses, else the model's route.
connection_typestringFULU BambuNetwork connection type the print used. Defaults to BAMBU_DEFAULT_CONNECTION_TYPE, as for print_3mf. Authenticated controls support lan.
hoststringHostname or IP of the printer (default: value from env)
print_3mfPrint a 3MF file on a Bambu Lab printer. Auto-slices if the 3MF has no gcode. IMPORTANT: bambu_model must be specified to ensure safe printer operation.
ParameterTypeDescription
ams_mappingarrayProject-level AMS mapping array. Position = project filament index, value = absolute AMS tray. Positions the selected plate does not print are sent as -1, as Bambu Studio sends them, whatever is passed there (0-3=AMS 0, 4-7=AMS 1, 8-11=AMS 2, 128+=AMS-HT, 254=external, -1=unused). On dual-nozzle printers (H2D, H2D Pro, H2C, X2D) 254 is the LEFT/deputy nozzle external spool and 255 the RIGHT/main nozzle external spool, matching Bambu Studio's virtual tray ids; the gcode header's filament_map (1=left, 2=right) says which nozzle each filament was sliced for. Prefer ams_slots unless you know the project-level layout.
ams_slotsarrayPreferred AMS input: one absolute tray index per USED filament in plate order, e.g. [1] for a single-filament print pulling from AMS 0 slot 1. Use 254 for the external spool (on dual-nozzle printers: 254 = left/deputy nozzle external, 255 = right/main nozzle external). Expanded to project-level ams_mapping automatically from the 3MF's plate_N.json and gcode header.
auto_match_amsbooleanWhen true, match the sliced 3MF's tray_info_idx requirements against live AMS inventory and use the resulting ams_slots. Ignored when ams_mapping or ams_slots is provided.
bambu_model *stringREQUIRED: Bambu Lab printer model. Ask the user if not known. Using the wrong model can damage the printer.
bambu_network_config_dirstringConfig/log directory used by the FULU BambuNetwork agent.
bambu_network_methodstringFULU print method when connection_mode is bambu_network; defaults to start_local_print for lan, and for cloud to Bambu Studio's order: start_local_print_with_record, then start_print if that fails.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
bed_levelingbooleanAuto bed leveling on or off. Omit to send what Bambu Studio's Send dialog would: the choice saved in BambuStudio.conf for this printer, else Studio's default.
bed_typestringBed plate type currently installed (default: textured_plate)
bridge_commandstringOverride command for the FULU bridge host or macOS/WSL wrapper; defaults to BAMBU_NETWORK_BRIDGE_COMMAND. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
connection_modestringPrint path: bambu_connect hands a printable file to the signed-in Bambu Connect app for cloud-mode review; X2D otherwise defaults to bambu_native (Bambu Studio's installed local networking plug-in, storing the job on a ready SD card or USB stick, otherwise internal eMMC); X1C may opt in to bambu_native, for example when its firmware refuses FTPS uploads with 553; lan_mqtt_ftps is the legacy direct MQTT/FTPS path; bambu_network uses the FULU bridge.
connection_typestringBambuNetwork connection type when connection_mode is bambu_network; cloud uses restored internet printing, lan uses local bridge printing.
country_codestringBambuNetwork country code, such as US, used by the FULU bridge agent.
dev_idstringBambu device id for FULU BambuNetwork printing; defaults to BAMBU_DEV_ID or BAMBU_SERIAL.
dev_ipstringPrinter IP address for FULU BambuNetwork LAN/local print methods; defaults to host when provided.
flow_calibrationbooleanFlow calibration task boolean. Omission resolves Studio settings (auto on P1/P1S); direct MQTT sends false for auto but does not transmit the integer auto mode. The result calibration report distinguishes resolved and transmitted options.
hoststringHostname or IP of the printer (default: value from env)
nozzle_diameterstringNozzle diameter in mm for auto-slicing (default: 0.4)
nozzle_diametersarrayComplete per-nozzle diameters for a pre-sliced job, e.g. [0.4, 0.6]. Omit to verify its declared diameters against live telemetry; cannot combine with nozzle_diameter.
nozzle_typestringInstalled nozzle material, used when the 3MF must be auto-sliced (default: BAMBU_NOZZLE_TYPE, else the preset's stock nozzle).
nozzle_volume_typestringInstalled nozzle flow type, used when the 3MF must be auto-sliced (default: BAMBU_NOZZLE_VOLUME_TYPE, else standard).
pause_at_layersarrayPause before each of these layers (1-based, as Bambu Studio and OrcaSlicer number them in the preview), for example to drop in magnets or nuts. The slicer writes the printer's own pause G-code there (M400 U1 on Bambu printers); the printer stops by itself and waits for Resume. Bambu Studio or OrcaSlicer CLI only. Used when the 3MF has no G-code yet; a sliced 3MF must already carry these pauses, or it is refused.
plate_indexnumberZero-based plate index to print from the sliced 3MF (default: 0)
slicer_pathstringPath to the slicer executable for auto-slicing (default: value from env or a platform default). Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
slicer_profilestringPath to the slicer profile/config file for auto-slicing (optional).
slicer_typestringSlicer to use only if auto-slicing an unsliced 3MF. Bambu-compatible slicer aliases such as fulu-orca and orca-studio are accepted.
template_3mf_pathstringOptional template 3MF whose embedded Bambu slicer settings should be reused when auto-slicing this print job.
template_dirstringOptional template directory override when resolving template_name.
template_namestringOptional named template from the local registry. Resolves to template_3mf_path automatically.
three_mf_path *stringPath to the 3MF file to print
timelapsebooleanEnable timelapse recording (default: false)
try_emmc_printbooleanX2D native printing: true stores the job on internal storage (eMMC), false on the SD card or USB stick (refused unless the printer reports one ready). Omit to use the card when ready, else eMMC; X1C requires fresh advertised internal-printing support before using eMMC. BAMBU_NATIVE_TRY_EMMC_PRINT sets a server default.
use_amsbooleanWhether to use the AMS (default: auto-detect from 3MF)
user_infostringOptional BambuNetwork user_info JSON string passed to net.change_user for the FULU bridge.
vibration_calibrationbooleanVibration calibration (default false, as Bambu Studio sends).
print_3mf_bambu_networkPrint a 3MF through FULU OrcaSlicer-bambulab's restored BambuNetwork path instead of the MCP LAN MQTT/FTPS path.
ParameterTypeDescription
ams_mappingarrayAMS slot mapping array used by both local MCP printing and FULU PrintParams. Same tray values as print_3mf: 254 = external spool; on dual-nozzle printers 254 = left/deputy nozzle external and 255 = right/main nozzle external.
ams_mapping2stringRaw JSON string for FULU PrintParams ams_mapping2, matching OrcaSlicer-bambulab's v1 AMS mapping field.
ams_mapping_bridgestringRaw JSON string override for FULU PrintParams ams_mapping when the automatic array is not enough.
ams_mapping_infostringRaw JSON string for FULU PrintParams ams_mapping_info, matching OrcaSlicer-bambulab's detailed AMS mapping field.
ams_slotsarrayPer-used-filament AMS slot list, matching the local LAN print path (254/255 external spool rules as in print_3mf).
bambu_model *stringREQUIRED: Bambu Lab printer model. Ask the user if not known. Using the wrong model can damage the printer.
bambu_network_config_dirstringConfig/log directory used by the BambuNetwork agent; defaults to BAMBU_NETWORK_CONFIG_DIR or a user config directory.
bambu_network_methodstringFULU print method to invoke; defaults to start_local_print for lan, and for cloud to Bambu Studio's order: start_local_print_with_record, then start_print if that fails.
bambu_serialstringFallback Bambu device id when dev_id is not supplied.
bambu_tokenstringPrinter access code/password for LAN/local bridge methods.
bed_levelingbooleanAuto bed leveling on or off. Omit to send what Bambu Studio's Send dialog would: the choice saved in BambuStudio.conf for this printer, else Studio's default.
bed_typestringBed plate type currently installed (default: textured_plate).
bridge_commandstringOverride command for the FULU bridge host or macOS/WSL wrapper; defaults to BAMBU_NETWORK_BRIDGE_COMMAND. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
client_job_idnumberOptional client job id sent to the bridge; defaults to the current timestamp.
config_filenamestringOptional config 3MF path for cloud print; defaults to the same 3MF path.
connection_typestringBambuNetwork connection type to put in FULU PrintParams; cloud uses restored internet printing, lan uses local bridge printing.
country_codestringBambuNetwork country code, such as US, used by the agent during startup.
dev_idstringBambu device id used by BambuNetwork; defaults to BAMBU_DEV_ID or BAMBU_SERIAL.
dev_ipstringPrinter IP address for LAN/local bridge methods; defaults to host when provided.
external_change_assistbooleanEnable FULU PrintParams task_ext_change_assist for external filament change assistance.
extra_optionsstringRaw JSON string or text for FULU PrintParams extra_options.
flow_calibrationbooleanFlow calibration task boolean. Omission resolves Studio settings (auto on P1/P1S); direct MQTT sends false for auto but does not transmit the integer auto mode. The result calibration report distinguishes resolved and transmitted options.
hoststringPrinter host or IP address, used as dev_ip for LAN/local bridge methods.
layer_inspectbooleanFirst-layer inspection where supported (default true, as Bambu Studio sends).
nozzle_diameterstringNozzle diameter in mm for auto-slicing (default: 0.4).
nozzle_diametersarrayComplete per-nozzle diameters for pre-sliced jobs, e.g. [0.4, 0.6]. Omit to verify file metadata against every reported nozzle; cannot combine with nozzle_diameter.
nozzle_mappingstringRaw JSON string for FULU PrintParams nozzle_mapping.
nozzle_typestringInstalled nozzle material, used when the 3MF must be auto-sliced (default: BAMBU_NOZZLE_TYPE, else the preset's stock nozzle).
nozzle_volume_typestringInstalled nozzle flow type, used when the 3MF must be auto-sliced (default: BAMBU_NOZZLE_VOLUME_TYPE, else standard).
nozzles_infostringRaw JSON string for FULU PrintParams nozzles_info.
passwordstringPrinter password/access code override for LAN/local bridge methods.
plate_indexnumberZero-based plate index to print from the sliced 3MF; converted to FULU's one-based PrintParams plate_index.
preset_namestringOptional preset name sent in FULU PrintParams; defaults to project plus one-based plate index.
project_namestringOptional project name returned in the result; defaults to the 3MF filename without extension. The printer job and stored file use the server's unique checked name so resume_print can bind to the inspected file.
slicer_pathstringPath to the slicer executable for auto-slicing; defaults to value from env or a platform default. Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
slicer_profilestringPath to an optional slicer profile/config file for auto-slicing.
slicer_typestringSlicer to use only if auto-slicing an unsliced 3MF; use orcaslicer-bambulab for FULU's fork.
task_namestringOptional project label when project_name is omitted. The submitted task name uses a unique inspected-job identity for safe resume.
three_mf_path *stringPath to the 3MF file to print; unsliced 3MFs are auto-sliced before sending.
timelapsebooleanEnable timelapse recording in FULU PrintParams (default: false).
timeout_msnumberBridge request timeout in milliseconds.
try_emmc_printbooleanStore the job on internal storage (eMMC) instead of the SD card or USB stick. FULU bridge: default false. X2D native printing: omit to use a ready card, else eMMC.
use_amsbooleanWhether to use the AMS; defaults to auto-detect from the 3MF mapping.
use_ssl_for_ftpbooleanWhether FULU local print should use SSL for FTP (default: true).
use_ssl_for_mqttbooleanWhether FULU local print should use SSL for MQTT (default: true).
user_infostringOptional BambuNetwork user_info JSON string to pass to net.change_user after the agent starts.
usernamestringPrinter username for LAN/local bridge methods; defaults to bblp.
vibration_calibrationbooleanVibration calibration (default false, as Bambu Studio sends).
print_collar_charmPrint a prepared two-part dog collar charm project using the fixed tray policy: inner/smaller object -> black on AMS 1 slot 1, outer/larger object -> white on AMS 2 slot 1.
ParameterTypeDescription
bambu_model *stringREQUIRED: Bambu Lab printer model. H2D, H2S, and H2C are the primary intended paths. X2D direct printing is not supported.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
bed_levelingbooleanAuto bed leveling on or off. Omit to send what Bambu Studio's Send dialog would: the choice saved in BambuStudio.conf for this printer, else Studio's default.
bed_typestringBed plate type currently installed (default: textured_plate)
flow_calibrationbooleanFlow calibration task boolean. Omission resolves Studio settings (auto on P1/P1S); direct MQTT sends false for auto but does not transmit the integer auto mode. The result calibration report distinguishes resolved and transmitted options.
hoststringHostname or IP of the printer (default: value from env)
nozzle_diameterstringNozzle diameter in mm for auto-slicing (default: 0.4)
slicer_profilestringPath to the slicer profile/config file for auto-slicing (optional).
source_pathstringPath to a prepared collar charm .3mf project or sliced 3MF. Required unless template_name is provided.
template_dirstringOptional template directory override when resolving template_name.
template_namestringNamed collar charm template from the local registry. Required unless source_path is provided; resolves source_path automatically.
timelapsebooleanEnable timelapse recording (default: false)
vibration_calibrationbooleanVibration calibration (default false, as Bambu Studio sends).
reread_ams_rfidTrigger a Bambu AMS RFID re-read for one AMS slot. X2D on macOS, or Linux with the native helper installed, uses the native official plug-in route. This can move AMS filament; use only when the printer is idle and unloaded.
ParameterTypeDescription
ams_id *numberAMS unit index from 0 to 3, or 128 for an X2D AMS-HT.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
slot_id *numberSlot index within that AMS, from 0 to 3
resolve_3mf_ams_slotsInspect a sliced 3MF and match its tray_info_idx filament requirements against the live AMS inventory. Does not upload or start a print.
ParameterTypeDescription
bambu_modelstringOptional model hint used to resolve Bambu/Orca filament profile JSONs for each tray.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
nozzle_diameterstringNozzle diameter in mm (default: 0.4)
plate_indexnumber0-based plate index to inspect (default: 0)
three_mf_path *stringPath to a sliced 3MF/.gcode.3mf file
resume_printResume a paused job that this server inspected and started. It re-downloads the job's file over FTPS and compares its SHA-256, asks a person to confirm only when the file could not be re-read, and reads the printer again before sending. A job that was cancelled, ended or replaced is never resumed. Returns jobName and bytesVerified.
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
connection_modestringThe connection the print used. Defaults to BAMBU_DEFAULT_CONNECTION_MODE, the same default print_3mf uses, else the model's route.
connection_typestringFULU BambuNetwork connection type the print used. Defaults to BAMBU_DEFAULT_CONNECTION_TYPE, as for print_3mf. Authenticated controls support lan.
hoststringHostname or IP of the printer (default: value from env)
rotate_stlRotate an STL file by specified angles (degrees)
ParameterTypeDescription
angle_xnumberRotation angle for X axis in degrees (default: 0)
angle_ynumberRotation angle for Y axis in degrees (default: 0)
angle_znumberRotation angle for Z axis in degrees (default: 0)
stl_path *stringPath to the STL file to rotate
save_templateCopy a 3MF, JSON, or config file into the local template registry and register it under a template name.
ParameterTypeDescription
source_path *stringPath to a local .3mf, .json, or .config file to save into the template registry.
template_dirstringOptional template directory override. Defaults to BAMBU_TEMPLATE_DIR or the server's configured local template registry.
template_namestringOptional template name. Defaults to the source filename without extension.
scale_stlScale an STL file by specified factors
ParameterTypeDescription
scale_xnumberScale factor for X axis (default: 1.0)
scale_ynumberScale factor for Y axis (default: 1.0)
scale_znumberScale factor for Z axis (default: 1.0)
stl_path *stringPath to the STL file to scale
set_airduct_modeSet H2/P2 airduct mode to cooling or heating.
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
mode *stringAirduct mode to apply
set_ams_dryingStart or stop the AMS filament drying cycle. X2D on macOS, or Linux with the native helper installed, uses the native official plug-in route and supports AMS-HT id 128.
ParameterTypeDescription
action *stringWhether to start or stop the drying cycle
ams_id *numberAMS unit index from 0 to 3, or 128 for an X2D AMS-HT.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
set_fan_speedSet a Bambu printer fan speed percentage. X2D on macOS, or Linux with the native helper installed, uses Bambu's networking plug-in without UI automation; other models use MQTT.
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
confirm_during_printbooleanRequired for X2D fan changes while a print is running.
fan *stringFan to control: part, auxiliary, right_auxiliary, chamber, 1, 2, 3, or 10
hoststringHostname or IP of the printer (default: value from env)
speed *numberFan speed percentage from 0 to 100
set_lightSet a Bambu printer light node mode using the printer's MQTT LED command
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
light *stringLight node to control, for example chamber_light
mode *stringLight mode to apply
set_print_speedSet the active print speed mode: silent, standard, sport, or ludicrous.
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
mode *stringSpeed mode to apply: silent/1, standard/2, sport/3, or ludicrous/4
set_temperatureSet a checked bed or nozzle temperature. Positive heating requires matching fresh printer telemetry; nozzle heating also requires declared material. Zero turns the heater off.
ParameterTypeDescription
bambu_modelstringPrinter model, required for positive heating unless configured in the environment
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
component *stringComponent to heat: bed, nozzle, or extruder
hoststringHostname or IP of the printer (default: value from env)
materialstringLoaded material, for example PLA or PETG. Required for positive nozzle heating, including non-RFID spools.
nozzle_diameternumberInstalled nozzle diameter to compare with printer-reported configuration (default 0.4)
temperature *numberFinite target temperature in °C, checked against model/component and declared material limits
skip_objectsSkip specific object IDs during a running multi-object print using the printer's MQTT skip_objects command
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
hoststringHostname or IP of the printer (default: value from env)
object_ids *arrayidentify_id values of the object copies to skip. Use list_3mf_plate_objects on the sliced 3MF to find them.
slice_stlSlice an STL or 3MF file using a slicer to generate printable G-code or sliced 3MF. IMPORTANT: bambu_model must be specified to ensure the slicer generates safe G-code for the correct printer. The text result is the sliced file's path. When Bambu Studio or OrcaSlicer writes a result.json, structuredContent.slicer_result carries it verbatim, success or error: error_string, return_code and each sliced_plates[].warning_message, such as a floating cantilever. structuredContent.slicer_report says whether it failed; for a failure, its message is a plain sentence for a person and slicer_message keeps the slicer's words, which a failed slice's text gives after that sentence. When a slice that worked warns of floating regions, next carries the stop rule (one targeted fix and one re-slice, then report it or slice with supports on) and, for an STL the slicer did not turn, structuredContent.floating_regions lists where they are: x and y in the STL's own millimetres, z above its lowest point, and depth_mm, how far each hangs below where it joins the rest. A slice in two or more colours carries filament_feed: the colours, the filament changes the slicer reports, and whether the printer can feed them (its AMS trays and external spools from a fresh status read; unknown without one). When the printer is known not to (no AMS, or fewer filaments than colours), slice_stl refuses with code needs-more-filaments, filament_slots, filament_changes and a plain slicer_report.message, unless manual_filament_changes is true; when it is unknown, the slice succeeds and slicer_report.message says how many times it would stop without an AMS. A 3MF that carries its own process settings (a designer's Bambu Studio or Orca project) slices with them unless slicer_profile, template_name or template_3mf_path is given; the machine still comes from bambu_model. quality and strength adjust that process, and strength never lowers its walls or infill.
ParameterTypeDescription
allow_mix_tempbooleanAllow filaments with different temperature requirements on the same plate. Required for multi-material prints mixing e.g. PLA and PETG.
arrangebooleanAuto-arrange all objects on the build plate with optimal spacing; STL input is arranged by default. Set false only to keep a 3MF's existing layout: an STL that is not already on the plate then fails to slice.
bambu_model *stringREQUIRED: Bambu Lab printer model. Ask the user if not known. Using the wrong model can damage the printer.
bed_typestringBed plate type for slicing (default: textured_plate).
clone_objectsstringClone the loaded model: total copies as a single integer, e.g. '3'. The Bambu-style CLIs count copies per input file and this tool loads one file, so a comma-separated list is rejected by the slicer.
enable_supportbooleanTurn support generation on or off, written as the process preset's enable_support. Bambu-compatible slicers only.
enable_timelapsebooleanInsert timelapse parking moves into gcode. The toolhead parks at a fixed position each layer for camera capture. Adds ~10% print time.
ensure_on_bedbooleanDetect models floating above the bed and lower them onto the build surface. Safety net for imported models with incorrect Z origins.
filament_coloursstringOptional slot colours, one #RRGGBB per filament slot in order, separated by ';' (e.g. '#161616;#FFFFFF'). Defaults to the input 3MF's project colours, else the BambuStudio default.
filament_profilestringCompatibility alias for load_filaments. Semicolon-separated Orca/Bambu filament profile JSON paths.
layer_heightnumberLayer height in mm, such as 0.28 (draft), 0.2 (standard) or 0.12 (fine). Written as the process preset's layer_height over the machine and process preset this tool resolves; at most the nozzle diameter. Bambu-compatible slicers only.
load_filament_idsstringMap filaments to objects/parts. Comma-separated IDs matching load_filaments order, e.g. '1,2,3,1' assigns filament 1 to objects 0 and 3.
load_filamentsstringOverride filament profiles. Semicolon-separated paths to filament JSON configs, e.g. 'pla_basic.json;petg_cf.json'.
manual_filament_changesbooleanThe person will change filament by hand: a slice in more colours than the printer can feed (no AMS) is returned, with the number of changes, instead of refused with needs-more-filaments.
min_savebooleanWrite a smaller output 3MF by omitting non-essential metadata. Reduces file size for faster FTP upload to the printer.
nozzle_diameterstringNozzle diameter in mm (default: 0.4)
nozzle_typestringBambu-compatible slicing: the hotend nozzle material installed on the printer (default: BAMBU_NOZZLE_TYPE, else the model preset's stock nozzle, usually stainless_steel). Printing compares it with the printer's reported nozzle.
nozzle_volume_typestringBambu-compatible slicing: the flow type of the nozzle installed on the printer (default: BAMBU_NOZZLE_VOLUME_TYPE, else standard). high_flow uses the presets' High Flow values, such as the filament's High Flow max volumetric speed, and is refused if the machine preset has no High Flow variant. Printing compares it with the printer's reported nozzle flow.
orientbooleanAuto-orient the model for optimal printability (minimize supports, maximize bed adhesion). Recommended for raw STL imports that lack a pre-set orientation.
pause_at_layersarrayPause before each of these layers (1-based, as Bambu Studio and OrcaSlicer number them in the preview), for example to drop in magnets or nuts. The slicer writes the printer's own pause G-code there (M400 U1 on Bambu printers); the printer stops by itself and waits for Resume. Bambu Studio or OrcaSlicer CLI only. Pauses already in a project 3MF are kept.
repetitionsnumberSlice N identical copies of the model. Bambu Studio and OrcaSlicer copy an STL with --clone-objects; do not also pass clone_objects. Copies may need multiple plates; print_3mf prints one selected plate per call. For 3MF input, select slice_plate explicitly.
rotatenumberRotate the model around the Z-axis (vertical) by this many degrees before slicing. Positive = counterclockwise when viewed from above.
rotate_xnumberRotate the model around the X-axis by this many degrees before slicing. Useful for reorienting prints for better layer adhesion.
rotate_ynumberRotate the model around the Y-axis by this many degrees before slicing. Useful for reorienting prints for better layer adhesion.
scalenumberUniform scale factor applied to all axes. 1.0 = original size, 2.0 = double, 0.5 = half. Applied before slicing.
skip_modified_gcodesbooleanStrip custom start/end gcodes embedded in the 3MF. Recommended for downloaded 3MFs since custom gcodes from other users' profiles may be unsafe for your printer.
skip_objectsstringSkip these object copies when slicing, by identify_id, comma-separated (e.g. '78,92'). The ids are the instances list_3mf_plates gives for each plate; they are not positions. Useful for multi-object 3MFs where you only want to print some parts.
slice_platenumberWhich plate index to slice. 0 = all plates for local slicers; remote slicing defaults to plate 1 and rejects 0. Use 1, 2, etc. to slice only a specific plate in multi-plate 3MF projects.
slicer_pathstringPath to the slicer executable (default: value from env). Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
slicer_profilestringPath to an optional process profile/config file. The exact bambu_model/nozzle machine preset is still required.
slicer_typestringType of slicer to use. Bambu-compatible choices (bambustudio, orcaslicer, orcaslicer-bambulab) export sliced 3MF; aliases such as fulu-orca and orca-studio are accepted.
sparse_infill_densitystringSparse infill density as a percentage, such as "15%", written as the process preset's sparse_infill_density. Bambu-compatible slicers only.
stl_path *stringPath to the STL or 3MF file to slice
support_threshold_angleintegerOverhang threshold in degrees for automatic supports, written as the process preset's support_threshold_angle (0 lets the slicer decide). Bambu-compatible slicers only.
support_typestringSupport style, written as the process preset's support_type. Bambu-compatible slicers only.
template_3mf_pathstringOptional template 3MF whose embedded Bambu slicer settings should be reused when slicing a new STL or 3MF.
template_dirstringOptional template directory override when resolving template_name.
template_namestringOptional named template from the local registry. Resolves to template_3mf_path automatically.
uptodatebooleanRefresh 3MF preset configs to match the latest BambuStudio version. Use when slicing downloaded or older 3MF files to prevent stale-config failures.
use_printer_filamentsbooleanWhen true, and no explicit slicer profile or load_filaments override is provided, use the printer's current or first loaded AMS filament as the slicer filament profile. Template 3MF process settings can still be used at the same time.
wall_loopsintegerNumber of walls (perimeters), written as the process preset's wall_loops. Bambu-compatible slicers only.
slice_with_templateSlice an STL or 3MF using a named template from the local registry. This is a higher-level wrapper around slice_stl for template-based workflows.
ParameterTypeDescription
arrangebooleanAuto-arrange objects on the build plate.
bambu_model *stringREQUIRED: Bambu Lab printer model. Ask the user if not known. Using the wrong model can damage the printer.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
bed_typestringBed plate type for slicing (default: textured_plate).
ensure_on_bedbooleanLift floating models onto the bed.
filament_coloursstringOptional slot colours, one #RRGGBB per filament slot in order, separated by ';' (e.g. '#161616;#FFFFFF'). Defaults to the input 3MF's project colours, else the BambuStudio default.
hoststringHostname or IP of the printer (default: value from env)
load_filament_idsstringOptional filament-to-object mapping string.
load_filamentsstringOverride filament profiles. Semicolon-separated paths to filament JSON configs.
min_savebooleanProduce smaller output 3MF.
nozzle_diameterstringNozzle diameter in mm (default: 0.4)
nozzle_typestringBambu-compatible slicing: the hotend nozzle material installed on the printer (default: BAMBU_NOZZLE_TYPE, else the model preset's stock nozzle, usually stainless_steel). Printing compares it with the printer's reported nozzle.
nozzle_volume_typestringBambu-compatible slicing: the flow type of the nozzle installed on the printer (default: BAMBU_NOZZLE_VOLUME_TYPE, else standard). high_flow uses the presets' High Flow values, such as the filament's High Flow max volumetric speed, and is refused if the machine preset has no High Flow variant. Printing compares it with the printer's reported nozzle flow.
orientbooleanAuto-orient model for optimal printability.
pause_at_layersarrayPause before each of these layers (1-based, as Bambu Studio and OrcaSlicer number them in the preview), for example to drop in magnets or nuts. The slicer writes the printer's own pause G-code there (M400 U1 on Bambu printers); the printer stops by itself and waits for Resume. Bambu Studio or OrcaSlicer CLI only. Pauses already in a project 3MF are kept.
repetitionsnumberTotal copies of an STL, using clone_objects internally. Do not also pass clone_objects. The slicer may place copies on multiple plates; print_3mf prints one selected plate per call. For 3MF input, select slice_plate explicitly.
rotatenumberZ-axis rotation in degrees.
rotate_xnumberX-axis rotation in degrees.
rotate_ynumberY-axis rotation in degrees.
scalenumberUniform scale factor.
skip_modified_gcodesbooleanIgnore stale custom gcodes in the 3MF.
slice_platenumberWhich plate index to slice. 0 = all plates.
slicer_pathstringPath to the slicer executable (default: value from env). Per-call overrides require MCP_ALLOW_EXECUTABLE_ARG=1.
slicer_profilestringExplicit slicer profile/config file. Overrides the named template only when provided in the tool call.
slicer_typestringType of slicer to use. Bambu-compatible choices (bambustudio, orcaslicer, orcaslicer-bambulab) export sliced 3MF; aliases such as fulu-orca and orca-studio are accepted.
stl_path *stringPath to the STL or 3MF file to slice
template_dirstringOptional template directory override when resolving template_name.
template_name *stringNamed template from the local registry.
use_printer_filamentsbooleanWhen true, and no explicit slicer profile or load_filaments override is provided, use the printer's current or first loaded AMS filament as the slicer filament profile.
start_printStart printing a G-code file already on the Bambu Lab printer. Alias of start_print_job for upstream MCP compatibility.
ParameterTypeDescription
bambu_model *stringREQUIRED: Bambu Lab printer model. Ask the user if not known. Starting G-code for the wrong model can damage the printer.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
filename *stringName of the file to print
hoststringHostname or IP of the printer (default: value from env)
start_print_jobStart printing a G-code file already on the Bambu Lab printer
ParameterTypeDescription
bambu_model *stringREQUIRED: Bambu Lab printer model. Ask the user if not known. Starting G-code for the wrong model can damage the printer.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
filename *stringName of the file to print. A bare name means cache/<name>; /<name>, as list_printer_files and upload_file report it, is a top-level file on an H2-series printer.
hoststringHostname or IP of the printer (default: value from env)
upload_fileUpload a local file to the Bambu Lab printer
ParameterTypeDescription
bambu_modelstringRequired for every printable .gcode or .3mf upload, including upload-only operations.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
bed_typestringBed plate type for the native X2D uploader (default: textured_plate).
connection_modestringUpload transport; bambu_native uses the installed Bambu networking plug-in for X2D or X1C and never starts printing.
file_path *stringLocal path to the file to upload
filename *stringName for the file on the printer
hoststringHostname or IP of the printer (default: value from env)
plate_indexintegerZero-based plate index passed to the native X2D uploader (default: 0).
preset_namestringOptional printer preset name passed to the native X2D uploader.
printbooleanStart printing after upload (default: false)
project_namestringOptional project name passed to the native X2D uploader; defaults to filename.
upload_gcodeInspect a G-code file and upload a uniquely named copy without overwriting existing printer files.
ParameterTypeDescription
bambu_modelstringRequired printer model for inspecting the uploaded G-code, even when not starting it.
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
filename *stringName for the file on the printer
gcodestringG-code content to upload, or a readable local .gcode path. Required unless gcode_path is provided. For large files, prefer gcode_path.
gcode_pathstringLocal path to a .gcode file to upload. Required unless gcode is provided. This avoids sending large G-code bodies through the MCP request.
hoststringHostname or IP of the printer (default: value from env)
x2d_native_controlRead calibration results or update X2D AMS metadata/calibration selection through the installed plug-in. Raw motion, heating, task control, and safety-setting changes are rejected.
ParameterTypeDescription
bambu_serialstringSerial number (default: value from env)
bambu_tokenstringAccess token (default: value from env)
flagnumberBambu networking plug-in command flag (0 or 1; default 0).
hoststringHostname or IP of the printer (default: value from env)
message_json *stringJSON print envelope for ams_filament_setting, extrusion_cali_sel, extrusion_cali_get, extrusion_cali_get_result, or flowrate_get_result. A sequence_id is required; extra fields are rejected.
qosnumberMQTT QoS used by Bambu Studio (0 or 1; default 0).

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 19K words.
  • ✓License declaredThe repository declares the GPL-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json and site/package-lock.json.
  • !No dynamic code executionScanned 88 source files and found 2 calls to eval or shell execution, in src/cad/process.ts:153 and src/cad/worker.py:111. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
stdio and Streamable HTTPsrc/index.ts:23, src/index.ts:24
Starts other programs
9 callssrc/bambu-native.ts:370, src/bambu-network-bridge.ts:316, src/bambu-network-bridge.ts:1204
Outbound network calls
2 callssrc/design-app-setup.ts:65, src/slicer/remote-slicer.ts:143
Writes or deletes files
112 callssrc/3mf_parser.ts:264, src/3mf_parser.ts:291, src/3mf_parser.ts:292
Lockfile
package-lock.json and site/package-lock.json

Pattern matches on the source text of 88 files: places to read, not proof of what the code does at run time.

Releases

v1.1.105v1.1.105 · 27 Nov 2026Document Bambu Scan 01.00.00.50 mesh exports and a manual STL preparation workflow, keeping proprietary projects, unverified units and scanner controls outside the supported integration. Validation: build, 1,605 passing tests with 56…
v1.1.104v1.1.104 · 26 Nov 2026Fixed Accept Blender Lab MCP export receipts from structured or JSON-encoded stdout while retaining request/path matching, output validation and error rejection. Thanks to @miserani for the reproduction and contract evidence in #177.…
v1.1.103v1.1.103 · 24 Nov 2026What's Changed Release 1.1.103: P3C status, Studio 2.9.2 and slice cache fix by @DMontgomery40 in https://github.com/DMontgomery40/bambu-printer-mcp/pull/176 Full Changelog:…
v1.1.102v1.1.102 — Stock H2S chipless-nozzle compatibility · 23 Nov 2026Fixed Accept the stock H2S chipless nozzle's exact `stat: 5` report as configured nozzle settings, retaining diameter/type/flow comparisons and fresh printer safety checks. Other models, chipped unknown nozzles and abnormal states stay…
v1.1.101v1.1.101 — H3C tool rack, nozzles and AMS-3H in status · 23 Nov 2026Added `get_printer_status` on an H3C adds `toolRack`, its tool rack, nozzles and AMS-3H units decoded as Bambu Studio 02.09.01.70 reads them: `holder`: the rack's status, job, steps, type and calibration, and an AB rack's position.…

README

The repository's README runs to about 19K words, fetched 2 days ago. The original in the repository is authoritative.

Read full README
Questions

About Bambu Printer MCP

How do I install Bambu Printer MCP?

In Claude Code, run claude mcp add bambu-printer-mcp -- npx -y bambu-printer-mcp. Other MCP clients take the command after "--" in their server configuration.

Is Bambu Printer MCP safe to use with an AI agent?

Its trust score is 79 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 88 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (9 calls), makes outbound network calls (2 calls) and writes or deletes files (112 calls). Its dependencies are pinned by package-lock.json and site/package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Bambu Printer MCP still maintained?

Yes — the latest release is v1.1.105 (27 Nov 2026), and the last commit was 18 hours ago. The repository has 399 stars and 2 open issues.

What tools does Bambu Printer MCP provide?

Conduid read 68 tools from the source: bambu_connect_import_file, bambu_network_bridge_status, bambu_network_call, blender_mcp_call, blender_mcp_edit_model, blender_mcp_setup, blender_mcp_status, camera_frame and 60 more. 65 of them publish their parameters, listed under Tools above.

What license is Bambu Printer MCP released under?

The repository declares the GPL-2.0 license. That applies to the latest release, v1.1.105, as well.