Blender mcp

From huytran1120/vie-agentic-skills · View interactive version

Blender mcp is an AI agent skill from the GitHub repository huytran1120/vie-agentic-skills. Connect Blender 3D to any LLM via Model Context Protocol (MCP) for prompt-driven 3D modeling, scene creation, material application, lighting, rigging, retopology, animation, and asset integration (Poly Haven, Sketchfab, Hyper3D Rodin, Meshy, Hunyuan3D).

How to use this skill

Skill file

MCP for Blender (BlenderMCP)

<p align="center">

<img src="assets/preview.svg" alt="Blender MCP 3D Preview" width="100%" />

</p>

Connect Blender to AI Coding Agents (Antigravity, Claude Code, Cursor, Windsurf, Codex) via the Model Context Protocol (blender-mcp) to directly inspect, create, modify, render, and animate 3D scenes in Blender using natural language and bpy scripts.

Core Capabilities

  1. Two-Way Socket Communication: Connects the MCP Server (uvx blender-mcp) to a custom Blender Add-on (scripts/addon.py) over a local TCP socket.
  2. Object & Scene Manipulation: Create, delete, transform, and organize 3D meshes, cameras, lights, and collections.
  3. Material & Shader Control: Procedural shader networks, PBR textures, and HDRIs.
  4. Asset Integrations:
  1. Execute Arbitrary Python (execute_blender_code): Run bpy code directly inside Blender context with viewport screenshot feedback (get_viewport_screenshot).

Specialized Domain Guides

Before executing complex 3D workflows, read the relevant guide in references/guides/:

Quick Setup

  1. Install Blender Add-on:
  1. Configure MCP Server:

```json

{

"mcpServers": {

"blender": {

"command": "uvx",

"args": ["blender-mcp"]

}

}

}

```

Recommended Workflow for Agents

  1. Always call get_scene_info first to understand existing objects, materials, and world state.
  2. Break complex 3D modeling into incremental steps (blocking -> detailing -> materials -> lighting).
  3. After significant geometry or camera changes, capture the viewport (get_viewport_screenshot) to visually verify alignment, proportions, and lighting.
  4. Prefer Poly Haven / Sketchfab assets for realistic props and HDRIs before procedural approximation.
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.