Integrates with multiple 3D printer management systems to enable remote control, file handling, and advanced STL manipulation for automated print job management and custom model modifications.
Step-by-Step Instructions for Obtaining Required ENV Values for MCP 3D Printer Server
For OctoPrint, Klipper (Moonraker), Repetier, Duet, Prusa Connect, and Creality Cloud
API Key or Token (as needed):
Determine Your Printer Type
- Identify which printer management system you are using (e.g., OctoPrint, Klipper, Repetier, Duet, Prusa Connect, or Creality Cloud).
Obtain API Key/Token
- OctoPrint / Repetier:
- Open the web interface of your printer.
- Log in as an admin.
- Go to "Settings" → "API".
- Generate or copy your API key.
- Klipper (Moonraker):
- Consult your Moonraker or Klipper configuration (
moonraker.conf
) for any token requirements.
- If authentication is enabled, generate/copy your access token as per documentation.
- Duet:
- Access Duet Web Control.
- Review your server settings for any token or password requirements.
- Prusa Connect:
- Go to Prusa Connect.
- Log in, navigate to "Settings" → "API Access".
- Generate or copy your API key.
- Creality Cloud:
- In the Creality Cloud app, go to "Settings" → "Developer Options".
- Generate or copy your bearer token.
Take Note of Connection Details
- For PRINTER_HOST, use your printer’s IP address or network hostname.
- For PRINTER_PORT, use the standard port for your printer type (see documentation or your printer settings).
Fill in FastMCP Connection Interface
- Open the FastMCP “Install Now” button for this integration.
- Enter the values you obtained above (API Key, Host, Port, and Printer Type).
For Bambu Labs Printers (requires serial and token)
Locate Your Bambu Printer’s Serial Number
- Look for a sticker on the back or bottom of your printer (usually starts with "01P" or "01A").
- Or, open "Bambu Studio", go to Device > Device Management, and find your printer's information.
Obtain Access Token
- On your printer’s touchscreen:
- P1 / X1 Series: Go to “Settings” > “Network” > “LAN Mode”. Enable LAN Mode. The access token will be shown.
- A1 Mini: Use the "Bambu Handy" mobile app. Connect to the printer, then go to “Settings” > “Network” > “LAN Mode” to see the token.
- (If you don’t see "LAN Mode" or the token, update your printer firmware to the latest version.)
Take Note of Connection Details
- For PRINTER_HOST, use your printer’s IP address (shown in the printer’s network settings or device information).
Fill in FastMCP Connection Interface
- Use the “Install Now” button.
- Enter your PRINTER_HOST, set PRINTER_TYPE to
bambu
.
- Enter your BAMBU_SERIAL and BAMBU_TOKEN values as obtained above.
If Using Bambu Studio Presets (Optional)
To enable Bambu preset resource reading:
Locate Your Bambu Studio Config Directory
- Find the Bambu Studio user config path on your system:
- macOS:
/Users/your_user/Library/Application Support/BambuStudio/user/YOUR_USER_ID
- Windows:
C:\Users\your_user\AppData\Roaming\BambuStudio\user\YOUR_USER_ID
- Linux:
/home/your_user/.config/BambuStudio/user/YOUR_USER_ID
Fill in FastMCP Connection Interface
- Use the “Install Now” button.
- Add the
BAMBU_STUDIO_CONFIG_PATH
variable and set its value to the path from above.
Final Notes
- Enter all of your obtained values in the FastMCP connection interface (opened via "Install Now") as shown.
- If you are unsure about any value, refer to your printer’s web UI, manual, or the relevant section in the README above.
- Some printer types may require additional configuration or app setup for network access.
You’re now ready to connect your printer(s) via FastMCP!