This project lets MCP clients execute Blender Python. Treat that as powerful code execution.
- Live tools run through the Blender add-on and can inspect or mutate the open Blender session.
- Saved-file tools whose names end in
_for_clirun in a fresh subprocess using either a Blender executable or a standalonebpyPython. - The subprocess boundary improves crash isolation and state cleanup. It is not an operating-system sandbox.
- Model-generated Python can read, write, or delete files and may access the network with the permissions of the invoking user/process.
- Run on disposable copies of
.blendfiles. - Use a dedicated working directory for agent outputs.
- Do not expose secrets, private source trees, credentials, or unrelated user files to agent-managed workspaces.
- Prefer explicit output paths and never ask agents to overwrite source
.blendfiles. - For benchmark trials, keep prompts, manifests, validators, raw captures, and answer/oracle files outside the model-controlled workspace.
BLENDER_PATHmust point to a Blender executable, not Python.BLENDER_MCP_BPY_PYTHONmust point to a Python interpreter that can import the intended standalonebpybuild.- Installing standalone
bpydoes not change thebpymodule embedded in a running Blender application.
When reporting security-sensitive issues, include the smallest reproducible command/configuration and whether it used the live add-on path, Blender executable backend, or standalone bpy backend. Do not include credentials or private .blend assets.