docs(blender): desktop Blender + MCP registration per working session, not per task (Prime 2026-09-28)
This commit is contained in:
@@ -78,7 +78,7 @@ live contract for its API. Fetch it rather than trusting a transcription.
|
||||
|
||||
- **Blender** — Blender 5.2 LTS on fv-ml1 GPU 3 (borrowed, on demand). `scripts/blender-run` for
|
||||
headless one-shot renders and conversions; `scripts/blender-mcp` for agent-driven scenes
|
||||
(register per task).
|
||||
(up and registered per working session, down at its end).
|
||||
*When:* 3D rendering, STL → image, scene building.
|
||||
*Detail:* `/home/lkraven/development/eshpfi-management/docs/fleettools/blender.md`
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ runs only while in use, and this access ends if a big seat moves onto the card.
|
||||
| You are… | Use | Shape |
|
||||
|---|---|---|
|
||||
| a script or CLI caller (renders, conversions) | `scripts/blender-run` | one-shot `docker run --rm`: no desktop, gone when Blender exits |
|
||||
| an agent building scenes interactively | `scripts/blender-mcp` (MCP, per task) | a GUI Blender plus the mcp-for-blender add-on; `up` / `status` / `down` |
|
||||
| an agent building scenes interactively | `scripts/blender-mcp` (MCP, per working session) | a GUI Blender plus the mcp-for-blender add-on; `up` / `status` / `down` |
|
||||
|
||||
Both scripts are in `/home/lkraven/development/eshpfi-management/scripts/` and run from nh3-dev,
|
||||
reaching fv-ml1 as `infra-ops@10.251.50.54` over ssh. **No HTTP API** and no openapi.json.
|
||||
@@ -69,8 +69,11 @@ scripts/blender-run -- --python-expr 'import bpy; print(bpy.app.version_string)'
|
||||
|
||||
## blender-mcp (agents)
|
||||
|
||||
Register it **per task**, never user- or project-wide (Prime, 2026-09-27):
|
||||
Bring it up **once per working session**, never always-on, and never register it user- or
|
||||
project-wide (Prime, 2026-09-28, superseding the 2026-09-27 per-task rule). At session start:
|
||||
`scripts/blender-mcp up`, wait for `status` to say answering, then
|
||||
`claude mcp add blender -- /home/lkraven/development/eshpfi-management/scripts/blender-mcp`.
|
||||
Then run `scripts/blender-mcp up`, wait for `status` to say answering, work, and run `down`
|
||||
when finished. Safe mode is on (no os/open/network in agent code), so the startup hook has
|
||||
At session end: `claude mcp remove blender` (the default local scope persists for the
|
||||
directory) and `scripts/blender-mcp down`. There is one GUI and one scene, so MCP work
|
||||
serializes fleet-wide; parallel work goes through blender-run. Safe mode is on (no os/open/network in agent code), so the startup hook has
|
||||
already pointed Cycles at OptiX. Save to `/work/…`. Details and traps are in the stack README.
|
||||
|
||||
Reference in New Issue
Block a user