Blender expert (router and agent protocol)
Expert-level Blender work is a loop, not a script: build big to small, and at every stage turn the
model, measure it and fix it before adding detail. This skill is the protocol every Blender task
follows and the map to the domain skills distilled from Blender Studio artists, Blender Conference
talks and top instructors (sources in each skill). If a sibling skill named here is missing from
your available skills, load it with skill_get (Scenario MCP) or ask the user to install it
(https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag
the gap.
1. Execution channel
- Live GUI Blender (user's session over the MCP bridge), for anything interactive: real
sculpt/paint brushes, weight painting, viewport screenshots. One short, idempotent script per call
returning a compact result dict. Get-or-create by name. Never touch objects you did not create.
Save a stage backup bpy.ops.wm.save_as_mainfile(filepath=..., copy=True) after each stage.
- Headless helper
blender -b [file] --factory-startup --python-exit-code 1 -P x.py -- args,
for renders, audits, batch ops, anything when no bridge is up. Use --factory-startup so the
user's add-ons and preferences stay out of the run (an add-on can call the network or change
defaults); the Scenario Blender Plugin's headless server,
blender --background scene.blend --command scenario_blender, is the exception because it needs
the extension loaded. Without --python-exit-code a failing script still exits 0. Print a final
machine-readable result line.
Never open your own GUI Blender window to test things on the user's machine: windows steal focus and
pile up. Live work goes through the user's already-running Blender; everything else runs headless,
one Blender process at a time per agent (other sessions may be rendering on the same machine).
Live channel: the Scenario Blender Plugin. When the user's Blender runs the Scenario Blender
Plugin, its local MCP server scenario-blender is the bridge. Setup, quotes, generation and placing
results are the scenario-blender skill's work; this section covers the bpy side (guide at
blender.scenario.com). Its tool names differ from other Blender MCP
servers: there is no execute_blender_code, get_scene_info, get_viewport_screenshot or
import_asset.
| Step | Plugin tool and main arguments |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| Read the scene before acting | scene_summary, then object_detail with name for one object and datablocks_summary for counts |
| Check an API before scripting | blender_api_help with path, such as bpy.types.BevelModifier |
| Run bpy | execute_python with code; bpy and result = {} are preloaded, so fill result |
| Look | screenshot_viewport (viewport with overlays), render_still with source (CAMERA or VIEWPORT), width and height; both need the GUI |
| Select, move the timeline | select_objects with names (a list), set_frame with frame |
Read each tool's input schema from the server before its first call: it is the reference for
optional arguments.
execute_pythonstays off until the user enables Allow connected agents to run Python in the
plugin preferences. A PermissionError means ask for it or stay on the specific tools. A refused
spelling (quit, factory reset, file deletion) changed nothing: rewrite the call.
- Budget every call: the plugin stops a call after 120 s and some agent clients stop waiting after
60 s. Make one logical change per call, so one Undo reverts it, and send bakes, QuadriFlow on
dense meshes, turntables, playblasts and final renders to a headless Blender working on a saved
copy.
- A timed-out call has an unknown outcome: read the scene again before retrying, never resend it
blindly.
- The plugin's tools never save the user's own file. The live channel's stage backup
(save_as_mainfile(..., copy=True) through execute_python) writes a separate file and leaves
the open file and its unsaved state alone: it is also the saved copy that headless work starts
from. Ask the user to save their own file at milestones; with no one to ask, keep working from the
copies and say in the report that the open file is still unsaved.
Check bpy.app.version first; this skill set targets 5.2 LTS, while the Scenario Blender Plugin
also runs on 5.0 and 5.1 (scene_summary reports the version), so check the version timeline in the
deltas before using a recent API. Many tutorials the experts recorded use 2.8x to 4.2 UI: read