Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BED_TYPENoBed plate type: textured_plate, cool_plate, engineering_plate, hot_platetextured_plate
TEMP_DIRNoDirectory for intermediate files. Created automatically if absent../temp
BAMBU_MODELYesYour printer model: p1s, p1p, x1c, x1e, a1, a1mini, h2d. Required for safe operation to determine correct G-code generation.
BAMBU_TOKENYesLAN access token from printer touchscreen (Access Code)
SLICER_PATHNoFull path to the slicer executable (defaults to macOS path for BambuStudio if not set)
SLICER_TYPENoSlicer to use for slicing operations (bambustudio, prusaslicer, orcaslicer, cura, or slic3r)bambustudio
BAMBU_SERIALYesPrinter serial number (e.g., 01P00A123456789)
PRINTER_HOSTYesIP address of your Bambu printer on the local networklocalhost
MCP_HTTP_HOSTNoHTTP bind address (only used when MCP_TRANSPORT=streamable-http)127.0.0.1
MCP_HTTP_PATHNoHTTP endpoint path (only used when MCP_TRANSPORT=streamable-http)/mcp
MCP_HTTP_PORTNoHTTP port (only used when MCP_TRANSPORT=streamable-http)3000
MCP_TRANSPORTNoTransport mode: stdio or streamable-httpstdio
SLICER_PROFILENoOptional: path to a slicer profile/config file
NOZZLE_DIAMETERNoNozzle diameter in mm (used to select the correct machine preset)0.4
MCP_HTTP_STATEFULNoEnable stateful HTTP sessions (only used when MCP_TRANSPORT=streamable-http)true
MCP_HTTP_JSON_RESPONSENoReturn structured JSON alongside text responses (only used when MCP_TRANSPORT=streamable-http)true
MCP_HTTP_ALLOWED_ORIGINSNoComma-separated list of allowed CORS origins (only used when MCP_TRANSPORT=streamable-http)
BLENDER_MCP_BRIDGE_COMMANDNoShell command to invoke your Blender MCP bridge executable

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/DMontgomery40/bambu-printer-mcp'

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