Blender automation

From theheavenlyd3mon/hermes-profiles · View interactive version

Blender automation is an AI agent skill from the GitHub repository theheavenlyd3mon/hermes-profiles. Connect Blender to Hermes via MCP — 3D modeling, scene manipulation, batch operations, and asset generation through natural language.

How to use this skill

Skill file

Blender Automation via MCP

Connect a running Blender instance to Hermes via the Model Context Protocol, enabling natural-language 3D modeling, scene manipulation, material editing, and asset generation.

When to Use

Use this whenever the user wants to:

Architecture Overview

Hermes Agent ──stdio MCP──→ uvx blender-mcp ──TCP socket 9876──→ Blender Addon
                                                                      │
                                                                  Blender (bpy API)

Two Implementations

1. Community: ahujasid/blender-mcp (Recommended for now)

2. Official: blender.org MCP Server

3. Notable Alternatives

| Project | Stars | Differentiator |

|---------|-------|---------------|

| ai-forge-mcp | 67 | 565 tools across 16 MCP servers. Full AAA pipeline: Blender + Substance + Maya + Houdini |

| blender-mcp-pro | 20 | 100+ tools: shader nodes, geometry nodes, animation keyframes |

| blend-ai | 96 | "More intuitive" alternative MCP server |

| blender-ai-mcp | 37 | Goal-first routing, deterministic verification, vision-assisted modeling |

| blender-mcp-n8n | 41 | 45+ tools integrated with n8n workflow automation |

| Vibe3DScene | 87 | "Create 3D scenes with words anywhere" — LangGraph + Blender MCP |

4. Emerging Pattern: Agent Skills for Blender

5. Moonlake AI — Computer-Use Agent (Not an Addon)

Setup

Prerequisites

# Ensure uv is installed
which uv || brew install uv   # macOS
# or: https://docs.astral.sh/uv/getting-started/installation/

Step 1: Install Blender

Step 2: Install the Blender Addon

  1. Download addon.py from the ahujasid/blender-mcp repo root
  2. Open Blender → Edit > Preferences > Add-ons
  3. Click Install… and select addon.py
  4. Enable "Interface: Blender MCP"
  5. In the 3D View sidebar (press N), switch to the BlenderMCP tab
  6. (Optional) Enable Poly Haven checkbox for HDRI/texture assets
  7. Click "Connect to Claude" — this starts the socket server on port 9876

Step 3: Configure Hermes

Add to your Hermes config (~/.hermes/profiles/senna/config.yaml for profile-isolated setups):

mcp_servers:
  blender:
    command: "uvx"
    args: ["blender-mcp"]

Then restart Hermes. Tools are auto-discovered with the mcp_blender_* prefix.

⚠️ Only run one MCP client at a time. If another app (Cursor, Claude Desktop) also has blender-mcp configured, stop it first — only one uvx process can connect to the Blender addon.

Step 4: Verify

source ~/.hermes/hermes-agent/venv/bin/activate
hermes mcp list
# → blender should appear with ✓ enabled
hermes mcp test blender
# → Should show ✓ Connected and ✓ Tools discovered: N

Using Blender Tools from Hermes

Once connected, you can ask Hermes to do things like:

Environment Variables

| Variable | Default | Purpose |

|----------|---------|---------|

| BLENDER_HOST | localhost | Host for Blender socket server |

| BLENDER_PORT | 9876 | Port for Blender socket server |

Set these in the env block of the MCP config if customizing.

Critical Architecture Lessons (from 3D-Agent)

Research on multi-agent Blender systems revealed several hard-won lessons:

1. Vision Feedback Loop is Mandatory

After each operation, take a viewport screenshot and have the agent verify it before the next step. Without this, geometry degenerates into "soup" after 3-4 operations. The agent should also learn to change viewport perspective when needed.

2. Separate Reasoning from Code Generation

One model decides what to do (reasoning/planning), another generates how in bpy (code execution). This avoids the single-model drift problem.

3. DSPy for Prompt Optimization

Train system prompts against Blender API docs and expected outputs using DSPy — far more consistent than hand-tuning.

4. Math-Heavy Operations Are Weak

Precise geometric calculations (lattice structures, curve math, symmetry) may need a dedicated pass. Not yet reliable from raw LLM prompting.

5. bpy API Docs Are Insufficient Alone

RAG over docs + examples gets only ~50% coverage. Supplement with example-heavy prompts and iterative refinement.

6. TCP Socket > HTTP for Blender Communication

The addon uses a socket directly rather than HTTP. This matters for the 30+ back-and-forth operations per task — responsiveness is critical.

Capabilities (ahujasid/blender-mcp v1.5.5)

| Category | Operations |

|----------|-----------|

| Scene Inspection | Get object lists, poly counts, material assignments, modifier stacks, shader node graphs |

| Object Manipulation | Create/delete/modify shapes, transform, group, parent |

| Materials | Apply/modify materials, colors, textures |

| Code Execution | Run arbitrary bpy Python code |

| Viewport | Take screenshots of the current view |

| Assets (Poly Haven) | Search/download HDRIs, textures, models via their API |

| Assets (Sketchfab) | Search and download Sketchfab models |

| AI Models (Hyper3D Rodin) | Generate AI 3D models from text prompts |

| AI Models (Hunyuan3D) | AI model generation (v1.5.5+) |

Troubleshooting

| Symptom | Likely Cause | Fix |

|---------|--------------|-----|

| Connection refused | Blender addon not running or not connected | Open Blender, click "Connect to Claude" in BlenderMCP tab |

| Tools not appearing | Wrong config path (profile isolation) | hermes mcp list — if empty, edit the profile's config.yaml |

| Timeout errors | Request too complex | Break into smaller steps or simplify the prompt |

| First command fails | Cold-start delay | Retry — subsequent commands work faster |

| "Command not found" | uv not installed or not on PATH | brew install uv or check PATH |

| Multiple instances conflict | Another app also running blender-mcp | Stop Cursor/Claude Desktop instance, only run one |

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.