Retrieved article excerpt
Open article · Retrieved 2026-10-30T14:24:38.377588+00:00
[Skip to content](https://dmontgomery40.github.io/bambu-printer-mcp/#VPContent)
[bambu-printer-mcp](https://dmontgomery40.github.io/bambu-printer-mcp/)
Search`K`
Appearance
# Print from a conversation.
bambu-printer-mcp connects Claude, Codex, and other MCP clients to Bambu Lab printers on your local network. Send your agent a link, a photo, or a message from anywhere, and it can adapt the model, slice it, match the filament, and start the print.
`$ npx -y bambu-printer-mcp`Copy
[Set up with your agent](https://dmontgomery40.github.io/bambu-printer-mcp/#setup)[Read the docs](https://dmontgomery40.github.io/bambu-printer-mcp/guide/)
charm\_tag.gcode.3mfLayer 1 of 48
Slicer preview of one layer of a charm tag: an outer wall, two inner walls, and diagonal sparse infill.
Outer wallInner wallSparse infill
> **Thank you, [FULU Foundation](https://www.fulu.org/), [Louis Rossmann](https://www.youtube.com/watch?v=1jhRqgHxEP8), and the [OrcaSlicer-bambulab contributors](https://github.com/FULU-Foundation/OrcaSlicer-bambulab).** We stand with open-source developers, the right to repair, and your right to control hardware you own. You should be able to choose your software and print without a vendor cloud standing in the way.
>
> **Want to skip Bambu's software and cloud?** Use FULU OrcaSlicer-bambulab to slice and export, then this MCP's direct LAN path on supported printers and firmware. That workflow does not require Bambu Studio, Bambu Connect, or Bambu Cloud. Start with the [FULU setup guide](https://dmontgomery40.github.io/bambu-printer-mcp/guide/fulu). The optional BambuNetwork bridge is a separate path that still uses Bambu's networking runtime; cloud jobs still use Bambu's services.
## Set up with your agent
Tell your agent your printer's **model and LAN address**, if you know them, then copy and paste this:
1. **Copy the request.** It points your agent at the current setup and FULU guides.
2. **Paste it into the agent you want to connect.** It uses that harness's own MCP configuration or installer and keeps your existing servers.
3. **Confirm your printer.** The request tells the agent to ask only for values it can't find, and to keep your access code out of chat.
4. **Check the result.** The agent confirms that the server starts, lists its tools, and reads printer status. It doesn't start a print as a test.
Prefer to do it yourself? Follow the [installation guide](https://dmontgomery40.github.io/bambu-printer-mcp/guide/setup), or install the [Claude Desktop extension](https://dmontgomery40.github.io/bambu-printer-mcp/guide/setup#alternative-claude-desktop-extension-mcpb).
text
```
Install bambu-printer-mcp in the agent/harness I'm using now.
Read https://github.com/DMontgomery40/bambu-printer-mcp/blob/main/docs/SETUP.md
and https://github.com/DMontgomery40/bambu-printer-mcp/blob/main/docs/FULU.md
for the current setup instructions and supported workflows.
Detect my OS and harness, then use its native MCP configuration or installer.
Preserve my existing servers and settings. Prefer the published npm package
(npx -y bambu-printer-mcp, stdio); use Node.js 24 if a runtime is needed.
Find existing printer settings in relevant local configuration or available
LAN discovery. Confirm the detected printer's model, address, and identity
with me before connecting. Ask only for values you cannot find:
PRINTER_HOST, BAMBU_MODEL, BAMBU_SERIAL, and BAMBU_TOKEN (the LAN access code).
Keep credentials in local/private configuration; do not repeat access codes
or tokens in chat. Never guess the printer model.
Use direct LAN printing by default. Explain any LAN/Developer Mode setting
I need to enable. Prefer FULU OrcaSlicer-bambulab GUI slicing/export; discover
an existing slicer before suggesting an install. For FULU/Orca CLI auto-slicing,
require MCP 1.1.11+ and its matching installed profile tree (see guide).
A slicer is not needed here to print a pre-sliced file. Configure the optional FULU
BambuNetwork bridge only if I choose it, and explain its runtime/auth needs.
X2D supports status and slicing; native printing requires macOS or x86-64 Linux and a locally built helper.
If this harness does not already provide code mode or an equivalent, suggest
a compatible code-mode integration as an optional addition. It is not required;
finish ordinary MCP setup without it unless I choose to add it.
Verify that the MCP initializes, lists its tools, and reads printer status.
Do not start a print or change printer settings as a setup test. Tell me what
worked and whether I need to restart or reload the harness.
```
## Ask for what you want
Send a link, a photo, or a message from wherever you are. Your agent works out the steps and checks in when a choice matters. [More on what to ask](https://dmontgomery40.github.io/bambu-printer-mcp/guide/examples).
### Start from anything
- “Here's a phone stand on MakerWorld. Make it fit the new iPhone and print it in black.”
Your agent looks up Apple's published dimensions, adjusts the stand in Blender, slices it for your printer, and finds the AMS tray with black filament.
- “I want one of these.”
with a photo of a planter you saw at a café
It works out the shape and size from the photo, finds or models a matching design, and asks about anything the photo can't show.
- “Can you print a replacement?”
with a photo of a snapped dishwasher rack clip
It asks for a measurement or two where the fit matters, models the part, and prints it in a loaded material that suits the job.
### From anywhere, while it prints
If your agent is always on, such as OpenClaw or Hermes Agent running on a computer at home, message it from Telegram or any other chat app. For direct LAN printing, the server runs on the printer's local network; you don't have to.
- “How's the print going? Send me a picture.”
It reports progress and time remaining, and sends a snapshot from the chamber camera.
- “The corner is lifting. Pause it.”
It pauses the job so you can decide whether to resume or cancel.
- “One of the parts came loose. Skip it and keep printing the rest.”
It finds that object on the plate and skips only that one.
- “Start drying the PETG so it's ready when I get home.”
On a heated AMS, it starts the drying cycle for the unit holding that spool.
### Before you print
- “Take a picture and make sure the bed is clear, then start the bracket I sliced last night.”
It checks the camera image before it sends the job.
- “What's loaded in the AMS? Print this in whatever black I have.”
It reads the live AMS inventory and matches the file's filaments to your trays.
- “Are there any errors on the printer?”
It reads the printer's HMS diagnostics and explains them.
## From slicer to printer
The recommended path starts from a file you've sliced and previewed yourself. The server handles the model-specific upload and print command.
1. ### Slice and export
Slice in FULU OrcaSlicer-bambulab, OrcaSlicer, or Bambu Studio. Export the sliced plate as a `.gcode.3mf`.
2. ### Hand it to `print_3mf`
It checks the file for plate G-code and builds the AMS mapping from the slicer metadata and any trays you choose.
3. ### Upload over FTPS
The file goes to the printer on port 990, to the location that model expects.
4. ### Start over MQTT
The model's print command goes out on port 8883. A sent command isn't a finished print, so check status and HMS errors afterward.
[Read the slicing guide](https://dmontgomery40.github.io/bambu-printer-mcp/guide/slicing)[See routing by model](https://dmontgomery40.github.io/bambu-printer-mcp/guide/slicing#firmware-routing-handled-internally)[Map AMS trays](https://dmontgomery40.github.io/bambu-printer-mcp/guide/ams)
## What your agent can use
44 documented tools. Each name links to its reference entry, with example arguments.
### [Printer control](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools)29
- [get\_printer\_status](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#get_printer_status "Retrieve current printer state including temperatures, print progress, layer count, time remaining, and AMS slot data.")
- [get\_printer\_filaments](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#get_printer_filaments "Read the live AMS inventory and resolve each loaded tray to Bambu Studio filament profile JSON paths when bambu_model is known.")
- [list\_printer\_files](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#list_printer_files "List files stored on the printer's SD card.")
- [camera\_snapshot](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#camera_snapshot "Capture a single JPEG frame from the printer's chamber camera.")
- [delete\_printer\_file](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#delete_printer_file "Delete a single file from the printer's SD card via FTPS.")
- [upload\_gcode](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#upload_gcode "Write G-code content from a string directly to the printer's cache/ directory.")
- [upload\_file](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#upload_file "Upload a local file (G-code or 3MF) to the printer.")
- [start\_print\_job](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#start_print_job "Start printing a .gcode file that is already on the printer's SD card.")
- [cancel\_print](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#cancel_print "Cancel the currently running print job.")
- [pause\_print](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#pause_print "Pause the currently running print job.")
- [resume\_print](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#resume_print "Resume a paused print job.")
- [clear\_hms\_errors](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#clear_hms_errors "Clear HMS or print error state on the printer.")
- [set\_print\_speed](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#set_print_speed "Set the active print speed mode.")
- [set\_airduct\_mode](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#set_airduct_mode "Set H2/P2 airduct mode to cooling or heating.")
- [reread\_ams\_rfid](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#reread_ams_rfid "Trigger a Bambu AMS RFID re-read for one AMS slot.")
- [set\_temperature](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#set_temperature "Set a checked target temperature for the bed or nozzle through MQTT.")
- [set\_fan\_speed](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#set_fan_speed "Set a printer fan speed from 0 to 100 percent.")
- [set\_light](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#set_light "Set a printer light node mode.")
- [skip\_objects](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#skip_objects "Skip specific object IDs during a running multi-object print.")
- [set\_ams\_drying](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#set_ams_drying "Start or stop the AMS filament drying cycle on heated AMS units (AMS Pro / AMS-HT).")
- [inspect\_print\_file](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#inspect_print_file "Inspect a prepared sliced 3MF or textual G-code file offline before deciding what to export or print.")
- [print\_3mf](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#print_3mf "The primary tool for starting a Bambu print.")
- [bambu\_network\_bridge\_status](https://dmontgomery40.github.io/bambu-printer-mcp/reference/printer-tools#bambu_network_bridge_status "Inspect the configured FULU bridge without starting it using {}.")
- [bambu\_netwo