SuperAPIAI Directory

unofficial-bambu-mcp

github.com · AI developer platforms

unofficial-bambu-mcp is an unofficial MCP server that allows AI assistants (such as Claude Code, Claude Desktop, or any MCP client) to build, edit, slice, inspect, and calibrate Bambu Studio projects (.3mf files) through an installed Bambu Studio, and to read the status of printers on the local network. This project is not affiliated with Bambu Lab and is licensed under the MIT License.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

unofficial-bambu-mcp is a community-developed MCP server designed to let AI assistants operate Bambu Studio's slicing workflow through natural language instructions. It is not an official Bambu Lab product and is not affiliated with Bambu Lab.

Purpose

This server connects AI assistants with a locally installed Bambu Studio, enabling users to complete tasks such as project creation, editing, slicing, inspection, calibration, and printer status queries through conversation. For example, a user can say "Create a new P1S project: a 20 mm cube, plus white text 'DANI' on a black 2 mm label," and the server will invoke the Bambu Studio command line to perform the corresponding operations.

Main capabilities

  • Build, edit, slice, inspect, and calibrate Bambu Studio projects (.3mf format).
  • Read the status of printers on the local network (allowed in cloud mode).
  • Support creating projects from scratch, as well as opening existing .3mf files (including downloads from MakerWorld / Printables).
  • Provide 90 tools covering project operations, slicing, calibration tests (such as temperature towers, flow tests, pressure advance towers, etc.), and printer status queries.
  • Support multi-material, multi-plate projects, as well as the creation and adjustment of third-party filament presets.
  • Stay in sync with the Bambu Studio application: after modifications are made and saved in the application, the server will re-read them on the next command.
  • File safety: automatically add suffixes (-2, -3, etc.) when saving, without overwriting the original file; presets are backed up before modification.
  • Lightweight dependencies: numpy, shapely, manifold3d, fonttools, and Pillow.

Usage

  • Environment requirements: uv and Bambu Studio.
  • Installation: obtain via PyPI; the first run of uvx will automatically download the package and Python 3.10+.
  • Configuration: as a standard MCP server (stdio), add the command to the configuration files of clients such as Claude Desktop, Cursor, Windsurf, Gemini CLI, OpenAI Codex CLI, and VS Code (GitHub Copilot agent mode).
  • Example configuration (Claude Desktop, etc.): in the configAdd the command uvx unofficial-bambu-mcp to the configuration file.
  • Development mode: run uv run --directory /path/to/unofficial-bambu-mcp unofficial-bambu-mcp from the cloned repository.
  • Note: The ChatGPT app only supports remote MCP servers, while this server needs to run locally on the computer where Bambu Studio is installed.

Use cases

  • Quickly generate and modify 3D printing projects via an AI assistant.
  • Slice, inspect, and calibrate existing projects.
  • Manage multi-material printing and third-party filament presets.
  • Query printer status and filament information (requires logging in to a Bambu Lab account; the token is stored locally only).
  • Print control in LAN mode together with developer mode (requires user confirmation).

Limitations

  • Unofficial project, not affiliated with Bambu Lab.
  • In normal cloud mode, the server cannot start prints, set AMS slots, or skip objects; these operations must be done in Bambu Studio, Bambu Handy, or on the printer. They can only be performed after user confirmation in LAN mode with developer mode enabled.
  • For dual-nozzle printers (H2D, H2C, X2D), filament is automatically assigned to nozzles; manually selecting the nozzle for each filament is not yet supported.
  • Printer cameras are only supported on the P1 and A1 series; the X1 and H2 series use RTSP streams, which are not yet supported.
  • First-layer tests do not preserve painted colors.
  • The filament_inventory feature reads an undocumented Bambu Lab cloud API and may change; logging in to accounts with two-factor authentication is not supported.
  • Features such as mesh simplification and repair, manual dual-nozzle selection, and X1/H2 cameras have not yet been implemented.
  • Tested on macOS, Windows, and Linux, supporting Bambu Studio 2.8.2 and 14 printer models (actual print verification only on P1S).
  • Developer mode tools are rejected in cloud mode, and prints have not actually been started on developer mode printers.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools