BlenderMCP connects Blender to Claude AI (and other Model Context Protocol clients) through a socket-based server, letting an LLM create, modify, and inspect 3D scenes directly inside Blender. It's built for developers, technical artists, and hobbyists who want to drive Blender with natural language instead of clicking through menus and writing scripts by hand.
The project has two parts: a Blender addon (addon.py) that opens a socket server inside Blender, and a Python MCP server (src/blender_mcp/server.py) that speaks the Model Context Protocol and forwards commands to that addon. Claude, Cursor, VS Code, and other MCP clients connect to the server and get access to tools for manipulating the scene, running Python code, and pulling in external assets.
BLENDER_HOST and BLENDER_PORT.execute_blender_code tool runs arbitrary Python inside Blender. Don't point it at unsaved production files or run it unattended in environments where a bad command could cause real damage. Always save before using it.Prerequisites: Blender 3.0+, Python 3.10+, and the uv package manager (install via the official installer, not pip install uv).
Mac:
brew install uv
Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Add the server to your MCP client config (Claude Desktop, Cursor, VS Code, OpenCode, etc.), for example in claude_desktop_config.json:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": ["blender-mcp"]
}
}
}
If your GUI client can't find uvx on PATH, use its full path (which uvx / where uvx) as the command, or on Windows wrap it: "command": "cmd", "args": ["/c", "uvx", "blender-mcp"].
To pin the Python version and avoid conda/pyenv conflicts:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": ["--python", "3.11", "blender-mcp"],
"env": { "UV_PYTHON_PREFERENCE": "only-managed" }
}
}
}
Then install the Blender addon: download addon.py, go to Edit > Preferences > Add-ons in Blender, click "Install...", select the file, and enable it. In the 3D View sidebar's BlenderMCP tab, click "Connect to Claude" while the MCP server is running in your terminal or client. Only run one MCP server instance at a time (Cursor or Claude Desktop, not both).