BlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), enabling AI-assisted 3D modeling, scene creation, and manipulation directly within Blender. This integration allows Claude to interact with and control Blender through a socket-based communication system.
Install uv based on your operating system:
Mac:
brew install uv
Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Then:
set Path=C:\Users\nntra\.local\bin;%Path%
For other platforms, check the installation instructions at UV's documentation.
You can configure the Blender connection with these environment variables:
export BLENDER_HOST='host.docker.internal' # default: "localhost"
export BLENDER_PORT=9876 # default: 9876
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
For Mac users:
.cursor/mcp.json in your project root{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
For Windows users:
{
"mcpServers": {
"blender": {
"command": "cmd",
"args": [
"/c",
"uvx",
"blender-mcp"
]
}
}
}
Note: Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both.
Ensure you have Visual Studio Code installed, then use the MCP integration features to add the blender-mcp server.
addon.py file from the repositoryaddon.py fileOnce the connection is established, you'll see a hammer icon in Claude with tools for the Blender MCP.
You can ask Claude to:
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 JSON-based protocol over TCP sockets:
type and optional paramsstatus and result or messageexecute_blender_code tool allows running arbitrary Python code in Blender, which can be powerful but potentially dangerous. Always save your work before using it.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.json2. Add this to your configuration file:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect