Skip to main content
Glama
blender-connector

blender-connector

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.


Related MCP server: AI Skills MCP Server

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.

Available Tools

5 tools
handshakeBlender readinessA
Read-onlyIdempotent

Check the Blender toolchain before the first blender_* call.

Reports whether the upstream binary is on PATH, and whether the Blender addon socket (BLENDER_HOST / BLENDER_PORT, defaults localhost:9876) answers a bounded TCP probe. A missing socket usually means Blender is not running with the addon enabled, or the host and port do not match the running instance.

Inputs: no named parameters. Returns: object

registry_activateRegistry ActivateC

Reveal one namespace to this session; the first activation lists it.

Inputs: namespace (required). Returns: object

registry_deactivateRegistry DeactivateC

Hide one namespace from this session again.

Inputs: namespace (required). Returns: object

registry_list_namespacesRegistry List NamespacesA

List every upstream namespace with its state and tool count.

Inputs: no named parameters. Returns: result

registry_statusRegistry StatusB

The health of every upstream: state, counts, fingerprint, version.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 5 tools

    Disambiguation3/5

    handshake and registry_status both report health/connectivity information, and registry_list_namespaces overlaps heavily with registry_status (both return state and tool counts per upstream). Only the activate/deactivate pair is cleanly distinct. An agent could reasonably hesitate between status and list_namespaces when it just wants to know what is available.

    Naming Consistency4/5

    Four of five tools use a clean registry_<verb|noun> prefix, giving a predictable grouping. The lone 'handshake' breaks the pattern and, unlike the others, carries no namespace hint. Minor deviation rather than a systemic problem.

    Tool Count4/5

    Five tools is a tight, well-scoped gateway surface: one bootstrap check plus four namespace-management operations. It is slightly thin in that none of the listed tools actually manipulate Blender content, but the namespace activation model implies those tools appear dynamically, so the count is defensible.

    Completeness3/5

    Lifecycle for namespaces is covered (list, activate, deactivate, status) plus a connectivity probe, but there is no way to inspect the tools or schemas inside a namespace before activating it, and no reconnect/reset or troubleshooting operation beyond the initial handshake. Agents hitting a stale socket or a failed activation have limited recovery paths.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Dual-interface MCP server that exposes declarative tools and reusable skills via standard MCP protocol and provides a REST API for authoring them.
      Apache 2.0
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables LLMs and clients to discover, add, configure, enable or disable, and aggregate tools from multiple MCP servers under unified prefixes. It also proxies other MCP servers and persists configurations across sessions.
      -