BlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), enabling AI-assisted 3D modeling and scene creation. This integration allows Claude to directly interact with and control Blender through a socket-based server, making it possible to create and manipulate 3D objects via natural language prompts.
Before installing BlenderMCP, ensure you have:
On Mac:
brew install uv
On Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
set Path=C:\Users\nntra\.local\bin;%Path%
For other platforms, installation instructions are available at UV installation guide.
addon.py
file from the repositoryaddon.py
file{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
Watch the setup instruction video: Claude Desktop Setup
For Mac users: Go to Settings > MCP and add either:
.cursor/mcp.json
in the project rootUse this configuration:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
For Windows users: Go to Settings > MCP > Add Server, and add a new server with:
{
"mcpServers": {
"blender": {
"command": "cmd",
"args": [
"/c",
"uvx",
"blender-mcp"
]
}
}
}
Setup video: Cursor setup
⚠️ Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both
Make sure you have Visual Studio Code installed before proceeding, then use the integration button provided in the repository.
You can configure the Blender connection using these environment variables:
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
Once connected, you'll see a hammer icon in Claude with tools for the Blender MCP.
BlenderMCP allows Claude to:
Here are some examples of what you can ask Claude to do:
Hyper3D's free trial key allows a limited number of model generations per day. If you reach the daily limit, you can wait for the next day's reset or obtain your own key from hyper3d.ai and fal.ai.
Remember to always save your work before using the execute_blender_code
tool, as it can run arbitrary Python code in Blender.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "blender" '{"command":"uvx","args":["blender-mcp"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect