We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/schwarztim/bambu-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
.env.example•1.91 KiB
# Bambu Lab MCP Configuration Template
# WARNING: This file is committed to version control.
# NEVER put real credentials here. Use .env for actual values.
#
# Copy this file to .env and fill in your values:
# cp .env.example .env
# ============================================
# Cloud API Authentication (Optional)
# ============================================
# Get these by logging into bambulab.com and capturing cookies
# from browser dev tools (Network tab → Copy cookies)
BAMBU_LAB_BASE_URL=https://bambulab.com/api/v1
BAMBU_LAB_COOKIES=your_session_cookies_here
BAMBU_LAB_APP_CERT_ID=your_app_cert_id_here
# ============================================
# Printer 1 Configuration
# ============================================
# Name your first printer (e.g., "left", "main", "workshop")
PRINTER_1_NAME=my-printer
PRINTER_1_IP=192.168.1.100
PRINTER_1_ACCESS_CODE=YOUR_ACCESS_CODE
PRINTER_1_DEVICE_ID=YOUR_SERIAL_NUMBER
# ============================================
# Printer 2 Configuration (Optional)
# ============================================
# PRINTER_2_NAME=my-second-printer
# PRINTER_2_IP=192.168.1.101
# PRINTER_2_ACCESS_CODE=YOUR_ACCESS_CODE
# PRINTER_2_DEVICE_ID=YOUR_SERIAL_NUMBER
# ============================================
# How to Find Your Values
# ============================================
#
# IP Address:
# Printer screen -> WLAN -> IP
#
# Access Code:
# Printer screen -> WLAN -> Access Code (8-digit number)
#
# Device ID (Serial Number):
# Printer Settings -> Device -> Serial Number
# Or on the printer label (back or bottom)
# ============================================
# Default Printer for Auto-Connect (Optional)
# ============================================
# Uncomment to enable MQTT auto-connect on MCP startup:
# BAMBU_LAB_MQTT_HOST=192.168.1.100
# BAMBU_LAB_MQTT_PORT=8883
# BAMBU_LAB_MQTT_USERNAME=bblp
# BAMBU_LAB_MQTT_PASSWORD=YOUR_ACCESS_CODE
# BAMBU_LAB_DEVICE_ID=YOUR_SERIAL_NUMBER