by ahujasid
BlenderMCP integrates Blender with Claude AI via the Model Context Protocol (MCP), enabling AI-driven 3D scene creation, modeling, and manipulation. This project allows users to control Blender directly through natural language prompts, streamlining the 3D design workflow.
BlenderMCP integrates Blender with Claude AI via the Model Context Protocol (MCP), enabling AI-driven 3D scene creation, modeling, and manipulation. This project allows users to control Blender directly through natural language prompts, streamlining the 3D design workflow.
To use BlenderMCP, you need to set up both the MCP server and the Blender addon.
Prerequisites:
uv
package manager (install via brew install uv
on Mac, or PowerShell script on Windows).Claude for Desktop Integration:
claude_desktop_config.json
.mcpServers
:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
Cursor Integration:
.cursor/mcp.json
in your project root and paste the above JSON configuration."cmd"
and add "/c"
before "uvx"
.Installing the Blender Addon:
addon.py
file from the BlenderMCP repository.addon.py
file.Starting the Connection in Blender:
Once connected, you will see a hammer icon in Claude with tools for BlenderMCP, allowing you to interact with Blender using natural language.
BlenderMCP can be used for various 3D creation tasks, including:
Q: What are the main components of BlenderMCP?
A: The system consists of two main components: the Blender Addon (addon.py
), which creates a socket server in Blender, and the MCP Server (src/blender_mcp/server.py
), which implements the Model Context Protocol and connects to the Blender addon.
Q: How do I troubleshoot connection issues?
A: Ensure the Blender addon server is running and the MCP server is correctly configured on Claude. Do not run the uvx
command in the terminal if you are using Claude or Cursor integration. Sometimes, the first command might not go through, but subsequent commands should work. If issues persist, try restarting both Claude and the Blender server.
Q: What are the limitations and security considerations?
A: The execute_blender_code
tool allows running arbitrary Python code, which can be powerful but potentially dangerous. Always save your work before using it. Poly Haven integration requires downloading models, textures, and HDRI images, which can be toggled off. Complex operations might need to be broken down into smaller steps.
Q: Can I use both Cursor and Claude Desktop for MCP server? A: No, you should only run one instance of the MCP server (either on Cursor or Claude Desktop), not both.
Q: What is Hyper3D integration? A: Hyper3D allows you to generate 3D models. The free trial key has a limited number of generations per day. You can obtain your own key from hyper3d.ai and fal.ai for more generations.
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.
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
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:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
For Mac users, go to Settings > MCP and paste the following
.cursor/mcp.json
in the root of the project and paste{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
For Windows users, go to Settings > MCP > Add Server, add a new server with the following settings:
{
"mcpServers": {
"blender": {
"command": "cmd",
"args": [
"/c",
"uvx",
"blender-mcp"
]
}
}
}
⚠️ Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both
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
Reviews feature coming soon
Stay tuned for community discussions and feedback