MCP server · Audited from source
Bambu Printer MCP server
by dmontgomery40/bambu-printer-mcpGPL-2.0 licenceAudited 7 Oct 2026 · source dac5c7bfed4c
Is it safe? No — BLOCK, grade D (69/100). It exposes 45 tools: 27 read, 16 write and 2 destructive. The audit recorded 26 findings (0 critical, 6 high, 1 medium, 16 low). Maintainer's description: MCP server for Bambu Lab 3D printers — STL manipulation, BambuStudio or FULU/orca slicing, Blender MCP integration, and direct printer control
Cite
Cite this page
ModelsAtlas. “Bambu Printer MCP server (dmontgomery40/bambu-printer-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/dmontgomery40/bambu-printer
Why this is BLOCK. The audit found 0 critical and 6 high findings; the most severe is Network egress at dist/printers/bambu.js:164. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
26 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared6 observations
- NetworkDeclared5 observations
- ShellDeclared1 observation
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (26)
Sorted by severity · the 25 most severe of 26 are listed
HIGHNetwork egressnet.tls_off · dist/printers/bambu.js:164
rejectUnauthorized: false,
- Why
- certificate verification is disabled
- Fix
- leave verification on
HIGHNetwork egressnet.tls_off · dist/printers/bambu.js:225
const opts = { rejectUnauthorized: false, host };- Why
- certificate verification is disabled
- Fix
- leave verification on
HIGHNetwork egressnet.tls_off · dist/printers/bambu.js:1578
rejectUnauthorized: false,
- Why
- certificate verification is disabled
- Fix
- leave verification on
HIGHNetwork egressnet.tls_off · scripts/probe-h2-raw.mjs:79
{ host, port: 6000, rejectUnauthorized: false },- Why
- certificate verification is disabled
- Fix
- leave verification on
HIGHNetwork egressnet.tls_off · src/printers/bambu.ts:219
rejectUnauthorized: false,
- Why
- certificate verification is disabled
- Fix
- leave verification on
HIGHPrompt injectionprompt.override · AGENTS.md:52
- Validate the selected bundled model's BBL/cli_config.json entry. Apply machine_limits when supplied; official P1S/H2D entries may intentionally contain only downward_check. Distinguish a validated n
- Why
- asks the agent to drop prior instructions or safety
- Fix
- remove the instruction
MEDIUMFilesystem / pathmcp.destructive_tools
clear_hms_errors, delete_printer_file
- Why
- 2 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure cryptocrypto.weak_hash · dist/printers/bambu.js:441
const md5 = createHash("md5").update(gcodeBuffer).digest("hex");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/printers/bambu.ts:543
const md5 = createHash("md5").update(gcodeBuffer).digest("hex");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · tests/behavior.test.mjs:59
const md5 = createHash("md5").update(Buffer.from(gcode)).digest("hex");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · tests/safety/archive.test.mjs:122
assert.equal(selected.md5, createHash('md5').update(safe + 'G1 X2\n').digest('hex'));- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/behavior.test.mjs:1485
bambu.deleteFile("127.0.0.1", "S", "T", "../../etc/passwd", true),- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/fixtures/blender-stl-validation.mjs:2
import { BlenderMcpBridge } from "../../dist/blender-mcp-bridge.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/safety/archive.test.mjs:7
import { inspectPrintFile } from '../../dist/safety/print-file.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/safety/archive.test.mjs:8
import { BambuImplementation } from '../../dist/printers/bambu.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/safety/print-file.test.mjs:8
import { resolveBblMachineProfile } from '../../dist/slicer/profile-flatten.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/behavior.test.mjs:2305
const endpoint = `http://127.0.0.1:${port}/mcp`;- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/behavior.test.mjs:2369
const wrongPathResponse = await fetch(`http://127.0.0.1:${port}/not-mcp`, { method: "POST" });- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/server-temp.test.mjs:100
await client.connect(new StreamableHTTPClientTransport(new URL(`http://127.0.0.1:${port}/mcp`)));- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, bambu-js, basic-ftp, dotenv, jszip, mqtt, three, xml2js
- Why
- 12 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CONTRIBUTORS.md:17
| [Sebastian (sebas1986)](https://github.com/sebas1986) | Isolates the multi-filament CLI crash with real BambuStudio bisection, contributes per-slot colours and multi-nozzle prime-tower placement, an
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:382
- `bambu-cli print start <file>` and `bambu-cli files upload` both fail with `522 SSL connection failed: session reuse required`. Bambu's FTPS server requires TLS session reuse between the control and
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
INFOPrompt injectionprompt.credential_read · README.md:323
**FTPS (port 990, implicit TLS):** File operations (upload and directory listing) use FTPS. The printer's SD card is accessible as a filesystem with directories including `cache/` (for 3MF and G-code
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · README.md:339
await client.access({ host, port: 990, user: "bblp", password: token,- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
45 declared in source · 2 destructive
2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | What it does | Risk |
|---|---|---|
clear_hms_errors | Clear HMS or print error state on the Bambu Lab printer using the clean_print_error MQTT command. | destructive |
delete_printer_file | Delete a file from the Bambu Lab printer | destructive |
bambu_connect_import_file | Open 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. | write |
blender_mcp_edit_model | Import, 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. | write |
merge_vertices | Merge vertices in an STL file closer than the specified tolerance | write |
reread_ams_rfid | Trigger a Bambu AMS RFID re-read for one AMS slot. X2D on macOS uses the native official plug-in route. This can move AMS filament; use only when the printer is idle and unloaded. | write |
save_template | Copy a 3MF, JSON, or config file into the local template registry and register it under a template name. | write |
set_airduct_mode | Set H2/P2 airduct mode to cooling or heating. | write |
set_ams_drying | Start or stop the AMS filament drying cycle. X2D on macOS uses the native official plug-in route and supports AMS-HT id 128. | write |
set_fan_speed | Set a Bambu printer fan speed percentage. X2D on macOS uses the installed Bambu networking plug-in without UI automation; other models use MQTT. | write |
set_light | Set a Bambu printer light node mode using the printer | write |
set_print_speed | Set the active print speed mode: silent, standard, sport, or ludicrous. | write |
set_temperature | Set a checked bed or nozzle temperature. Positive heating requires matching fresh printer telemetry; nozzle heating also requires declared material. Zero turns the heater off. | write |
start_print | Start printing a G-code file already on the Bambu Lab printer. Alias of start_print_job for upstream MCP compatibility. | write |
start_print_job | Start printing a G-code file already on the Bambu Lab printer | write |
upload_file | Upload a local file to the Bambu Lab printer | write |
upload_gcode | Inspect a G-code file and upload a uniquely named copy without overwriting existing printer files. | write |
x2d_native_control | Read 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. | write |
bambu_network_bridge_status | Inspect or probe the FULU OrcaSlicer-bambulab BambuNetwork bridge runtime used for cloud and restored BambuNetwork printing. | read |
bambu_network_call | Call a raw FULU OrcaSlicer-bambulab BambuNetwork bridge method, optionally with an initialized network agent injected into the payload. | read |
blender_mcp_call | Call 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. | read |
blender_mcp_status | Inspect Blender MCP configuration or connect and discover the remote server | read |
camera_snapshot | Capture a single JPEG frame from the printer | read |
cancel_print | Cancel the current print job on the Bambu Lab printer | read |
center_model | Translate the model so its geometric center is at the origin (0,0,0) | read |
extend_stl_base | Extend the base of an STL file by a specified amount | read |
get_printer_filaments | Get 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. | read |
get_printer_status | Get the current status of the Bambu Lab printer | read |
get_slice_settings | Inspect slicer settings from a saved 3MF template or a JSON/config slicer profile without slicing anything. | read |
get_stl_info | Get detailed information about an STL file (bounding box, face count, dimensions) | read |
lay_flat | Rotate the model so its largest flat face lies on the XY plane (Z=0) | read |
list_3mf_plate_objects | List object IDs from a sliced 3MF plate. Use these IDs with skip_objects during a running print. | read |
list_printer_files | List files stored on the Bambu Lab printer | read |
list_templates | List saved slicing templates from the local template registry directory. | read |
pause_print | Pause the current print job on the Bambu Lab printer (resumable via resume_print) | read |
print_3mf | Print 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. | read |
print_3mf_bambu_network | Print a 3MF through FULU OrcaSlicer-bambulab | read |
print_collar_charm | Print 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. | read |
resolve_3mf_ams_slots | Inspect a sliced 3MF and match its tray_info_idx filament requirements against the live AMS inventory. Does not upload or start a print. | read |
resume_print | Resume a paused print job on the Bambu Lab printer | read |
rotate_stl | Rotate an STL file by specified angles (degrees) | read |
scale_stl | Scale an STL file by specified factors | read |
skip_objects | Skip specific object IDs during a running multi-object print using the printer | read |
slice_stl | Slice 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. | read |
slice_with_template | Slice 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. | read |
Safer alternatives
Audit history
- ✕BLOCK D 69 / 100
First audit ·
dac5c7bfed4c
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Bambu Printer MCP server
What is the Bambu Printer MCP server?
What tools does Bambu Printer expose?
Is Bambu Printer safe to connect to an agent?
What credentials does Bambu Printer need?
How does Bambu Printer run?
How current is this page?
I already installed Bambu Printer. What should I do?
Can the verdict change?
Sources
- dmontgomery40/bambu-printer-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit dac5c7bfed4cObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Bambu Printer MCP server?
- What tools does Bambu Printer expose?
- Is Bambu Printer safe to connect to an agent?