README.md
Control and monitor Klipper 3D printers via the Moonraker API.
An MCP server that enables AI assistants to control and monitor Klipper 3D printers via the Moonraker API. It supports comprehensive printer management, including G-code execution, toolchanger operations, and real-time status monitoring.
Tools (3)
execute_gcodeSend a G-code command to the printer.get_printer_statusRetrieve the current status of the printer including temperatures and state.toolchanger_operationPerform operations related to toolchanger management.Environment Variables
MOONRAKER_URLrequiredThe base URL of your Moonraker instanceMOONRAKER_API_KEYAPI key for Moonraker authentication if enabledConfiguration
claude_desktop_config.json
{"mcpServers":{"klipper":{"command":"npx","args":["-y","@charleslotto/klipper-mcp"],"env":{"MOONRAKER_URL":"http://your-printer-ip","MOONRAKER_API_KEY":"your_api_key_if_needed"}}}}Try it
→What is the current temperature of my 3D printer extruder and bed?
→Home all axes and then start the print for the file 'benchy.gcode'.
→Emergency stop the printer immediately.
→Change the tool to T1 using the toolchanger.
→Check the current progress of the active print job.