Skip to main content

Blender Agent Bridge

The safe, production-shaped bridge between Blender and external AI agents.

Blender Agent Bridge is a Blender extension plus a localhost MCP bridge. It lets tools such as Codex, Claude Desktop, Claude Code, Cursor, and other MCP-capable clients inspect the open Blender scene, gather visual evidence, make preview-capable edits, and run Python under explicit session trust.

Two aircraft in a generated Blender dogfight scene with smoke and motion blur

Blender 4.2+ Latest release Build, smoke, release MCP bridge LLM host License GPL-3.0-or-later

Quick Start

  1. Install Blender 4.2.0 or newer. CI continuously checks Blender 4.2 LTS, 4.5 LTS, and 5.1; newer versions are allowed and use capability checks rather than an artificial maximum-version gate.

  2. In Blender, open Edit > Preferences > Get Extensions, add this remote repository, then sync and install Blender Agent Bridge:

    https://callmejones.github.io/blender-agent-bridge/index.json
    
  3. Enable the extension, open the 3D View sidebar, find Agent Bridge, and press Start.

  4. Press Copy MCP Config, paste the generated config into your client, then refresh or restart it.

  5. Ask the client:

    List the objects in the current Blender scene and tell me which Blender Agent Bridge tools are available.
    
  6. Try a reversible helper edit:

    Move the selected cube up 1 Blender unit and make it red. Leave the change as a preview.
    

Preview edits stay pending in Blender until you use Commit, Revert, or Blender undo. Generated Python is refused while Trust Agent Scripts is off. With trust on, it runs immediately with the same filesystem, network, subprocess, project-file, persistent-cache, and Blender API permissions as Blender's Run Script command.

Bundled mode is the zero-install default. Optional uvx / PyPI setup and client-specific instructions are in the client guide matrix.

Manual fallback: download claude_blender-<version>.zip from the latest GitHub release, then use Blender's Install from Disk. Do not install GitHub's generated source archive. See Install from GitHub for updates, checksums, and troubleshooting.

After Updates

Restart Blender, press Start, copy the MCP config again, replace the old client config, and refresh or restart the client. This prevents cached server paths and tool lists from keeping an older extension active.

Why This Exists

AI agents are getting good at using tools, but Blender needs guardrails. This bridge gives agents real scene context and practical tools without turning Blender into a chat app or storing provider API keys.

  • Blender stays the execution layer: scene state, viewport evidence, preview changes, binary script trust, checkpoints, and local resources.
  • The external client stays the agent host: model connection, conversation memory, provider account, planning, and user chat.
  • Generated Python is not the default path. Agents get structured helpers first; arbitrary scripts are refused while trust is off and run immediately after the user grants runtime session trust.
  • Blender has one deliberately small sidebar panel: bridge status/start-stop, Copy MCP Config, Trust Agent Scripts/Revoke, and pending preview Commit/Revert. Diagnostics, manifests, audit state, captures, and asset configuration stay in bridge/tool responses instead of returning as sidebar sections.
  • Advanced work uses composable modeling, material, staging, animation, evidence, and asset-import helpers. Bespoke authored content uses one trusted script when those reusable operations are not expressive enough.

Showcase: Egypt Dogfight

These compressed images come from the egypt.blend project used while testing the bridge. The agent inspected a scene, used helper/workflow tools, captured playblast and render evidence, repaired issues, kicked off longer render jobs through bridge tooling, and validated the resulting output without relying on shell scripts or hidden in-Blender chat loops.

Short animated preview of a Blender aircraft dogfight generated and reviewed through Blender Agent Bridge

Three stills showing planning, visual evidence capture, and helper repair in the Egypt dogfight scene

Visual evidence Diagnostic close-up Render/playblast review
Wide dogfight render Aircraft inspection close-up Crash playblast frame

The source .blend file and full 1080p videos are not committed here; the repository only includes small showcase exports so the GitHub checkout stays light. See docs/assets/PROVENANCE.md for their origin, hashes, licensing boundary, and known third-party-source limitations.

What Agents Can Do

  • Inspect the current scene, selection, materials, animation, rigs, cameras, nodes, render settings, and .blend health.
  • Make reversible preview edits to common objects, materials, animation, lighting, cameras, rigs, and scene organization.
  • Capture viewport, playblast, inspection-render, thumbnail, and render-job evidence.
  • Search and import Poly Haven or Sketchfab assets through asynchronous download and import jobs.
  • Run animation and background-render workflows, including progress polling and output validation.
  • Use bounded project-directory tools, or run custom Blender Python only after the user enables session script trust.

Safety Model

Connected agents do not get blanket access by default. Enabling session script trust deliberately grants broad Blender-process access.

Path Behavior
Preview edits Show Commit and Revert controls in Blender and retain normal Blender undo support.
Project tools Restrict generic file access to the current saved project directory. Save/open/new-project operations require explicit confirmed paths.
Local bridge Off by default and bound to 127.0.0.1. Optional bearer authentication is available; without it, any local client that can reach the bridge may call its tools.
Generated Python Refused while trust is off. With trust on, it has Blender Run Script permissions, including filesystem, network, subprocess, project-file, persistent-cache, and full Blender API access.
Script trust Runtime-only and visibly revocable. It clears on Revoke, file load, add-on reload, or Blender exit. Static findings are advisory, not a sandbox.
Credentials Model-provider keys are never stored by the extension. Sketchfab tokens are redacted and are not saved in preferences, .blend files, or audit logs.

See SECURITY.md, PRIVACY.md, and docs/SAFETY_MODEL.md for the detailed model.

Optional Sketchfab Auth

Poly Haven discovery and imports do not need a token. Sketchfab public search is also tokenless, but Sketchfab model downloads/imports need an API token.

Fill the empty SKETCHFAB_API_TOKEN field in the copied MCP config, then restart or refresh the client. The token must be available to the MCP server process; Blender Agent Bridge does not save it in preferences, .blend files, or audit logs.

How It Works

flowchart LR
  user["User in Blender"] --> agent["External AI client"]
  agent --> mcp["Blender Agent Bridge MCP"]
  mcp --> bridge["Localhost bridge in Blender"]
  bridge --> scene["Open .blend scene"]
  bridge --> helpers["Safe helper tools"]
  bridge --> evidence["Viewport, playblast, render resources"]
  bridge --> assets["External asset cache/jobs"]
  bridge --> files["Project file lifecycle"]
  bridge --> scripts["Session-trusted Python"]
  helpers --> preview["Live preview transaction"]
  preview --> commit["Commit / Revert / Undo"]
  scripts --> trust["Trust / Revoke"]

The MCP surface stays compact and exposes searchable Blender tool schemas only when the client needs them. Blender owns the open scene, previews, evidence, and trusted execution; the external MCP client owns the model, conversation, and provider account.

See docs/EXTERNAL_BRIDGE_MCP.md for setup and troubleshooting.

Client-specific instructions: Codex, Claude, Cursor, VS Code/Cline/Roo, ChatGPT, Gemini CLI, OpenCode, and Ollama hosts.

Community: browse the curated showcase, propose a showcase submission, join Discussions, report issues, or read Contributing and Adding a Tool.

Try These Prompts

With an object selected:

Move the selected cube up 1 Blender unit and make it red.
Make the selected cube bounce twice over 72 frames, getting smaller each bounce. Check it against the brief and leave it as a preview.
Capture close-up inspection renders of the selected vehicle underside, review them against the brief, and suggest repair operations.
Search Poly Haven for a sunset HDRI, cache it as an external asset job, poll until it is ready, then queue the import into the world as a preview.
Render a playblast as a background job, poll it, assemble the MP4, and validate the output.

Live helper changes, including external asset imports, remain pending until you use Commit, Revert, or Blender undo. Generated Python never enters a pending approval queue: trust off refuses it, and trust on runs it immediately with Blender Run Script-equivalent permissions.

Development

Contributor setup, build commands, and the complete test matrix live in Development, Testing Guide, and Release. See Contributing before opening a change, and Adding a Tool for registry and handler conventions.

The documentation index links the architecture, MCP, preview, safety, client, and launch guides.

License

Blender Agent Bridge source and release ZIPs are licensed under the GNU General Public License, version 3 or any later version. The Blender extension manifest declares this as SPDX:GPL-3.0-or-later; see LICENSE for the full license text. Release ZIPs include the license file at the package root. The separately distributed showcase media under docs/assets/ is governed by its provenance notice, not the extension's GPL license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blender_bridge-0.4.0.tar.gz (390.0 kB view details)

Uploaded Source

Built Distribution

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

blender_bridge-0.4.0-py3-none-any.whl (434.7 kB view details)

Uploaded Python 3

File details

Details for the file blender_bridge-0.4.0.tar.gz.

File metadata

  • Download URL: blender_bridge-0.4.0.tar.gz
  • Upload date:
  • Size: 390.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for blender_bridge-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a165e35958a8e31748b6195fa545198fb161f43cd04151031a5694917d2c33a3
MD5 353373bc2eb3c08e978dff38750b5434
BLAKE2b-256 f0cd501a68d1e8f592b254fabb7aa0020ab9a3d08e1697ca6077dca56b6c980e

See more details on using hashes here.

Provenance

The following attestation bundles were made for blender_bridge-0.4.0.tar.gz:

Publisher: mcp-smoke.yml on CallMeJones/blender-agent-bridge

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

File details

Details for the file blender_bridge-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: blender_bridge-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 434.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for blender_bridge-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4aab33dad274682549521cbfa3f4f9f8d6a35200c22efdc9ea1755644d2b5e6
MD5 7e09a67a3ddb26cfa13b83a67143efb8
BLAKE2b-256 58265b5ce12a3d80dc0bba729b054653baab9af345bf07db2d82d77b7dd9971b

See more details on using hashes here.

Provenance

The following attestation bundles were made for blender_bridge-0.4.0-py3-none-any.whl:

Publisher: mcp-smoke.yml on CallMeJones/blender-agent-bridge

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page