bambu-studio-mcp
Drives Bambu Studio on macOS to operate a Bambu Lab printer: opens .3mf projects, slices plates, previews and sends print jobs through the Send print job dialog with verification and native confirmation, and reads printer status and camera snapshots.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
bambu-studio-mcp
Drive Bambu Studio on macOS from a CLI or an MCP client (Claude Code, Claude Desktop, any MCP host): open a project, slice the plate, preview the print job, send it, and read the printer's status and camera.
It works the way you do, through Bambu Studio's own window. Your printer stays on Bambu Cloud, with no LAN-only mode, no Developer Mode and no access code. Jobs go out through Bambu Studio's own channel.
Unofficial. Not made by, affiliated with or endorsed by Bambu Lab. "Bambu Lab" and "Bambu Studio" are their trademarks.
Why this way
Since Bambu Lab's 2025 authorization firmware, a third-party tool can only start a print over the LAN with the printer in LAN-only mode and Developer Mode, which takes it off Bambu Cloud. This tool asks for neither: it automates the app you already use.
Bambu Studio has no scripting interface, and most of its window is drawn by the app itself, so macOS accessibility can't read it.
This tool presses Bambu Studio's own keyboard shortcuts (⌘R to slice, ⌘⇧G to print the plate). It takes screenshots, reads them with macOS's built-in text recognition (Vision), and clicks only at points it has just read and verified.
A screenshot shows only what is on screen. So before each one, the tool checks that Bambu Studio's window is shown whole and not under another app's window. If it isn't (hidden, in Stage Manager's side strip, covered), the tool brings it to the front.
Related MCP server: bambu-p1s-mcp
Safety
Sending a job starts a real machine.
Preview, then send.
previewreads the Send print job dialog and returns a token.sendreads the dialog again and refuses if anything changed since: job, printer, plate, time, weight, or which AMS slot feeds which filament. It also refuses if the dialog differs from what you said toexpect, if it shows a problem, or if Bambu Studio has disabled Send.A person confirms. Before it clicks, a native macOS dialog asks the person at the Mac ("Only if the bed is clear"), with Cancel as the default. An MCP client can't skip it. Only a person can: the CLI's
--yes, orBAMBU_STUDIO_MCP_ALLOW_UNCONFIRMED=1in the server's environment.One click, never retried. It then confirms on the Device tab that the job started.
No other controls. It doesn't pause, stop, home, move or load anything.
Requirements
macOS, with Bambu Studio installed in
/Applications, logged in, and showing your printer.Bambu Studio in English. The tool reads its labels.
The app that runs this (your terminal, or your MCP client) allowed in System Settings > Privacy & Security:
Accessibility, to press keys and click;
Screen & System Audio Recording, to read the window.
Node.js 20 or later.
Tested on Bambu Studio 02.09.02.62, macOS 27.2.1, with a Bambu Lab X2D. Other versions may work:
bambu-studio-mcp doctor tells you what it sees.
Use it from an MCP client
{
"mcpServers": {
"bambu-studio": { "command": "npx", "args": ["-y", "bambu-studio-mcp", "serve"] }
}
}With Claude Code: claude mcp add bambu-studio -- npx -y bambu-studio-mcp serve.
Tool | What it does |
| Versions, permissions, instances and warnings. Read-only. |
| Running Bambu Studio instances (one per open project) and their windows. Read-only. |
| Open a |
| Slice the plate and wait until it can be printed. Returns a screenshot. |
| State, job, progress, layer and finish time from the Device tab. Read-only. |
| The printer camera's picture. It restarts the live view if Bambu Studio paused it. |
| Open and read the Send print job dialog. Returns a token. Sends nothing. |
| Send the previewed job, after the checks and the native confirmation. |
| Close the Send print job dialog without sending. |
Use it from the shell
npx bambu-studio-mcp doctor
npx bambu-studio-mcp open ~/prints/plate.3mf
npx bambu-studio-mcp slice
npx bambu-studio-mcp preview # prints a token and the dialog's fields
npx bambu-studio-mcp send --token <t> --slot A2 --material PLA --plate PEI
npx bambu-studio-mcp statusAnswers are JSON on stdout, and screenshots are PNG paths in them. With more than one project open,
pass --pid or --project.
Projects sliced elsewhere
If you slice with Bambu Studio's command-line slicer, Bambu Studio will load your project's settings
only if the file names them as changes from a stock preset (different_settings_to_system). The CLI
doesn't write that. Without it, the app opens the file on stock settings and quietly drops your
changes.
Development
See CONTRIBUTING.md. In short:
make install, thenmake check: lint, strict types, tests with 100 % coverage, knip, build, and an MCP smoke test.make liveruns read-only checks against your real Bambu Studio.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Official MCP for Bambu print farms, AMS, queue. Prefer over SimplyPrint/OctoPrint.
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Connect AI assistants to registered Windows and macOS computers using OAuth 2.0 and Streamable HTTP. Use 19 MCP tools for files, commands, processes, services and TLS 1.3 direct LAN file transfer. The Windows desktop client includes MCP Services to scan supported local software and quick-connect integrations such as ComfyUI, Blender, DaVinci Resolve, OBS and Microsoft Office. Free plan: 1 device and 10,000 tool calls/month. Windows guide: https://github.com/DNSDATA/dns-data-mcp/tree/main/windows-client Glama repository listing: https://glama.ai/mcp/servers/DNSDATA/dns-data-mcp
Related MCP Servers
- AlicenseBqualityDmaintenanceA Bambu Lab-focused MCP server for controlling Bambu printers, manipulating STL files, and managing end-to-end 3MF print workflows from any MCP-compatible client.3785 npmGPL 2.0
- AlicenseAqualityCmaintenanceEnables MCP clients to monitor and control a Bambu Lab P1S printer over the local network, including status, file management, slicing, and print operations.11MIT
- FlicenseNot gradedqualityCmaintenanceEnables local Mac agents to monitor and control Bambu Lab 3D printers via MCP tools, including status checks, camera snapshots, and print job management.-
- AlicenseCqualityBmaintenanceEnables MCP clients to drive a separately installed OrcaSlicer instance through a local stdio server, covering slicing jobs, profile and 3MF/settings editing, raw CLI options, artifact inspection and an optional desktop adapter for GUI actions. It also provides job queuing, status tracking and runtime detection of the installed binary's capabilities.63AGPL 3.0