Blender cuBe
STDIOAddon for controlling Blender programmatically through socket connection with AI assistants.
Addon for controlling Blender programmatically through socket connection with AI assistants.
This package provides tools to install and configure the BlenderMCP addon for integrating Blender with Cursor AI through the Model Context Protocol (MCP).
cuBe is an addon for Blender that allows you to control Blender programmatically through a socket connection. This enables AI assistants like Cursor AI to create and manipulate 3D objects in Blender.
The official BlenderMCP repository is hosted on GitHub: https://github.com/ahujasid/blender-mcp
Please visit the repository for the latest updates, features, and community contributions.
The officials cuBe reposistory is hosted on Github: https://github.com/TheMapleseed/cuBe
install.bat
chmod +x install.sh
./install.sh
If the automatic installer doesn't work for your system, you can manually install the addon:
Copy addon.py
to your Blender addons directory:
C:\Program Files\Blender Foundation\Blender\[version]\scripts\addons\
/Applications/Blender.app/Contents/Resources/scripts/addons/
or ~/Library/Application Support/Blender/[version]/scripts/addons/
/usr/share/blender/scripts/addons/
or ~/.config/blender/scripts/addons/
Rename the file to blendermcp.py
Start Blender and enable the addon:
The addon supports capturing the current viewport as an image, which can be sent to Cursor or other clients. Use the get_viewport_image
command:
{ "type": "get_viewport_image", "params": { "width": 512, "height": 512, "format": "JPEG" } }
Get detailed performance and scene statistics from Blender with the get_scene_metrics
command:
{ "type": "get_scene_metrics", "params": {} }
This returns information about polygon count, objects, memory usage, and more.
Stream continuous viewport updates in real-time with the start_live_preview
command:
{ "type": "start_live_preview", "params": { "port": 9877, "fps": 10 } }
This starts a separate server on the specified port that clients can connect to for receiving continuous viewport updates.
The installer automatically tests the connection by creating a sphere on top of the default cube. If you see a sphere appear above the cube, the installation was successful!
You can also run the included test scripts:
test_blendermcp.py
- Basic connection testtest_viewport.py
- Test the advanced viewport and metrics featuresThe BlenderMCP addon works seamlessly with Cursor AI. To configure Cursor:
uvx blender-mcp
Contributions are welcome!
This software is provided under the GPLv3 License.