bambu-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BAMBU_IP | Yes | Printer IP, e.g. 192.168.1.50 | |
| BAMBU_MODEL | No | Optional, default H2C. Set to one of the supported printer model names. | H2C |
| BAMBU_SERIAL | Yes | Printer serial number | |
| BAMBU_ACCESS_CODE | Yes | LAN access code |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Controls a Bambu Lab 3D printer. Read tools run immediately. Every control tool is a dry run unless confirm=true: first call it without confirm, show the user what would be sent, and only repeat with confirm=true after the user agrees.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_statusB | Printer state, progress, layers, remaining time, every nozzle/bed/chamber temperature, fans, lights and HMS errors. |
| get_ams_statusB | AMS units with humidity, temperature and each slot's filament type, colour and remaining percent. |
| list_sd_filesA | List files on the printer storage (FTPS). Common folders: '/', '/cache', '/timelapse'. |
| get_camera_snapshotA | Capture one JPEG frame from the printer's chamber camera. |
| get_print_historyB | Past print jobs (requires cloud; reports availability over LAN). |
| get_printer_profileB | Capabilities and limits of the configured printer model, including unverified fields. |
| get_print_optionsB | Current Print Options: AI detections and sensitivity, build plate detection, purify air, auto-recovery, store sent files, door detection, auto-refill and the air management mode. |
| start_printA | Start a print. Give local_path (a sliced .3mf on this computer, uploaded via FTPS) or remote_name (already on the printer). Dry run unless confirm=true. |
| pause_printA | Pause the current print. Dry run unless confirm=true. |
| resume_printA | Resume a paused print. Dry run unless confirm=true. |
| stop_printA | Stop and cancel the current print; it cannot be resumed. Dry run unless confirm=true. |
| set_temperatureA | Set a heater target in C (0 turns it off). On dual-nozzle printers 'nozzle' picks left or right. Values above the model maximum are always refused. Dry run unless confirm=true. |
| set_fanA | Set a fan speed 0-100%. Fan names come from get_printer_profile (e.g. part, aux, chamber). Dry run unless confirm=true. |
| set_print_speedA | Change the print speed profile. Dry run unless confirm=true. |
| set_lightA | Switch a printer light on or off. Light names come from get_printer_profile. Dry run unless confirm=true. |
| home_axesA | Home all axes (G28). Refused while printing. Dry run unless confirm=true. |
| move_axisA | Move one axis relative to its current position. Axes must be homed first; refused while printing. Speed in mm/min defaults to 3000 for X/Y and 900 for Z, as in Bambu Studio. Dry run unless confirm=true. |
| load_filamentA | Load filament from an AMS slot (unit id from get_ams_status, slot_id 0-3) or the external spool (ams_id 254). On dual-nozzle printers 'nozzle' picks which one. nozzle_temp defaults to the midpoint of the slot's range. Dry run unless confirm=true. |
| unload_filamentA | Unload the filament from a nozzle (the active one by default). Dry run unless confirm=true. |
| send_gcodeA | Send raw G-code lines (newline separated). Bypasses all safety limits. Dry run unless confirm=true. |
| delete_fileA | Permanently delete a file from the printer storage. Dry run unless confirm=true. |
| select_extruderA | Make the left or right nozzle active on a dual-nozzle printer (the toolhead moves; axes must be homed). Dry run unless confirm=true. |
| extrudeA | Extrude (positive) or retract (negative) filament in mm (Bambu Studio uses 10 per click, max 50 here). Refused unless the nozzle is at least 170 C. Dry run unless confirm=true. |
| set_air_modeA | Switch Air Management between cooling mode (PLA/PETG/TPU) and heating mode (ABS/ASA/PC/PA). Cannot be changed during printing. Dry run unless confirm=true. |
| set_print_optionA | Change one Print Option. Most take enabled; the four AI detections also take sensitivity; open_door_detection takes mode off/notify/pause (slow_down where supported); purify_air_at_print_end takes mode off/internal/exhaust. Dry run unless confirm=true. |
| start_calibrationA | Start the printer's calibration program with the chosen steps (moves and heats, 10+ minutes, bed must be clear). Dry run unless confirm=true. |
| hotend_rackA | Operate the hotend rack on printers that have one: raise row A or row B, return it home, or re-read all hotends. Dry run unless confirm=true. |
| read_ams_rfidA | Re-read filament RFID tags for one AMS slot, or every slot when slot_id is omitted. Dry run unless confirm=true. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 28 tools
Most tools map cleanly to a distinct resource+action (home_axes, move_axis, load_filament, set_fan, start_print, etc.), so an agent can usually select correctly. The main overlap is send_gcode, which can perform almost any action already covered by the specific control tools, plus some conceptual overlap among get_status, get_ams_status, get_printer_profile, and get_print_options.
The set is overwhelmingly consistent snake_case verb_noun (get_status, set_temperature, start_print, delete_file, select_extruder). Minor deviations are hotend_rack (noun phrase with no verb) and extrude (bare verb with no object), but the convention is still highly predictable.
At 28 tools this is on the heavy side, though the domain is genuinely broad (printing, AMS, files, settings, calibration, diagnostics). Some consolidation is possible—AMS status could fold into get_status, and several single-option setters could be grouped—but most tools earn their place.
Coverage is strong: homing, motion, extrusion, temperatures, fans, lights, filament load/unload, AMS RFID, print lifecycle, speed, files, camera, status, options, calibration, and raw G-code. Minor gaps remain, such as explicit file upload/rename, object-exclusion/cancel-object, firmware handling, and AMS drying on models that support it.