MCP 3D Printer Server

by DMontgomery40
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API_KEYYesAPI key for authentication with your printer management system
TEMP_DIRNoDirectory for temporary files (optional)
BAMBU_TOKENNoAccess token for Bambu Lab printers (required when PRINTER_TYPE is 'bambu')
SLICER_PATHNoPath to the slicer executable
SLICER_TYPENoThe type of slicer to useprusaslicer
BAMBU_SERIALNoSerial number for Bambu Lab printers (required when PRINTER_TYPE is 'bambu')
PRINTER_HOSTNoThe hostname or IP address of your 3D printerlocalhost
PRINTER_PORTNoThe port used to connect to your 3D printer80
PRINTER_TYPENoThe type of 3D printer management systemoctoprint
SLICER_PROFILENoPath to the slicer profile

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
3D Printer StatusCurrent status of the 3D printer including temperatures, print progress, and more
3D Printer FilesList of files available on the 3D printer

Tools

Functions exposed to the LLM to take actions

NameDescription
get_printer_status

Get the current status of the 3D printer

extend_stl_base

Extend the base of an STL file by a specified amount

slice_stl

Slice an STL file to generate G-code

confirm_temperatures

Confirm temperature settings in a G-code file

process_and_print_stl

Process an STL file (extend base), slice it, confirm temperatures, and start printing

get_stl_info

Get detailed information about an STL file

scale_stl

Scale an STL model uniformly or along specific axes

rotate_stl

Rotate an STL model around specific axes

translate_stl

Move an STL model along specific axes

modify_stl_section

Apply a specific transformation to a selected section of an STL file

generate_stl_visualization

Generate an SVG visualization of an STL file from multiple angles