mcp-3D-printer-server
by DMontgomery40·★ 190·综合分 48
连接主流3D打印机API的MCP服务器,支持打印控制、监控和STL操作。
概述
这个MCP服务器为多个3D打印机管理系统提供全面接口,包括OctoPrint、Klipper、Duet、Repetier、Bambu Labs、Prusa Connect和Creality。它支持高级功能,如打印机状态监控、作业控制、温度管理和复杂的STL文件操作,包括缩放、旋转、截面编辑和底座扩展。服务器支持切片操作并能通过SVG生成可视化3D模型。对于Bambu打印机,它提供直接的.3mf文件打印集成和MQTT命令,以及FULU OrcaSlicer-bambulab支持。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要AI与3D打印工作流集成时选择此服务器,尤其是对于Bambu Lab打印机,它提供了最全面的功能集,包括高级STL文件处理和MQTT通信。
什么时候不要选它
如果您需要列表之外的打印机系统支持,需要超出打印控制的广泛写入权限,或正在处理可能超出内存限制的超大STL文件,请避免使用此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具get_statusget_status(): PrinterStatusGet printer status including temperatures, print progress, and other information
list_fileslist_files(): FileListList files on the printer's storage
upload_fileupload_file(file_path: string): booleanUpload a G-code file to the printer
start_jobstart_job(file_path: string): booleanStart a print job using the specified file
cancel_jobcancel_job(): booleanCancel the current print job
set_temperatureset_temperature(tool: string, temperature: number): booleanSet the temperature for a specific printer tool
extend_baseextend_base(stl_path: string, height: number): stringExtend the base of an STL file for better adhesion
scale_modelscale_model(stl_path: string, scale: number, axis?: string): stringScale a 3D model uniformly or along specific axes
rotate_modelrotate_model(stl_path: string, angle: number, axis: string): stringRotate a 3D model around a specified axis
slice_stlslice_stl(stl_path: string, slicer_type: string, output_path: string): stringSlice an STL file to generate G-code
print_3mfprint_3mf(file_path: string): booleanPrint a 3MF file directly on a Bambu Lab printer
blender_mcp_edit_modelblender_mcp_edit_model(stl_path: string, operations: object): stringEdit 3D models using Blender through MCP integration
可对比工具
安装
安装
前置要求
- Node.js 18或更高版本
- npm或yarn
从npm安装
npm install -g mcp-3d-printer-server从源码安装
git clone https://github.com/dmontgomery40/mcp-3d-printer-server.git
cd mcp-3d-printer-server
npm install
npm linkClaude Desktop配置
添加到您的Claude Desktop config.json中:
{
"mcpServers": {
"3d-printer": {
"command": "mcp-3d-printer-server",
"args": []
}
}
}使用Docker运行
docker-compose up --build -dFAQ
- 支持哪些3D打印机系统?
- 该服务器支持OctoPrint、Klipper(通过Moonraker)、Duet、Repetier、Bambu Labs、Prusa Connect和Creality/Ender打印机。
- 我可以使用此服务器操作STL文件吗?
- 是的,它支持高级STL操作,包括缩放、旋转、平移、截面编辑和底座扩展。
mcp-3D-printer-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。