# mcp-3D-printer-server — 3D Printer MCP Bridge > mcp-3D-printer-server is an MCP server that inspects models, slices STL/3MF to G-code, and drives printers via OctoPrint/Klipper/Bambu APIs. ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use ```bash npm install -g mcp-3d-printer-server # Configure env vars (printer host/type/API key) then run: mcp-3d-printer-server ``` ## Intro mcp-3D-printer-server is an MCP server that inspects models, slices STL/3MF to G-code, and drives printers via OctoPrint/Klipper/Bambu APIs. **Best for:** Makers who want agents to automate slicing, diagnostics, and printer control **Works with:** Node.js 18+, supported printer APIs (OctoPrint/Klipper/Bambu), optional slicers **Setup time:** 10-25 minutes ### Key facts (verified) - GitHub: 186 stars · 41 forks · pushed 2026-05-13. - License: GPL-2.0 · owner avatar + repo URL verified via GitHub API. - README-verified entrypoint: `npm install -g mcp-3d-printer-server`. ## Main - Treat it as an agent-facing control plane: expose safe tools like temperature setting, file inspection, slicing, and printing behind a single MCP server. - Start with read-only diagnostics and model inspection; enable slicing and print actions only after you’ve validated printer settings and permissions. - If you containerize, follow the README notes about slicers: host-installed slicers may not work inside Docker unless installed in the image. ### Source-backed notes - README lists capabilities including STL manipulation/analysis, slicing to G-code, and printer control across multiple printer types. - README install section shows `npm install -g mcp-3d-printer-server` and a from-source flow using `npm link`. - README includes Docker instructions and explains slicer limitations in containerized setups. ### FAQ - **Which printer types are supported?**: README lists multiple backends (OctoPrint/Klipper/Bambu and more); confirm via config options. - **Can it run without a slicer?**: Some tools are inspection/control; slicing tools require a slicer configured via env vars. - **How do I avoid unsafe prints?**: Keep destructive tools behind explicit confirmations in your agent prompt and validate env config before enabling print calls. ## Source & Thanks > Source: https://github.com/DMontgomery40/mcp-3D-printer-server > License: GPL-2.0 > GitHub stars: 186 · forks: 41 --- ## Quick Use ```bash npm install -g mcp-3d-printer-server # Configure env vars (printer host/type/API key) then run: mcp-3d-printer-server ``` ## Intro mcp-3D-printer-server 是 3D 打印 MCP 服务器:让 agent 读/改 STL/3MF、切片生成 G-code,并通过 OctoPrint/Klipper/Bambu 等 API 直接发起打印。 **Best for:** 想让 agent 参与切片、诊断与打印控制的 3D 打印玩家/实验室 **Works with:** Node.js 18+;OctoPrint/Klipper/Bambu 等打印 API;可选切片器 **Setup time:** 10-25 minutes ### Key facts (verified) - GitHub:186 stars · 41 forks;最近更新 2026-05-13。 - 许可证:GPL-2.0;作者头像与仓库链接均已通过 GitHub API 复核。 - README 中核对过的入口命令:`npm install -g mcp-3d-printer-server`。 ## Main - 把它当作 agent 的“打印控制平面”:通过一个 MCP server 暴露温度、模型检查、切片、打印等工具。 - 建议先做只读诊断与模型检查;确认打印机权限与配置无误后,再放开切片与打印动作。 - 容器化时注意 README 的提醒:宿主机切片器未必能直接在 Docker 里用,通常要把切片器装进镜像。 ### Source-backed notes - README 列出功能:STL 修改/分析、切片生成 G-code,以及多种打印机类型的控制。 - README 的安装章节给出 `npm install -g mcp-3d-printer-server`,也提供源码安装并用 `npm link` 暴露命令。 - README 给出 Docker 使用方式,并解释容器环境下切片器的限制与建议做法。 ### FAQ - **支持哪些打印机?**:README 列出多种后端(OctoPrint/Klipper/Bambu 等);具体以配置选项为准。 - **不装切片器能用吗?**:检查/控制类工具可用;涉及切片的工具需要配置切片器路径/类型。 - **怎么避免误打印?**:在 agent 提示词里把高风险工具放到显式确认后再调用,并在启用打印前先验证环境变量配置。 ## Source & Thanks > Source: https://github.com/DMontgomery40/mcp-3D-printer-server > License: GPL-2.0 > GitHub stars: 186 · forks: 41 --- Source: https://tokrepo.com/en/workflows/mcp-3d-printer-server-3d-printer-mcp-bridge Author: MCP Hub