360 Secure SkillHub
360 安全技能中心

Blender Mcp

该 Skill 借助 BlenderMCP 协议让 OpenClaw 控制本地 Blender:可查询场景、创建/删除/修改物体、设置材质、截图,并能执行 Python 代码、从 Poly Haven 与 Sketchfab 获取资源、用 Hyper3D Rodin 生成模型,依赖 uvx 启动 MCP 服务。

mars720816
mars720816
热度 63.41
最近更新 2026-05-18 12:26:43
分类:创作依赖:MCP 服务 / 第三方 API / 代码执行应用场景:图像生成 / 工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add openclaw-blender-mcp-skill
Metadata
name
blender-mcp
description
Integrate Blender MCP (Model Context Protocol) allowing OpenClaw to control Blender for 3D modeling, scene creation, and manipulation. Use when you need to interact with Blender, create 3D models, modify scenes, or generate 3D content.

Blender MCP Skill

This skill enables OpenClaw to control Blender through the BlenderMCP Model Context Protocol integration.

Prerequisites

  1. Blender installed and running
  2. BlenderMCP addon installed in Blender
  3. blender-mcp Python package installed via uvx

Usage

Starting the Connection

  1. In Blender:

    • Open Blender
    • Press N to show the 3D View sidebar
    • Go to "BlenderMCP" tab
    • Click "Connect to Claude" to start the socket server on localhost:9876
  2. In OpenClaw:

    • Use the start-server script to start the MCP server
    • Or run uvx blender-mcp manually

Available Commands

The following tools are available through BlenderMCP:

  • get_scene_info - Get detailed information about the current Blender scene
  • create_object - Create a new 3D object (cube, sphere, cylinder, etc.)
  • delete_object - Delete an existing object
  • modify_object - Modify object properties (location, rotation, scale, etc.)
  • set_material - Create/assign a material to an object
  • execute_code - Execute arbitrary Python code in Blender
  • get_screenshot - Get a screenshot of the current viewport
  • download_asset_polyhaven - Download assets from Poly Haven
  • search_sketchfab - Search and download models from Sketchfab
  • generate_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 server
  • scripts/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

  1. Connection refused: Make sure Blender is running and the addon is connected
  2. Timeout errors: Break large requests into smaller steps
  3. Unknown command: Restart both Blender addon and MCP server