by ahujasid
BlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
We have no official website. Any website you see online is unofficial and has no affiliation with this project. Use them at your own risk.
Give feedback, get inspired, and build on top of the MCP: Discord
Available for MacOS, Linux, & Windows
Other supporters:
All supporters:
The system consists of two main components:
addon.py
): A Blender addon that creates a socket server within Blender to receive and execute commandssrc/blender_mcp/server.py
): A Python server that implements the Model Context Protocol and connects to the Blender addonIf you're on Mac, please install uv as
brew install uv
On Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
and then
set Path=C:\Users\nntra\.local\bin;%Path%
Otherwise installation instructions are on their website: Install uv
⚠️ Do not proceed before installing UV
The following environment variables can be used to configure the Blender connection:
BLENDER_HOST
: Host address for Blender socket server (default: "localhost")BLENDER_PORT
: Port number for Blender socket server (default: 9876)Example:
export BLENDER_HOST='host.docker.internal' export BLENDER_PORT=9876
Watch the setup instruction video (Assuming you have already installed uv)
Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
*Configuration content*
For Mac users, go to Settings > MCP and paste the following
.cursor/mcp.json
in the root of the project and paste*Configuration content*
For Windows users, go to Settings > MCP > Add Server, add a new server with the following settings:
*Configuration content*
⚠️ Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both
Prerequisites: Make sure you have Visual Studio Code installed before proceeding.
addon.py
file from this repoaddon.py
fileOnce the config file has been set on Claude, and the addon is running on Blender, you will see a hammer icon with tools for the Blender MCP.
Here are some examples of what you can ask Claude to do:
Hyper3D's free trial key allows you to generate a limited number of models per day. If the daily limit is reached, you can wait for the next day's reset or obtain your own key from hyper3d.ai and fal.ai.
The system uses a simple JSON-based protocol over TCP sockets:
type
and optional params
status
and result
or message
execute_blender_code
tool allows running arbitrary Python code in Blender, which can be powerful but potentially dangerous. Use with caution in production environments. ALWAYS save your work before using it.Contributions are welcome! Please feel free to submit a Pull Request.
This is a third-party integration and not made by Blender. Made by Siddharth
No version information available
15 contributors
ahujasid
@ahujasid
ElgoogUdiab
@ElgoogUdiab
siddikisahil47
@siddikisahil47
harrywang
@harrywang
satishgoda
@satishgoda
davidebbo
@davidebbo
brenoyano
@brenoyano
gregzaal
@gregzaal
crowecawcaw
@crowecawcaw
eltociear
@eltociear
xiangweizheng
@xiangweizheng
cageyv
@cageyv
ericdachen
@ericdachen
yunseorim1116
@yunseorim1116
embogomolov
@embogomolov