Blender MCP Skill
This skill enables OpenClaw to control Blender through the BlenderMCP Model Context Protocol integration.
Prerequisites
- Blender installed and running
- BlenderMCP addon installed in Blender
- blender-mcp Python package installed via uvx
Usage
Starting the Connection
-
In Blender:
- Open Blender
- Press
Nto show the 3D View sidebar - Go to "BlenderMCP" tab
- Click "Connect to Claude" to start the socket server on localhost:9876
-
In OpenClaw:
- Use the
start-serverscript to start the MCP server - Or run
uvx blender-mcpmanually
- Use the
Available Commands
The following tools are available through BlenderMCP:
get_scene_info- Get detailed information about the current Blender scenecreate_object- Create a new 3D object (cube, sphere, cylinder, etc.)delete_object- Delete an existing objectmodify_object- Modify object properties (location, rotation, scale, etc.)set_material- Create/assign a material to an objectexecute_code- Execute arbitrary Python code in Blenderget_screenshot- Get a screenshot of the current viewportdownload_asset_polyhaven- Download assets from Poly Havensearch_sketchfab- Search and download models from Sketchfabgenerate_model_3d- Generate 3D models using Hyper3D Rodin AI
Example Prompts
- "Create a low poly dungeon scene with a dragon guarding gold"
- "Make a red metallic sphere on top of a cube"
- "Create a studio lighting setup and point the camera at the scene"
- "Get a screenshot of the current scene"
- "Download a grass texture from Poly Haven and apply it to the ground"
Scripts
scripts/start-server.sh- Start the Blender MCP serverscripts/test-connection.py- Test connection to Blender
Configuration
By default, connects to:
- Host:
localhost - Port:
9876
To change, set environment variables:
export BLENDER_HOST=your-host
export BLENDER_PORT=your-port
Troubleshooting
- Connection refused: Make sure Blender is running and the addon is connected
- Timeout errors: Break large requests into smaller steps
- Unknown command: Restart both Blender addon and MCP server