What it is
MCP for Blender (formerly blender-mcp) connects Blender to LLM clients through the Model Context Protocol. It has two parts: a Blender addon that runs a socket server inside Blender, and a Python MCP server that talks to the addon. The AI can create and modify objects, apply materials, run Blender Python, check its work through viewport and render views, and import assets or generated 3D models. It is a third-party integration, not made by Blender.
Who it's for
- Blender users who want to drive modeling, scene creation and manipulation with prompts
- Users of MCP clients such as Claude Desktop, Claude Code, Codex, Cursor, VS Code, OpenCode or Antigravity
- Developers who want AI access to Poly Haven, Sketchfab, Poly Pizza or generators like Tripo, Hyper3D Rodin and Hunyuan3D from inside Blender
Requirements
Requirements
- Blender 3.0 or newer
- Python 3.10 or newer
- uv package manager (official installer, not pip install uv)
- An MCP client (e.g. Claude Desktop, Claude Code, Codex, Cursor, VS Code)
Setup
One-command setup (macOS / Linux)
Installs uv if needed, configures the MCP clients you select, and installs and enables the Blender addon. It only adds a
blenderentry to existing configs and saves a.bakof each changed file.bashcurl -LsSf https://www.mcp-for-blender.com/install.sh | shOne-command setup (Windows PowerShell)
Same automatic setup for Windows. If you already have uv on any platform, run
uvx mcp-for-blender setupinstead.powershellpowershell -ExecutionPolicy ByPass -c "irm https://www.mcp-for-blender.com/install.ps1 | iex"Restart and connect
Fully quit and reopen your AI app (on Windows, quit from the system tray), then open Blender. The addon starts its server when Blender opens. To check, press N in the 3D viewport, open the MCP for Blender tab, and click Start MCP Server if it isn't running.
Manual: install the Blender addon
Run this, then in Blender go to Edit → Preferences → Add-ons and enable Interface: MCP for Blender.
bashuvx mcp-for-blender install-addon
Examples
Claude Desktop config
json{
"mcpServers": {
"blender": {
"command": "uvx",
"args": ["mcp-for-blender"]
}
}
}What it does: Add this in Claude Desktop under Settings → Developer → Edit Config to register the MCP server.
Add the server to Claude Code
bashclaude mcp add blender uvx mcp-for-blenderWhat it does: Registers the blender MCP server with the Claude Code CLI.
Run a second Blender instance on another port
json{
"mcpServers": {
"blender": { "command": "uvx", "args": ["mcp-for-blender"] },
"blender-b": { "command": "uvx", "args": ["mcp-for-blender", "--port", "9877"] }
}
}What it does: The --port CLI flag takes precedence over environment variables. Each instance needs a matching port set in the Blender addon panel.
Run the MCP server in Docker (Linux)
json{
"mcpServers": {
"blender": {
"command": "docker",
"args": ["run", "-i", "--rm", "--network=host", "-e", "BLENDER_HOST=localhost", "mcp-for-blender"]
}
}
}What it does: Blender still runs on your machine. On Linux, host networking is used because host.docker.internal doesn't exist and the addon listens only on localhost. Build the image first with docker build -t mcp-for-blender ..
Pros & cons
Pros
- Pro:One-line installer configures several MCP clients and installs and enables the Blender addon
- Pro:Visual verification tools (multi-angle, camera, wireframe, X-ray, animation strip, renders) let the AI check its own work
- Pro:Integrates Poly Haven, Sketchfab, Poly Pizza and generators (Tripo, Hyper3D Rodin, Hunyuan3D)
- Pro:Optional safe mode (BLENDER_MCP_SAFE_MODE=1) validates scripts and blocks risky code before it runs
Cons
- Con:The addon's socket server has no authentication or encryption, so anyone who can reach the port can run Python inside Blender
- Con:By default the AI can run any Python code in Blender; script checking requires enabling safe mode
- Con:GUI-launched clients may not inherit your PATH, causing
spawn uvx ENOENTuntil you set the full path to uvx