Skip to main content
Glama
marctheshark3

bambu-p1s-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BAMBU_IPYesIP address or hostname of the Bambu Lab P1S printer on the local network.
BAMBU_SERIALYesPrinter serial number from the printer screen (Settings → Device).
BAMBU_SLICERNoPath to the Bambu Studio CLI binary, used for slicing. Example: /home/whaleshark/.local/bin/bambu-studio
BAMBU_MCP_HOSTNoHost/interface to bind the HTTP daemon to. Example: 0.0.0.0127.0.0.1
BAMBU_MCP_TOKENNoBearer token required for non-localhost HTTP connections to the MCP server. Optional for localhost-only use.
BAMBU_ACCESS_CODEYesAccess code from the printer screen (Settings → Network). Used as password for MQTT and FTPS.

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
printer_doctorA

Check env, LAN ports, MQTT, FTPS, and slicer CLI. Does not print or change printer state.

printer_statusA

Current P1S state: idle/printing, job name, progress, temps, remaining time.

Set fresh=true to request a full P1S pushall (avoid calling that in a tight loop).

printer_amsB

AMS / external spool trays: type, color, empty, active tray.

printer_filesB

List files on the printer SD card via FTPS.

printer_pauseB

Pause the current print. Requires confirm=true.

printer_resumeA

Resume a paused print. Requires confirm=true.

printer_stopA

Stop the current print. Requires confirm=true.

printer_speedA

Set speed profile: silent, standard, sport, ludicrous. Requires confirm=true.

printer_uploadB

Upload a sliced .gcode.3mf / .3mf / .gcode to the printer over FTPS. Requires confirm=true.

printer_printA

Start a print from a local sliced file (upload first) or a filename already on the printer.

Requires confirm=true. Check printer_status first — do not start if a job is RUNNING.

slice_model_fileA

Slice an STL/3MF with the Bambu Studio CLI into a printable .gcode.3mf. Requires confirm=true.

STL/STEP needs machine/process/filament JSON (auto-discovered from BambuStudio config when present). A project .3mf that already contains settings can be sliced without extra profiles.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/marctheshark3/bambu-p1s-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server