Skip to main content
Glama
mcp-server-for-bambu

mcp-server-for-bambu

by b84330808

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BAMBU_IPNoIP address of the Bambu Lab printer on the LAN. If omitted, the server starts in setup mode and can save credentials via the setup_printer tool.
BAMBU_SERIALNoPrinter serial number. Use together with BAMBU_IP and BAMBU_ACCESS_CODE when configuring credentials via environment variables.
BAMBU_MQTT_PORTNoMQTT port used to connect to the printer. Useful when pointing the server at the simulator with a non-default SIM_PORT.8883
BAMBU_READ_ONLYNoSet to 1 to register only read-only tools, disabling pause/cancel/heat/G-code and other control tools.0
BAMBU_CONFIG_DIRNoDirectory where the saved .env credentials and maintenance ledger are stored. Defaults to the platform-specific user config directory.
BAMBU_ACCESS_CODENoBambu LAN access code from the printer (not the Wi-Fi password). Use together with BAMBU_IP and BAMBU_SERIAL when configuring credentials via environment variables.
MAINTENANCE_LEDGER_PATHNoPath to the maintenance ledger JSON file. Defaults to maintenance.json inside the config directory.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
setup_printerA

FIRST-TIME SETUP. Configure this MCP server with your Bambu Lab printer's LAN credentials (IP / serial / access code). Tests the connection live and only saves on success. Find the values on the printer touchscreen: Settings → WLAN (IP), Settings → Device → Device Info (serial), Settings → WLAN → LAN Mode Liveview (8-char access code). Make sure LAN Mode Liveview is ON.

setup_statusA

Show the current setup state — whether credentials are configured and where the .env file is located.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 2 tools

Disambiguation5/5

setup_printer and setup_status are clearly distinct: one mutates configuration, the other only reports state. An agent can easily tell which tool to use for setup versus inspection.

Naming Consistency5/5

Both tools use a consistent setup_ prefix in snake_case. The convention is predictable and readable.

Tool Count3/5

Two tools is borderline thin, even for a setup-focused server. It is reasonable if the server is intentionally limited to configuration, but feels sparse for a Bambu printer MCP server overall.

Completeness1/5

The surface only covers initial credential setup and setup status. There are no tools for actual printer control, job submission, monitoring, or filament/device management, leaving the apparent domain severely incomplete.