Blender-Mind-MCP
Provides tools for interacting with Blender, enabling 3D scene creation, procedural modeling, material assignment, lighting and camera setup, viewport capture, and asset export in multiple formats.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Blender-Mind-MCP Create a red cube and capture the viewport"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Blender-Mind-MCP (Production AI 3D Modeling & Blender Bridge)
A production-grade Model Context Protocol (MCP) server and Blender Addon ecosystem for automated 3D modeling, procedural asset generation, shader authoring, and multimodal viewport inspection.
ποΈ Prior Art & Architectural Inspiration
This project incorporates architectural lessons and benchmarks from leading GitHub Blender AI projects (such as ahujasid/blender-mcp and djeada/blender-mcp-server):
Thread-Safe Main-Thread Dispatching: Blenderβs Python C-API (
bpy) is not thread-safe. As discovered in community issue audits, executingbpycalls inside raw socket listener threads triggers memory corruptions and segmentation faults. Our Blender Addon uses a thread-safequeue.Queuecoupled withbpy.app.timersto ensure all scene modifications execute strictly in Blenderβs main render/GUI loop.Undo Step Isolation: Every AI code execution is bracketed with
bpy.ops.ed.undo_push(), enabling seamlessCtrl+Zrollbacks inside Blender.Multimodal Viewport Capture: Uses offscreen OpenGL rendering (
bpy.ops.render.opengl) to return Base64-encoded PNG screenshots of the 3D viewport directly to multimodal vision models.Hexagonal Architecture (Ports & Adapters): Decouples pure 3D geometry generation from physical drivers, supporting both Live Socket connections (
127.0.0.1:9876), headless CLI batching (blender -b), and offline procedural glTF binary simulation.
Related MCP server: Blender MCP
π¦ Project Structure
blender-mind-mcp/
βββ addon/
β βββ blender_mcp_addon.py # Full Blender 3.x/4.x Addon (UI Sidebar Panel, Socket Server, Viewport Capture)
βββ src/
β βββ index.ts # stdio JSON-RPC MCP Server entry point
β βββ bridge/
β β βββ socket_client.ts # Robust TCP Socket Client with reconnect & timeout handling
β βββ core/
β β βββ domain/
β β βββ types.ts # 3D Domain Types (Scene, Mesh, Material, Modifier, Transform)
β β βββ scene.ts # Pure in-memory 3D scene graph & polygon math
β β βββ bpy_generator.ts # Modern Blender 4.x/3.x Python code synthesizer
β βββ ports/
β β βββ driver.port.ts # BlenderDriverPort interface specification
β βββ adapters/
β β βββ live_socket.adapter.ts # Live Socket Adapter (talks to active Blender GUI)
β β βββ blender_cli.adapter.ts # Headless CLI Adapter (talks to blender.exe)
β β βββ mock_geometry.adapter.ts # Offline Simulation Adapter (glTF & OBJ binary synthesis)
β βββ tools/
β βββ index.ts # 10 MCP Tools registry & dispatcher
βββ tests/
β βββ unit/ # L1: Domain math & Python code generation
β βββ contract/ # L2: MCP tool schemas & argument contracts
β βββ integration/ # L3: Binary glTF headers & TCP Socket Bridge
β βββ run_tests.ts # Complete Truth Ladder test runner
βββ package.json
βββ tsconfig.jsonπ Quick Start
1. Install Addon in Blender
Open Blender (3.6+ or 4.x).
Go to Edit > Preferences > Add-ons > Install... (or the Install from Disk arrow in 4.2+).
Select
addon/blender_mcp_addon.py.Enable Development: Blender MCP Bridge.
In the 3D Viewport, press
Nto open the sidebar, click the Blender MCP tab, and click Start MCP Server.
2. Configure MCP Client (Antigravity / Claude / Codex)
Add to your project or global MCP configuration (.mcp.json):
{
"mcpServers": {
"blender": {
"command": "node",
"args": [
"--disable-warning=ExperimentalWarning",
"--experimental-strip-types",
"C:/Users/a1691/Documents/antigravity/noble-hypatia/src/index.ts"
]
}
}
}π οΈ 10 Core MCP Tools
Tool Name | Description | Key Capabilities |
| Create procedural 3D mesh |
|
| Attach procedural modifiers |
|
| PBR Principled BSDF shader |
|
| Position & tune light sources |
|
| Camera framing & lens |
|
| Visual viewport snapshot | Returns Base64 PNG image directly to multimodal LLMs |
| 3D model baking & export |
|
| Topology & scene tree inspection | Hierarchical object list, polycount, vertex count, modifiers |
| Raw parameter Python execution | Sandboxed execution with stdout/stderr capture |
| System diagnostics | Reports active driver, port status, and Blender build |
π§ͺ Truth Ladder Verification
npm testExecutes all 6 test suites across the 4-level Truth Ladder:
L1 Unit: 100% pure domain modeling & Python code synthesizer AST checks.
L2 Contract: Schema definitions and dispatch verification for all 10 tools.
L3 Integration: Binary glTF v2 Header (
0x46546C67) & OBJ structure validation.L3 Integration: Live TCP Socket Client-Server loopback test on
127.0.0.1:9899.L4 E2E: Live stdio JSON-RPC pipe roundtrip.
Available Tools
10 toolsblender_apply_modifierB
Attaches and configures a procedural modifier (subsurf, bevel, boolean, mirror, array, solidify) to a target mesh object.
Inputs: object_name (required), modifier_type (required), params.
blender_capture_viewportA
Captures an instantaneous OpenGL screenshot of the 3D viewport and returns it as a Base64-encoded PNG image for multimodal visual inspection.
Inputs: no named parameters.
blender_create_primitiveB
Creates a 3D procedural primitive (cube, sphere, cylinder, torus, plane, cone, monkey) in the 3D scene.
Inputs: name (required), type (required), size, scale, +2 more.
blender_execute_bpyA
Directly runs custom Blender Python (bpy) scripts with full error containment and return value capture.
Inputs: code (required).
blender_export_assetA
Bakes and exports the current 3D scene into standard 3D formats (.glb, .gltf, .obj, .stl, .fbx).
Inputs: format (required), output_path (required).
blender_healthA
Reports connection status, detected Blender binary version, active simulation engine, and system readiness.
Inputs: no named parameters.
blender_inspect_sceneB
Retrieves complete inspection metadata from the 3D scene, including all mesh objects, transform coordinates, polygon counts, vertex counts, materials, and modifier stacks.
Inputs: no named parameters.
blender_procedural_materialA
Creates a physically-based (PBR Principled BSDF) material with metallic, roughness, glass transmission, or emission, and binds it to an object.
Inputs: base_color (required), object_name (required), material_name (required), emission, +4 more.
blender_setup_cameraB
Creates and positions the scene camera with look-at target tracking and focal length lens adjustments.
Inputs: name (required), look_at, location, focal_length.
blender_setup_lightingA
Creates or configures a 3D light source (Sun, Point, Spot, Area) in the scene with position, energy wattage, and color tint.
Inputs: name (required), type (required), size, color, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 10 tools
Each tool targets a distinct aspect of 3D workflow: camera setup, primitive creation, modifiers, materials, lighting, viewport capture, export, scene inspection, custom scripting, and health check. There is no functional overlap that would cause an agent to misselect a tool.
Almost all tools follow a consistent 'blender_verb_noun' pattern (setup_camera, create_primitive, export_asset, inspect_scene). Two exceptions exist: 'blender_procedural_material' lacks a verb, and 'blender_health' is a noun-only name, but they are still recognizable and do not break the overall pattern significantly.
With 10 tools, the set is well-scoped for a Blender integration. It covers the essential actions for scene creation, modification, inspection, and export without overwhelming bloat. Each tool earns its place, and the count is optimal for the domain.
The tool set covers the full modeling workflow: creating primitives, applying modifiers, materials, lighting, camera, viewport capture, export, and scene inspection. Minor gaps exist, such as direct editing of transforms or deletion of objects, but these can be managed via the custom `blender_execute_bpy` tool, so the surface is largely complete for typical tasks.
Maintenance
Related MCP Connectors
Blender-as-a-service for agents: search 3D assets, run Blender Python, or brief the studio agent.
Connect your AI assistant to Blender for 3D modeling, Geometry Nodes, materials, lighting, animation, rendering and export. Inspect real scenes and viewport images, refine the result and restore checkpoints. OAuth connects your chat to Blender Bridge Desktop on an online Windows 10/11 x64 computer running Blender 4.2+. The chat can run on another device. Requires an active Blender Bridge account; 7-day trial available. AI model access is separate.
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Cloud Blender for AI agents: build, inspect, render and animate 3D scenes over remote MCP. Keep editable .blend projects and export GLB or STL. Make your first 3D asset freeβ30 compute minutes per UTC month, no credit card. First 100 eligible Free account owners to use all 30 minutes in one UTC month by December 31, 2026 UTC receive one calendar month of beta free: 4 compute hours per UTC month, 2 concurrent workers per deployment, 2 deployments, 2048Γ2048 renders at up to 256 samples, and 10 GiB storage. Existing usage counts toward the 4-hour allowance. Limited to 100 rewards; expires January 1, 2027 00:00 UTC. Free resumes afterward without an automatic charge. Examples, eligibility and terms: https://sceneplane.online/launch?utm_source=glama&utm_medium=directory&utm_campaign=first100
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to control Blender 3D software through natural language commands, supporting object creation, manipulation, materials, rendering, and scene management with 22 tools organized across 6 categories.-
- AlicenseBqualityBmaintenanceEnables AI assistants to control Blender 3D software through natural language, with tools for modeling, materials, animation, rendering, and rigging.3818MIT
- AlicenseCqualityBmaintenanceEnables AI agents to control Blender through 150+ tools across 24 modules, including modeling, materials, lighting, animation, rendering, mesh quality analysis, and visual feedback, plus expert prompts and goal-first workflow management.2092MIT
- AlicenseAqualityCmaintenanceEnables AI-driven 3D modeling and scene creation in Blender, allowing LLMs to create, modify, and manipulate objects, materials, and assets through natural language.31MIT