Check that the fabrication setup works - Bambu Studio and its permissions, the bambu-studio, freecad, cadcraft and blender MCP servers, FreeCAD, Blender and its MCP add-on, the plugin's options, and MCP servers registered twice. Use when someone says "check my setup", "why doesn't the printer tool work", "the freecad tools are missing", "set up the fabrication plugin", or when a fabrication tool fails to connect.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Fabrication Doctor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/alexnodeland-fabrication-doctor)
---
name: fabrication-doctor
description: Check that the fabrication setup works - Bambu Studio and its permissions, the bambu-studio, freecad, cadcraft and blender MCP servers, FreeCAD, Blender and its MCP add-on, the plugin's options, and MCP servers registered twice. Use when someone says "check my setup", "why doesn't the printer tool work", "the freecad tools are missing", "set up the fabrication plugin", or when a fabrication tool fails to connect.
---
# Fabrication doctor
Every check here is read-only. Changing permissions, settings or MCP registrations is the person's to do or
approve.
## Checks
Run them in order and report one line each: ok, missing, or wrong, with the fix.
1. **Bambu Studio and its permissions: `bambu_doctor`.** It reports:
- `macos` and `studio.version`, against the versions tested (Bambu Studio 02.09.02.62, macOS 27.2.1).
Others may work; read the warnings.
- `permissions.accessibility` and `permissions.screenRecording`, both for the **host app**: the app that
runs the MCP server (the terminal, or the Claude app). The fix is System Settings > Privacy & Security >
Accessibility, and Screen & System Audio Recording. The person turns them on, then restarts the host app.
- `instances`: open Bambu Studio processes, one per project. With several, every call needs `pid`.
- Bambu Studio must be in English: the tool reads its labels.
2. **The bambu-studio MCP server itself.** If the `bambu_*` tools are missing, look at the plugin's
`bambu_studio_mcp_dir` option:
- set: a local checkout of bambu-studio-mcp, built: `dist/bin.js` must exist (`make build` there);
- blank: the published package through `npx bambu-studio-mcp@0`.
**Is it the newest version?** A running server keeps the version it started with; `/reload-plugins`
doesn't restart it. Check, from this session's shell:
```sh
python3 -I "${CLAUDE_PLUGIN_ROOT}/scripts/bambu_studio_mcp_update.py" # current or OUTDATED
python3 -I "${CLAUDE_PLUGIN_ROOT}/scripts/bambu_studio_mcp_update.py" --prepare # npx fetches the new one
```
When it's outdated: run `--prepare`, then ask the person to reconnect it (`/mcp`, then
`plugin:fabrication:bambu-studio`, then Reconnect), then run the check again. Only the person can restart
it: stopping its process from the shell only takes the `bambu_*` tools away, and they don't come back
until the person reconnects. Never ask for a reconnect while a print is being sent.
3. **Bambu Studio's command-line slicer:**
`test -x /Applications/BambuStudio.app/Contents/MacOS/BambuStudio`, and its version from
`defaults read /Applications/BambuStudio.app/Contents/Info.plist CFBundleShortVersionString`.
`python3 -I "${CLAUDE_PLUGIN_ROOT}/scripts/bambu_presets.py" --list machine | head` proves the profiles are
readable. Don't run the slicer from a repository root: it writes `result.json` into the working directory.
4. **FreeCAD:** `/Applications/FreeCAD.app`, with `freecadcmd` at
`/Applications/FreeCAD.app/Contents/Resources/bin/freecadcmd`. Check it in a scratch folder:
`freecadcmd -c "import FreeCAD; print('.'.join(FreeCAD.Version()[:3]))"`. It exits 0 even when the Python
fails, so read the output, not the exit code.
5. **The freecad MCP server** (`freecad-mcp==0.1.27`, through `scripts/run-freecad-mcp.sh`) talks to a running
FreeCAD, not to `freecadcmd`. It needs:
- FreeCAD open;
- the FreeCADMCP add-on in FreeCAD's `Mod` folder (`~/Library/Application Support/FreeCAD/<version>/Mod/`);
- its RPC server started: the "MCP Addon" workbench, "Start RPC Server" (or its Auto-Start toggle).
`lsof -nP -iTCP:9875 -sTCP:LISTEN` shows it listening.
Without them the server still starts, but its tools can't reach FreeCAD. Headless builds (`freecad-build`)
don't need it.
6. **Blender and the blender MCP server:** `/opt/homebrew/bin/blender --version` (Homebrew); the server needs 5.1 or
later. The server is Blender Lab's own, from projects.blender.org at a pinned commit (`scripts/run-blender-mcp.sh`).
Its package is also named `blender-mcp`, but the `blender-mcp` on PyPI is an unrelated community server that
sends usage data by default: never register `uvx blender-mcp`. Its parts:
- background tools: the plugin's `blender_path` option, else `blender` on PATH, else Homebrew's or
/Applications/Blender.app. The launcher says on stderr when it finds none.
- live tools: Blender open, with the extension "MCP" (id `mcp`) installed and enabled. List it with
`blender --command extension list`; it auto-starts a server on localhost:9876 (`lsof -nP -iTCP:9876
-sTCP:LISTEN` while Blender is open). Installing it is the person's call: the release's `mcp-<version>.zip`,
then `blender --command extension install-file -r user_default -e <zip>`, with Blender closed.
- `uv`: the freecad and blender servers run through `uv tool run`. Check `uvx --version` too: it must say
`uvx …`. If it says `uv …`, a version manager's shim runs plain uv for uvx, and anything configured as
`uvx <tool>` fails to start (found 2026-12-01 with proto's shims). The plugin doesn't use uvx; the person's
own MCP config may.
7. **cadcraft-cli** for the cadcraft MCP server (2D drafting): the plugin's `cadcraft_cli` option, else
`cadcraft-cli` on PATH, else `~/.local/bin/cadcraft-cli`. `cadcraft-cli --version`. Without it the server
fails to start (it shows as failed in `/mcp`), and nothing else depends on it.
8. **MCP servers registered twice.** The plugin starts `bambu-studio`, `freecad`, `cadcraft` and `blender`. If the same
servers are also in the person's own config, their tools appear twice under two prefixes, and the model
has to guess between them. List the names, never the values (they may hold tokens):
```sh
python3 -I -c 'import json, os; print(sorted(json.load(open(os.path.expanduser("~/.claude.json"))).get("mcpServers", {})))'
```
Also look in a project's `.mcp.json`. A `~/.claude.json` may register `freecad` or `cadcraft` too. The fix is
the person's choice: remove the global copies (`claude mcp remove freecad -s user`), or keep them and
disable the plugin's. `cadcraft-live` (`cadcraft-cli mcp --connect ...`) drives the running app: a
different server, not a duplicate.
9. **The print guard.** The plugin's PreToolUse hook (`hooks/scripts/guard-print.sh`) refuses agent shell
commands with `--yes`, `BAMBU_STUDIO_MCP_ALLOW_UNCONFIRMED` or `BAMBU_STUDIO_MCP_CONFIRM`. Check
`hooks/hooks.json` is present; don't test it by sending anything.
## Report
A short table: check, result, fix. Then the one thing to do first. For example:
| Check | Result | Fix |
|-------|--------|-----|
| Bambu Studio | 02.09.02.62, Accessibility and Screen Recording ok | - |
| freecad MCP | tools can't reach FreeCAD: nothing on port 9875 | Open FreeCAD, MCP Addon workbench, Start RPC Server |
| MCP duplicates | `freecad`, `cadcraft` also in ~/.claude.json | Remove one copy (your call) |
Never start, open or click anything in Bambu Studio to test it, and never send a print to test the setup.