Blender Open MCP integrates Blender with local AI models through Ollama, allowing you to control Blender using natural language prompts. This implementation of the Model Context Protocol (MCP) establishes structured communication between AI models and Blender, enabling you to perform 3D modeling tasks through conversational commands.
Before installing Blender Open MCP, ensure you have:
uv
package (install with pip install uv
)git clone https://github.com/dhakalnirajan/blender-open-mcp.git
cd blender-open-mcp
uv venv
source .venv/bin/activate # On Linux/macOS
.venv\Scripts\activate # On Windows
uv pip install -e .
addon.py
file from the blender-open-mcp
directoryIf you haven't already installed a model, run:
ollama run llama3.2
You can also use other models like Gemma3.
Start the server using one of these methods:
blender-mcp
Or alternatively:
python src/blender_open_mcp/server.py
You can customize the server settings:
blender-mcp --host 127.0.0.1 --port 8001 --ollama-url http://localhost:11434 --ollama-model llama3.2
N
to open the sidebarYou can interact with Blender through natural language commands using the mcp
CLI tool.
Get general information:
mcp prompt "Hello BlenderMCP!" --host http://localhost:8000
Retrieve scene details:
mcp tool get_scene_info --host http://localhost:8000
Create a new object:
mcp prompt "Create a cube named 'my_cube'." --host http://localhost:8000
Render your scene:
mcp prompt "Render the image." --host http://localhost:8000
Access PolyHaven assets (if enabled):
mcp prompt "Download a texture from PolyHaven." --host http://localhost:8000
If you encounter issues:
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 > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-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 explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.