Orcaslicer Mcp

io.github.MaxEllis由 GitHub 账号 MaxEllis 发布v0.1.27更新于 Nov 19, 2026

Work a running OrcaSlicer with AI: slice, tune, and understand what each setting costs

已验证STDIO仅桌面效率与工作流开发者工具

概览

AI 生成的概览

把 AI 助手连接到正在运行的 OrcaSlicer 2.5,读取和修改打印设置、切换预设、切片并查看结果。

可以做什么
  • 读取并修改 OrcaSlicer 设置,并解释每项设置及其代价
  • 切换、保存、重命名和删除预设
  • 加载、移动和摆放模型,管理盘面与项目
  • 发起切片、并排比较切片,读取时间、耗材和 G-code
  • 以图片查看盘面,读取打印机状态
  • 在 OrcaSlicer MCP 面板中逐项撤销修改,或将项目恢复到较早状态
适用场景
适合用自然语言说明打印目标,让助手找出并解释关键切片设置,或在打印前比较不同切片。需要同一台电脑上打开 OrcaSlicer,并使用支持 MCP 连接器的桌面 AI 应用。
运行要求
支持 MCP 的桌面 AI 应用(Claude Desktop、Cursor、VS Code、LM Studio、Codex 对话)以及用于通过 uvx 运行 PyPI 包的 uv 工具。Windows、macOS 或 Linux 上的 OrcaSlicer 2.5,并安装 OrcaSlicer MCP 构建版(启用 Remote API)或插件。本机使用无需令牌;若构建版在另一台电脑上,需设置 ORCA_API_URL 和 ORCA_API_TOKEN。可选:ORCA_PRINTER_URL、ORCA_PRINTER_API_KEY、ORCA_PRINTER_ID、ORCA_DATADIR。
安装前请注意
助手可以修改切片设置、预设、模型和盘面,并可发起切片;修改会列在 MCP 面板中供撤销,但 OrcaSlicer 自带的撤销不会还原设置。脚本、自定义 G-code 和打印机连接默认锁定,除非用户在偏好设置中勾选允许项;ORCA_MCP_ALLOW_KEYS 可扩大允许修改的范围。ORCA_API_TOKEN 和 ORCA_PRINTER_API_KEY 是密钥;打印机地址中可能包含用户名和密码。对话内容会发送给 AI 应用所使用的模型。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Orcaslicer Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[OrcaSlicer MCP]

Work with your AI assistant to get the print you're after, and learn how OrcaSlicer gets you there.

[PyPI] [License: AGPL-3.0] [MCP Badge]

OrcaSlicer MCP connects an AI app on your computer to OrcaSlicer. Tell the assistant your goal in plain words. It finds the settings that matter, explains each one, and shows what they cost before you print. The changes happen in the OrcaSlicer window you already use, and the OrcaSlicer MCP panel beside the 3D view lists each one with a way to undo it.

1. Tell it your goal

[Your AI app: you write that you designed these brackets, want them as strong as possible, and ask to see the changes it would make. An arrow leads to OrcaSlicer, where the bracket stands on the plate as designed.]

2. It changes what matters, and explains why

[Your AI app: the assistant says it made three changes: on its side, because standing up the layers run across the arm that takes the load; 7 walls instead of 4, which makes the arms solid; 215 °C instead of 200 so the layers fuse. A line runs from each reason to the OrcaSlicer MCP panel: Rotated 90° about X (Rotate back), Wall loops 7, was 4 (Revert), Nozzle temperature 215 °C, was 200 (Revert).]

3. See the trade-off before you print

[Your AI app: the assistant compares OrcaSlicer's two slices, 2h 57m and 33.7 g as designed against 2h 44m and 46.8 g stronger, and notes that lying flat saves 22 minutes, more than the extra walls cost. An arrow leads to OrcaSlicer's preview of the bracket sliced on its side.]

Shown with the OrcaSlicer MCP build. With the plugin, you press Slice yourself and the assistant reads each slice.

What you need

  • An AI app on your computer that can use MCP connectors, such as Claude Desktop, Cursor, VS Code or LM Studio. MCP is how these apps connect to other programs, and orcaslicer-mcp is the connector for OrcaSlicer. Chats in a web browser and phone apps can't use it, because the connector runs on your computer.
  • OrcaSlicer 2.5 on Windows, macOS or Linux, with the OrcaSlicer MCP build or the plugin (compared below).
  • About ten minutes. OrcaSlicer MCP is free. Your AI app uses whatever plan you already have, and with a local model nothing leaves your computer.

OrcaSlicer MCP build or plugin

OrcaSlicer MCP buildOrcaSlicer MCP plugin
What it isOrcaSlicer 2.5 with the connection built inA plugin for stock OrcaSlicer 2.5
Read and change settings✓✓
Switch presets✓✓
Save, rename and delete presets✓✗
Load, move and arrange models✓✗
Read the slice you made: time, filament, G-code✓✓
Start slices, and compare them side by side✓✗
See the plate as a picture✓✗
Manage plates and projects✓✗
Undo each change in the panel✓✓
Restore the project to an earlier point✓✗
Read your printer's status✓✓
Your OrcaSlicerReplaced, with your printers and presets keptStays as it is
UpdatesOffered by the buildAutomatic from OrcaCloud
Get itDownloadOrcaCloud or the latest release

The trade-off: the build can do everything but replaces your OrcaSlicer. The plugin keeps your OrcaSlicer: it works with settings and presets, and reads each slice you make, but it can't slice or move models itself. To run the build next to stock OrcaSlicer, use its portable Windows zip or Linux AppImage. A plugin installed from a downloaded file doesn't update itself; your assistant tells you when a newer one is out. Install the newer file the same way; OrcaSlicer then turns the plugin off and asks for its permissions again, so click Yes and tick Activate again. The plugin's source code is in plugin/.

Get started

1. Turn on the connection in OrcaSlicer.

  • Build: open Preferences → Remote API and tick Enable Remote API.

  • Plugin: open OrcaSlicer's main menu (the icon beside File) → Plugins, then install it one of two ways:

    • From OrcaCloud: subscribe on OrcaCloud, then install OrcaSlicer MCP from the list.
    • From a downloaded file: download orcaslicer_mcp_plugin.py from the latest release. Click the arrow beside Install plugin and choose Install local plugin. The first time, this only renames the green button, so click Install local plugin again and pick the file.

    Tick Activate. OrcaSlicer then shows Plugin permissions: network access to 127.0.0.1, which means this computer only; permission to create a thread, which keeps the connection running; and read access to OrcaSlicer's own temporary orcaslicer_model folder, where it saves the G-code of each slice. Choose Yes; No stops the plugin. The plugin's panel then opens beside the 3D view and walks you through step 2. Use one install or the other: in the build, the plugin stays off.

2. Add the connector to your AI app. Every app runs the connector with uv, a small free tool, so install it once: curl -LsSf https://astral.sh/uv/install.sh | sh on macOS and Linux, or irm https://astral.sh/uv/install.ps1 | iex in PowerShell on Windows. Then:

  • Claude Desktop: download orcaslicer-mcp-<version>.mcpb from the latest release, and open it. Its token field stays empty.

  • ChatGPT desktop app (Codex chats): open Settings → Plugins → Add → Add MCP server and choose STDIO. Put uvx in Command to launch and orcaslicer-mcp in Arguments: they are separate boxes. Ordinary ChatGPT chats can't use it yet.

  • Other apps (Cursor, LM Studio and the like): add this to the app's MCP settings:

    json
    {  "mcpServers": {    "orcaslicer": {      "command": "uvx",      "args": ["orcaslicer-mcp"]    }  }}

    VS Code reads the same entry from .vscode/mcp.json under servers instead of mcpServers, with "type": "stdio" added. No token is needed: the connector finds OrcaSlicer on the same computer by itself. The plugin's panel and Config tab have a one-click install for Cursor and VS Code, a ready command for Claude Code and Codex, and each ChatGPT box to copy. If OrcaSlicer was started with its own settings folder (--datadir), add "env": { "ORCA_DATADIR": "<that folder>" }. For the build on another computer, set ORCA_API_URL and ORCA_API_TOKEN (troubleshooting).

Optional: the agent skill. It teaches Claude Code, Codex and other agents how to work with these tools (where to start, which settings to check first, the traps). In Claude Code: /plugin install orcaslicer-mcp --marketplace MaxEllis/orcaslicer-mcp. For other agents, copy the skills/orcaslicer-mcp folder into ~/.agents/skills. It is instructions only and runs no code.

3. Check it works. With OrcaSlicer open, ask "Which printer and filament is OrcaSlicer set up for?" The answer should name your printer and filament presets. If it can't connect, or your app warns about too many tools, see troubleshooting.

You stay in charge

  • Every change shows in the OrcaSlicer MCP panel. Undo any one there, or put the project back to an earlier point (build only). OrcaSlicer's own Ctrl+Z (⌘Z on a Mac) undoes model edits, not settings, so use the panel to take a setting back. Closed the panel on the build? View → OrcaSlicer MCP panel brings it back.
  • It knows what you changed. When you edit something yourself, the assistant is told with its next reply, so it doesn't undo your work.
  • It stays on your computer. OrcaSlicer only accepts connections from this computer, and each one needs the token. Security details
  • Scripts and G-code stay locked. The assistant can't touch scripts, custom G-code or printer connections. With the build, tick Allow script, G-code and connection edits in OrcaSlicer's Preferences → Remote API, then ask again. Only that box allows it, and no assistant or API call can tick it. With the plugin it never can.

Privacy policy

orcaslicer-mcp has no backend and collects nothing. It talks to OrcaSlicer and, for the printer tools, your printer, and to nothing else. Your conversation, tool replies included, goes to whichever model your assistant app uses; with a local model nothing leaves your network. Full privacy policy

More

Tools · Security · Printers and print history · Troubleshooting · Development · API reference · Report a problem

Free and open source under AGPL-3.0, like OrcaSlicer. If it saves you time, you can buy me a coffee.

来源:README.md,提交 4062d31

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

12
  1. v0.1.27最新Nov 19, 2026
  2. v0.1.26Nov 17, 2026
  3. v0.1.25Nov 13, 2026
  4. v0.1.24Nov 13, 2026
  5. v0.1.23Nov 11, 2026
  6. v0.1.20Nov 8, 2026
  7. v0.1.19Nov 3, 2026
  8. v0.1.17Oct 12, 2026
  9. v0.1.16Oct 9, 2026
  10. v0.1.14Oct 2, 2026
  11. v0.1.13Sep 17, 2026
  12. v0.1.12Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分