# Repository Briefing: ahujasid/mcp-for-blender
> Source: https://repoforai.com/repo/ahujasid/mcp-for-blender (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/ahujasid/mcp-for-blender
- **Official Docs / Website**: https://www.mcp-for-blender.com/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: GPL-3.0
- **Engineering Health**: A (80/100 · Maintenance 35/35 · Adoption 23/25 · Releases 11/20 · License 11/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Docker, MCP, CLI, Self-Hosted
- **Momentum**: 37,105 ★ total (+148 24h / +1,055 7d) · 3,418 forks
- **Topics**: `3d-modeling`, `ai`, `blender`, `blender-addon`, `blender-mcp`, `claude`, `generative-ai`, `llm`, `mcp`, `model-context-protocol`, `python`
- **When to Use**: Best for: Artists and technical artists using a trusted local MCP client to iterate on scene blockouts, materials, or assets and verify edits visually in Blender. Skip if: You need a shared service for untrusted users, cannot permit assistant-written Python in the Blender session, or already have a fixed workflow better served by reviewed scripts.

## Overview
```text
### Architecture & Core Mechanics
The integration has two processes with distinct roles. An MCP client such as Claude Code or Codex launches the Python server and exchanges MCP messages over stdin and stdout. The server then opens a socket connection to the add-on running inside Blender. Scene inspection and edits target that live session: the add-on executes commands in Blender rather than handing work to a separate modeling or rendering engine.

The Python package maps the `mcp-for-blender` CLI to `blender_mcp.server:main` in `src/blender_mcp/server.py`, requires Python 3.10+, and declares `mcp>=1.26.0,<2` and `httpx>=0.27.0`. The add-on in `addon.py` owns the Blender-side listener. The separation lets you swap compatible MCP clients without replacing the add-on, but the bridge and add-on must agree on a reachable host and port.

### Key Capabilities & Differentiators
The 12-tool interface supports an inspect–edit–check workflow. `get_scene_info` returns compact per-object records, with selectable fields and narrowing via `root` or `query`. `execute_blender_code` runs Python in the live session for geometry, materials, rigging, animation, or retopology. `look` can return viewport and camera views, auto-framed angle sheets, or animation strips, with solid, material, rendered, wireframe, and X-ray display options.

Asset search and import cover Poly Haven, Sketchfab, and Poly Pizza. `generate_3d` combines generation and import through Tripo, Hunyuan3D, Hyper3D Rodin, or Meshy, preferring premium generators when available. World Labs environments import as Gaussian splats on Blender 5.3 or newer. Nano Banana saves stills as PNGs, while MiniMax H3 Max turns the scene camera's animation into an MP4. These services extend the local editing workflow; their models do not run in the Python bridge.

### Trade-offs & Limitations
Compared with direct `bpy` scripts, the bridge is better suited to exploratory work where an assistant needs to inspect the scene before deciding on the next edit. For a fixed production routine, reviewed, version-controlled scripts are easier to audit and rerun. The bridge is lightweight relative to the Blender workload: viewport and render demands remain on the workstation, while external generation adds provider availability, potential charges, and data-handling considerations.

The key trust boundary is Blender itself. The tool runs unrestricted Python by default, and the add-on socket has neither authentication nor encryption. Keep the listener on loopback, prefer an SSH tunnel for trusted remote access, and avoid driving the same session from competing clients. Safe mode validates scripts and rejects risky operations, but it is not a substitute for socket isolation. Putting only the bridge in Docker does not sandbox the Python that executes in host Blender.

### Hardware & Deployment Guide
The base setup requires Blender 3.0+ and Python 3.10+. With uv installed, `uvx mcp-for-blender setup` configures selected clients, backs up changed configuration files, and installs and enables the add-on. Manual setup separates MCP registration from `uvx mcp-for-blender install-addon`. If a GUI client cannot find `uvx`, set the command to its absolute path and fully relaunch the client.

Docker packages only the bridge, using Python 3.12 and frozen `uv sync` steps; Blender still runs on the host. Launch the container with `-i` for MCP stdio. Docker Desktop uses `host.docker.internal`; on Linux, use host networking and `BLENDER_HOST=localhost` to reach the default loopback listener. Local editing does not require the optional generation providers. The manifest lists version 2.4.1, but there is no GitHub release milestone to cite. New installations use `mcp-for-blender`; the old `uvx blender-mcp` invocation remains compatible.
```

## Key Capabilities
```text
- Process boundary: MCP uses stdio between the client and Python bridge; the Blender add-on uses a separate socket, defaulting to localhost:9876.
- Scene inspection: `get_scene_info` selects object fields such as topology and weights, with `root` and `query` for targeted inspection.
- Visual verification: `look` returns viewport, camera, multi-angle, or animation-strip views and supports wireframe and X-ray display.
- Asset workflows: Search and import from Poly Haven, Sketchfab, and Poly Pizza, or generate and import a model through one tool call.
- Output compatibility: World Labs splat import requires Blender 5.3+; Nano Banana writes PNGs and MiniMax H3 Max writes MP4s.
- Execution controls: `BLENDER_MCP_SAFE_MODE=1` validates submitted scripts and returns rejection reasons; it does not secure the add-on socket.
```

## Quick Start / Clone
```bash
curl -LsSf https://www.mcp-for-blender.com/install.sh | sh
```
