ahujasid/mcp-for-blender
A local MCP bridge for inspecting and editing live Blender scenes with AI
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
get_scene_info selects object fields such as topology and weights, with root and query for targeted inspection.look returns viewport, camera, multi-angle, or animation-strip views and supports wireframe and X-ray display.BLENDER_MCP_SAFE_MODE=1 validates submitted scripts and returns rejection reasons; it does not secure the add-on socket.Artists and technical artists using a trusted local MCP client to iterate on scene blockouts, materials, or assets and verify edits visually in Blender.
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.
Quick Start & Installation
curl -LsSf https://www.mcp-for-blender.com/install.sh | sh
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| mcp-for-blender ★ | 37.1k | +1.1k | Python | GPL-3.0 | A local MCP bridge for inspecting and editing live Blender scenes with AI |
| Anthropic-Cybersecurity-Skills | 37.1k | +263 | Python | Apache-2.0 | An agentskills.io playbook library for agent-assisted security analysis |
| agents | 43.2k | +212 | Python | MIT | One Markdown plugin catalog adapted to seven AI coding tools |
| rea | 488.8k | +7.6k | TypeScript | MIT | A local CLI and MCP server for evidence-backed app and binary analysis |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/ahujasid/mcp-for-blender.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about mcp-for-blender
How does the MCP client connect to Blender, and can I target multiple sessions?
--port; do not point concurrent clients at the same session.Does the bridge need a dedicated GPU or a fixed amount of VRAM?
Can a commercial team self-host it, and what should it review?
When is direct Blender scripting a better choice?
bpy scripts when the workflow is already known and you want to review, version, and repeat a fixed procedure. The bridge adds more value when the goal is exploratory: the assistant can inspect scene state, view several angles, change the scene, and check the result again without manual screenshot handoffs.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy