Skip to main content

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) or pip for 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

  1. Open Blender.
  2. In Edit → Preferences → Get Extensions / Add-ons, enable BlendRelay MCP.
  3. In the 3D Viewport sidebar (press N), switch to the BlendRelay tab.
  4. Click Connect / Refresh.

Data & Migration

  • Shared Runtime Root: %LOCALAPPDATA%\BlendRelayMCP (customizable via BLENDRELAY_DATA_DIR).
  • Workspaces: Scene-specific data is saved in workspaces/<workspace-id>/. The workspace ID is stored inside the .blend file (blendrelay_workspace_id).

CLI Commands

The unified blendrelay-mcp CLI provides:

  • blendrelay-mcp or blendrelay-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, and inspect_blender_data provide bounded structured context.
  • mesh_edit offers validated common mesh operations (extrude, inset, bevel, bridge, etc.).
  • build_scene_batch handles objects, materials, lights, cameras, transforms, parenting, modifiers, duplication, deletion, and keyframes.
  • execute_blender_python exposes the full Blender Python API with br helpers.
  • capture_viewport and capture_focused_view provide visual verification and multi-angle framing.
  • blendrelay_blender_sessions, blendrelay_blender_job, blendrelay_get_capabilities, blendrelay_register_source, and blendrelay_read_artifact manage 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

blendrelay_mcp-0.7.0.tar.gz (133.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blendrelay_mcp-0.7.0-py3-none-any.whl (146.2 kB view details)

Uploaded Python 3

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

Hashes for blendrelay_mcp-0.7.0.tar.gz
Algorithm Hash digest
SHA256 51b69b352d2130a00729c4bde6bf6aefd24d129ac1d2fb4319e08dae6696a9cb
MD5 32bf95cce5b87cdc3e3572139a22386f
BLAKE2b-256 41d696e64c8c3d00785aeb706af83c0b4141af291119907ec49c7e9ef0627c37

See more details on using hashes here.

Provenance

The following attestation bundles were made for blendrelay_mcp-0.7.0.tar.gz:

Publisher: release.yml on shefq/blendrelay-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for blendrelay_mcp-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26e6051b909d36cd42e68006785ac8b0b5127c3202d2cbe86d289dee4c2e9533
MD5 9d0d197e03b6ba5faa9197d96e047c03
BLAKE2b-256 0b4083840a60d4648484936f1157203a082bc9968695f5418d61b2aca89c2ce3

See more details on using hashes here.

Provenance

The following attestation bundles were made for blendrelay_mcp-0.7.0-py3-none-any.whl:

Publisher: release.yml on shefq/blendrelay-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.7.3

2 files

0.7.1

2 files

This release

0.7.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page