Skip to main content

Blender Connector

CLI or API | MCP

PyPI - Version MCP Server PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Documentation — Installation, deployment, and usage are maintained in the official documentation.


Overview

Blender Connector is a Model Context Protocol (MCP) server for Blender 3D scene work. It proxies the third-party mcp-for-blender upstream (formerly blender-mcp) instead of reimplementing it, and serves the packaged Blender skills, prompts and ontology alongside it. It is built on the shared connector SDK (scion-sdk).

The upstream talks to a running Blender through an add-on socket (default localhost:9876). With Blender down, the blender_* calls return the upstream's actionable timeout text while the server, the registry and the content keep serving.


Key Features

  • Wraps, does not reimplement: the upstream is a pooled stdio child namespaced blender; every upstream tool is served as blender_<tool> with the scion/upstream metadata, and upstream resources pass through unmodified.
  • Complete surface: ten functionality skills plus a router skill, one prompt per functionality plus an operator and three role prompts (scene builder, look-dev and lighting artist, technical animator), and an ontology of tool-use contracts and data locations.
  • Safe by default: safe mode (BLENDER_MCP_SAFE_MODE=1) and the telemetry opt-out are shipped in the example client entry, and the child gets a clean environment.
  • Readiness without Blender: the connector-native handshake tool checks the upstream binary and the add-on socket without any Blender protocol traffic.
  • Drift gates: a committed tool snapshot, byte-checked generated content and a live drift check against the upstream.

MCP

Available MCP Tools

MCP Tool Description
handshake Local readiness check: upstream binary on PATH and add-on socket reachable.
blender_get_addon_status Version, add-on match, and which libraries and generators are on.
blender_get_scene_info Scene facts as text: objects, placement, health, settings.
blender_execute_blender_code Run Python (bpy, bmesh, mathutils) in the live Blender.
blender_look See the scene as an image: viewport, camera, angles or frames.
blender_search_assets Search Poly Haven, Sketchfab and Poly Pizza.
blender_import_asset Import a found asset into the scene.
blender_generate_3d Generate one textured model from a prompt or an image (may cost credits).
blender_generate_gaussian_world Generate a Gaussian-splat environment (may cost credits; Blender 5.3+).
blender_disable_telemetry Turn off data collection for the session.
blender_record_trajectory_feedback Record accept, reject, undo or correction feedback.
registry_list_namespaces, registry_activate, registry_deactivate, registry_status SDK registry tools for the upstream namespace.

Skills and prompts

Skill Use it to
blender Router: pick the functionality skill.
blender-inspect-scene Report status and scene facts.
blender-build-scene Add, move and shape objects with Python.
blender-materials Author materials and node graphs.
blender-camera-lighting Cameras, lights, world, render device.
blender-rig-animate Armatures, keyframes and actions.
blender-review-viewport Review with viewport and rendered looks.
blender-assets Search and import library assets.
blender-generative-3d Generate models and worlds.
blender-session-controls Telemetry opt-out and feedback.

Every skill has numbered steps (one objective and one check each), concrete tool arguments, an error-recovery table, and when-to-use and when-not-to-use guidance. Prompts are served as blender-<functionality>, blender-operator, blender-scene_builder, blender-lookdev_lighting_artist and blender-technical_animator.

MCP Configuration Examples

stdio Transport (local IDEs: Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "blender": {
      "command": "uvx",
      "args": ["--from", "blender-connector[mcp]", "blender-connector"],
      "env": {
        "DISABLE_TELEMETRY": "1",
        "BLENDER_MCP_SAFE_MODE": "1",
        "SCION_UPSTREAMS_INHERIT_ENV": "PATH,HOME,LANG,DISABLE_TELEMETRY,BLENDER_HOST,BLENDER_PORT,BLENDER_MCP_SAFE_MODE"
      }
    }
  }
}

Streamable-HTTP Transport (networked)

blender-connector --transport streamable-http --host 0.0.0.0 --port 8000

The Blender add-on socket has no authentication: keep it on the same host or pod as the connector, never on an untrusted network.


Security: the add-on socket

The Blender add-on server takes commands on its port with no authentication, and blender_execute_blender_code runs any Python in the Blender session. Whoever reaches the socket controls the session and everything the Blender user can read. So:

  • The socket must listen on the loopback address only (BLENDER_HOST stays localhost or 127.0.0.1).
  • The connector must run on the same host as Blender; it never opens a second socket to Blender.
  • No gateway, port forward or container port mapping may expose the socket.
  • Blender should run as a dedicated user with no access to credentials.
  • Callers reach the connector only through Arbora fleet.call, which applies admission and scopes.

Environment Variables

Setting Meaning Start value
DISABLE_TELEMETRY Telemetry opt-out, inherited by the upstream child 1
BLENDER_MCP_SAFE_MODE Validate scripts before they run in Blender, inherited by the upstream child 1
BLENDER_HOST / BLENDER_PORT The add-on socket address, inherited by the upstream child localhost / 9876
SCION_UPSTREAMS_INHERIT_ENV The child environment whitelist that carries the rows above PATH,HOME,LANG,DISABLE_TELEMETRY,BLENDER_HOST,BLENDER_PORT,BLENDER_MCP_SAFE_MODE
SCION_UPSTREAMS_FILE An operator overlay TOML (example: docs/upstreams.example.toml) unset
BLENDERTOOL Toggle for the connector-native tool surface on

Installation

pip install "blender-connector[mcp]"
uv tool install mcp-for-blender        # the upstream binary must be on PATH
uvx mcp-for-blender install-addon      # install the Blender add-on, then enable it in Blender
blender-connector                      # serve the MCP server (stdio by default)
blender-connector-probe                # probe the upstream after an update

Install the upstream in its own environment (uv tool install does this): it pins an older MCP library than the connector SDK, so one shared environment does not resolve. The upstream binary is mcp-for-blender (the package was named blender-mcp before version 2). For a headless GPU deployment (virtual display, Cycles CUDA) see docs/deployment.md.


Documentation

See docs/: overview, architecture, installation, usage, deployment, glossary. Specs live under specs/.

Development

scripts/bootstrap.sh                    # pinned environment + hooks
uvx pre-commit run --all-files          # the gate
uv run pytest tests -q                  # the suite (hermetic: fixture upstream)
uv run python scripts/generate_blender_content.py --check   # content drift gate

Repository Owners

Maintained by the Knuckles Team.

Contribute

Open an issue or a pull request on GitHub. Every change carries a Spec: trailer; see AGENTS.md.

Metadata

Release files for blender-connector 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blender-connector 0.2.2
File Size Uploaded Provenance Actions
blender_connector-0.2.2.tar.gz 114.9 kB Without provenance Details for blender_connector-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blender-connector 0.2.2
File Interpreter ABI Platform Actions
blender_connector-0.2.2-py3-none-any.whl Python 3 none any Details for blender_connector-0.2.2-py3-none-any.whl

Total release size: 199.6 kB

Release files / blender_connector-0.2.2.tar.gz

Download URL blender_connector-0.2.2.tar.gz
Size 114.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cb0b7f14b79b476ef7d7e8b2058010100cbb66e4777cca8f35c1fa080fe7338f
BLAKE2b-256 checksum
How to use checksums
4bbd08362366af05d6c6d2d9f4c1d8da567194f7bd6b0bd6c99253a9f02bd10a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / blender_connector-0.2.2-py3-none-any.whl

Download URL blender_connector-0.2.2-py3-none-any.whl
Size 84.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a9e5c14665aff3557d5b63af78edf0a3427cb2b9ced5009eaac350304123efb
BLAKE2b-256 checksum
How to use checksums
ba7c264a5492cb50be444602a4197c0281a26ffd61d90f91456e2b9d55eac3e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for blender-connector 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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