BlendRelay MCP
General-purpose AI agent control for Blender through MCP
BlendRelay MCP connects local AI agents to Blender 4.5+. It can inspect and change arbitrary Blender files for modeling, sculpting, shading, rigging, animation, Geometry Nodes, simulations, lighting, rendering, compositing, video editing, scene organization and automation.
The Blender sidebar (BlendRelay) provides prompts, reference images, viewport sketches, target regions, selection context, quality profiles, permissions, and full-file recovery checkpoints. MCP tools perform the actual work.
Requirements
- Blender 4.5 or newer.
- Python 3.11 or newer and
uvx(recommended) orpipfor installation. - Prompts sent from Blender currently require a signed-in OpenAI Codex CLI or Google Antigravity CLI. Install only the backend you intend to use.
- Claude Desktop, Claude Code, Cursor, and other MCP clients can connect directly to BlendRelay without Codex or Antigravity.
Quick Start & Setup
1. Install & Setup
BlendRelay MCP is currently in local development and has not yet been published to PyPI:
git clone https://github.com/shefq/blendrelay-mcp.git
cd blendrelay-mcp
python -m pip install -e .
blendrelay-mcp setup
After the first PyPI release, users can install it with uvx blendrelay-mcp setup or pip install blendrelay-mcp.
To run diagnostics and verify your environment:
blendrelay-mcp doctor
2. Configure MCP Client
Add BlendRelay MCP to your MCP client configuration (Claude Desktop, Claude Code, Cursor, Antigravity, etc.):
{
"mcpServers": {
"blendrelay": {
"command": "python",
"args": ["-m", "blendrelay_mcp.cli", "mcp"]
}
}
}
After the PyPI release, clients can instead launch it through uvx:
{
"mcpServers": {
"blendrelay": {
"command": "uvx",
"args": ["blendrelay-mcp"]
}
}
}
For Claude Code during local development:
claude mcp add --scope user blendrelay -- python -m blendrelay_mcp.cli mcp
claude mcp list
3. Enable Extension in Blender
- Open Blender.
- In Edit → Preferences → Get Extensions / Add-ons, enable BlendRelay MCP.
- In the 3D Viewport sidebar (press
N), switch to the BlendRelay tab. - Click Connect / Refresh.
Data & Migration
- Shared Runtime Root:
%LOCALAPPDATA%\BlendRelayMCP(customizable viaBLENDRELAY_DATA_DIR). - Workspaces: Scene-specific data is saved in
workspaces/<workspace-id>/. The workspace ID is stored inside the.blendfile (blendrelay_workspace_id).
CLI Commands
The unified blendrelay-mcp CLI provides:
blendrelay-mcporblendrelay-mcp mcp: Start the MCP stdio gateway server.blendrelay-mcp setup [--target <path> | --blender-version <version>]: Migrate data and install into the newest compatible Blender by default.blendrelay-mcp doctor [--strict]: Validate Python, extension, and runtime health with a meaningful exit status.blendrelay-mcp install-addon [--target <path> | --blender-version <version>]: Install the bundled extension.blendrelay-mcp runtime serve: Run the background loopback runtime service manually.
Blender Tools
get_scene_info,get_object_info,inspect_scene, andinspect_blender_dataprovide bounded structured context.mesh_editoffers validated common mesh operations (extrude, inset, bevel, bridge, etc.).build_scene_batchhandles objects, materials, lights, cameras, transforms, parenting, modifiers, duplication, deletion, and keyframes.execute_blender_pythonexposes the full Blender Python API withbrhelpers.capture_viewportandcapture_focused_viewprovide visual verification and multi-angle framing.blendrelay_blender_sessions,blendrelay_blender_job,blendrelay_get_capabilities,blendrelay_register_source, andblendrelay_read_artifactmanage session lifecycles, background jobs, and artifacts.- Scene checkpoints and restoration allow non-destructive undo and safety recovery.
Workflows and Verification
- Workflows: Auto mode classifies requests into creation, focused editing, shading, rigging, animation, nodes, simulation, rendering, compositing, sculpting, or data management.
- Profiles: Four workload profiles control budgets: Focused Task, Full Creation, Creation + Assets, and Complex Production. Finish quality can be set from Draft to Maximum.
- Checkpoints: BlendRelay automatically creates recovery checkpoints before an AI execution and a final checkpoint upon successful completion.
- Asset Library: Searches local caches, Poly Haven, and Poly Pizza under the active license policy.
Testing
Run the test suite with:
python -B -m unittest discover -s tests -p "test_*.py" -v
Build the extension package:
python tools/build_extension.py
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blendrelay_mcp-0.7.0.tar.gz.
File metadata
- Download URL: blendrelay_mcp-0.7.0.tar.gz
- Upload date:
- Size: 133.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51b69b352d2130a00729c4bde6bf6aefd24d129ac1d2fb4319e08dae6696a9cb
|
|
| MD5 |
32bf95cce5b87cdc3e3572139a22386f
|
|
| BLAKE2b-256 |
41d696e64c8c3d00785aeb706af83c0b4141af291119907ec49c7e9ef0627c37
|
Provenance
The following attestation bundles were made for blendrelay_mcp-0.7.0.tar.gz:
Publisher:
release.yml on shefq/blendrelay-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blendrelay_mcp-0.7.0.tar.gz -
Subject digest:
51b69b352d2130a00729c4bde6bf6aefd24d129ac1d2fb4319e08dae6696a9cb - Sigstore transparency entry: 2846319105
- Sigstore integration time:
-
Permalink:
shefq/blendrelay-mcp@c39dd75bbddbc98e685db49b16bf0bc7f1d0faf0 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/shefq
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c39dd75bbddbc98e685db49b16bf0bc7f1d0faf0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file blendrelay_mcp-0.7.0-py3-none-any.whl.
File metadata
- Download URL: blendrelay_mcp-0.7.0-py3-none-any.whl
- Upload date:
- Size: 146.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e6051b909d36cd42e68006785ac8b0b5127c3202d2cbe86d289dee4c2e9533
|
|
| MD5 |
9d0d197e03b6ba5faa9197d96e047c03
|
|
| BLAKE2b-256 |
0b4083840a60d4648484936f1157203a082bc9968695f5418d61b2aca89c2ce3
|
Provenance
The following attestation bundles were made for blendrelay_mcp-0.7.0-py3-none-any.whl:
Publisher:
release.yml on shefq/blendrelay-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blendrelay_mcp-0.7.0-py3-none-any.whl -
Subject digest:
26e6051b909d36cd42e68006785ac8b0b5127c3202d2cbe86d289dee4c2e9533 - Sigstore transparency entry: 2846319464
- Sigstore integration time:
-
Permalink:
shefq/blendrelay-mcp@c39dd75bbddbc98e685db49b16bf0bc7f1d0faf0 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/shefq
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c39dd75bbddbc98e685db49b16bf0bc7f1d0faf0 -
Trigger Event:
push
-
Statement type: