Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
56 lines (51 loc) · 1.91 KB
/
Copy path.env.example
File metadata and controls
56 lines (51 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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