MCP 3D Printer Server logo

MCP 3D Printer Server

by MCP-Mirror

This server allows MCP users to connect with the API endpoints of various 3D printers like OctoPrint, Klipper, and Duet. It's a Model Context Protocol (MCP) server for connecting Claude with 3D printer management systems.

View on GitHub

Last updated: N/A

What is MCP 3D Printer Server?

The MCP 3D Printer Server is a server that enables Claude to interact with various 3D printer management systems through their APIs. It supports systems like OctoPrint, Klipper (via Moonraker), Duet, Repetier, Bambu Labs, Prusa Connect and Creality Cloud, allowing for remote control and monitoring of 3D printers.

How to use MCP 3D Printer Server?

To use the server, you need to install it via npm or from source, configure it with the necessary API keys and printer settings in a .env file, and then configure Claude Desktop to use the server. Specific instructions are provided for each supported printer management system, including Bambu Labs which requires a serial number and access token.

Key features of MCP 3D Printer Server

  • Get printer status (temperatures, print progress, etc.)

  • List files on the printer

  • Upload G-code files to the printer

  • Start, cancel, and monitor print jobs

  • Set printer temperatures

  • Advanced STL file manipulation (extend base, scale, rotate, translate, modify sections)

  • Comprehensive STL analysis with detailed model information

  • Generate multi-angle SVG visualizations of STL files

  • Slice STL files to generate G-code

  • Complete end-to-end workflow from STL modification to printing

Use cases of MCP 3D Printer Server

  • Remotely monitoring and controlling a 3D printer from Claude.

  • Modifying STL files directly from Claude before printing.

  • Automating the 3D printing process through Claude.

  • Integrating 3D printing capabilities into Claude workflows.

  • Generating visualizations of STL files for previewing before printing.

FAQ from MCP 3D Printer Server

What printer management systems are supported?

The server supports OctoPrint, Klipper (via Moonraker), Duet, Repetier, Bambu Labs, Prusa Connect and Creality Cloud.

What are the prerequisites for installation?

You need Node.js 18 or higher and npm or yarn.

How do I configure the server?

Create a .env file with the necessary API keys, printer settings, and slicer configuration.

How do I connect to a Bambu Labs printer?

You need the printer's serial number and access token, which can be found on the printer or in the Bambu Handy app.

What are the limitations regarding STL manipulation?

Large STL files can consume significant memory, and complex geometries may produce unexpected results with section-specific modifications.