Skip to main content
Glama
bambu-mcp-server

bambu-mcp-server

bambu-mcp-server

Built with codrsync.dev

MCP server for Bambu Lab 3D printing — from broken STL to printed part, all via Claude.

Features

Phase 1 — Mesh Tools

  • mesh_analyze — Dimensions, vertices, faces, watertight status, non-manifold edges

  • mesh_repair — Fix non-manifold edges, holes, and normals (pymeshfix)

  • mesh_scale — Scale by factor or to target dimensions (auto-detects meters vs mm)

  • mesh_rotate — Rotate around any axis

  • mesh_mirror — Mirror along any axis (e.g. right hand to left hand)

  • mesh_calculate_scale — Calculate ideal scale from real-world measurements

Phase 2 — Slicer Integration (current)

  • slicer_detect — Detect Bambu Studio installation, version, and profile locations

  • slicer_list_profiles — List available profiles (machine, filament, process) from system and user

  • slicer_slice — Slice STL/3MF to G-code with profile selection

  • slicer_export_3mf — Package model + print settings as 3MF

  • slicer_model_info — Get model information via Bambu Studio CLI

Planned

  • Phase 3 — Printer control via MQTT (status, send, pause, speed)

  • Phase 4 — Project management (3MF parsing, preset profiles)

Related MCP server: freecad-print-mcp

Installation

pip install bambu-mcp-server

Or from source:

git clone https://github.com/gusjarendt-maker/bambu-mcp-server.git
cd bambu-mcp-server
pip install -e .

Usage with Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "bambu": {
      "command": "bambu-mcp-server"
    }
  }
}

Usage with Claude Code

claude mcp add bambu-mcp-server -- bambu-mcp-server

Example Workflows

Repair a broken STL

"Analyze and repair this STL file: /path/to/model.stl"

Scale a model for a specific person

"This brace is 96x63x207mm. Scale it for someone with 170mm forearm circumference and 100mm length, with 5% clearance."

Mirror a model

"Mirror this right-hand splint to make a left-hand version"

Slice a model for printing

"Slice this STL using my H2D printer with PLA Basic filament at 0.20mm Standard quality"

Export a ready-to-print 3MF

"Package this repaired STL as a 3MF with H2D settings and PLA filament"

Check slicer setup

"Detect my Bambu Studio installation and list available profiles for H2D"

Development

git clone https://github.com/gusjarendt-maker/bambu-mcp-server.git
cd bambu-mcp-server
pip install -e ".[dev]"
python -m pytest tests/

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      Integrates Bambu Studio and Bambu Lab 3D printers with Claude, enabling printer status checks, print control, file management, and slicing via natural language.
      9
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables Claude to model 3D-printable parts by running Python scripts in a headless FreeCAD instance and exporting STL/3MF/STEP files. It also lets Claude visually inspect renders, check mesh integrity and overhang printability, measure volume and estimated mass, and open results in a slicer before printing.
      10
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables Claude to analyze STL/3MF models, slice them with the real Bambu Studio engine, compare print recipes by time and weight, and manage presets for Bambu Lab printers. It produces ready-to-print .3mf project files with material and build-plate settings applied, all locally on the user's PC.
      18
      3
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables Claude to create and manage multi-bed 3D-print jobs, import and transform models, configure per-bed and per-object PrusaSlicer settings, preview layouts, and slice each bed in parallel into G-code for review in a local viewer before sending to Prusa Connect/PrusaLink.
      19
      MIT