blender-mcp-enhanced
Provides comprehensive tools for AI-assisted 3D modeling, scene manipulation, material control, and geometry node creation within Blender, enabling Claude to interact with Blender scenes programmatically.
Allows searching and downloading 3D models from Sketchfab directly into Blender for use in scenes.
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-mcp-enhanced create a procedural wooden table with geometry nodes"
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.
BlenderMCP Enhanced - Advanced Blender AI Integration
π Enhanced fork of BlenderMCP with shared context, geometry nodes, and advanced tool chaining capabilities.
BlenderMCP Enhanced connects Blender to Claude AI through the Model Context Protocol (MCP), enabling sophisticated AI-assisted 3D modeling, procedural geometry creation, and persistent multi-turn workflows.
β¨ Enhanced Features
π Shared Context & Persistence
Persistent variables between tool calls - no more isolated script execution
Object & material handles for seamless cross-tool references
Operation history tracking with automatic cleanup
Multi-turn conversations that build on previous work
π§ Geometry Nodes Support
AI-driven procedural modeling with sophisticated geometry node networks
Blender 4.x compatibility with automatic interface handling
Parametric object creation (tables, chairs, organic shapes, complex geometry)
Auto-handle generation for seamless tool chaining
β‘ Advanced Tool Chaining
13 new MCP tools for context management and procedural modeling
Enhanced asset downloads with automatic handle creation
Intelligent operation tracking and debugging capabilities
Script registry system for reusable Python code libraries
Related MCP server: BlenderMCP
π¦ Installation (Enhanced Version)
From PyPI (Recommended)
uvx install blender-mcp-enhancedFrom Source
uvx install git+https://github.com/zachhandley/blender-mcp-enhanced.gitFor Development
git clone https://github.com/zachhandley/blender-mcp-enhanced.git
cd blender-mcp-enhanced
uvx install .π Credits
Enhanced by: Zach Handley (zachhandley.com)
Added shared context and persistent variables system
Integrated comprehensive geometry nodes support
Enhanced tool chaining and operation tracking
Original Project: Based on BlenderMCP by the community
Original Description:
We have no official website. Any website you see online is unofficial and has no affiliation with this project. Use them at your own risk.
Join the Community
Give feedback, get inspired, and build on top of the MCP: Discord
Supporters
Warp, the intelligent terminal for developers
Available for MacOS, Linux, & Windows
Other supporters:
All supporters:
Release notes (1.2.0)
View screenshots for Blender viewport to better understand the scene
Search and download Sketchfab models
Previously added features:
Support for Poly Haven assets through their API
Support to generate 3D models using Hyper3D Rodin
For newcomers, you can go straight to Installation. For existing users, see the points below
Download the latest addon.py file and replace the older one, then add it to Blender
Delete the MCP server from Claude and add it back again, and you should be good to go!
Features
Two-way communication: Connect Claude AI to Blender through a socket-based server
Object manipulation: Create, modify, and delete 3D objects in Blender
Material control: Apply and modify materials and colors
Scene inspection: Get detailed information about the current Blender scene
Code execution: Run arbitrary Python code in Blender from Claude
Components
The system consists of two main components:
Blender Addon (
addon.py): A Blender addon that creates a socket server within Blender to receive and execute commandsMCP Server (
src/blender_mcp/server.py): A Python server that implements the Model Context Protocol and connects to the Blender addon
Installation
Prerequisites
Blender 3.0 or newer
Python 3.10 or newer
uv package manager:
If you're on Mac, please install uv as
brew install uvOn Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex" and then
set Path=C:\Users\nntra\.local\bin;%Path%Otherwise installation instructions are on their website: Install uv
β οΈ Do not proceed before installing UV
Environment Variables
The following environment variables can be used to configure the Blender connection:
BLENDER_HOST: Host address for Blender socket server (default: "localhost")BLENDER_PORT: Port number for Blender socket server (default: 9876)
Example:
export BLENDER_HOST='host.docker.internal'
export BLENDER_PORT=9876Claude for Desktop Integration
Quick Setup (Recommended)
Use the modern Claude CLI for the easiest setup:
claude mcp add blender uvx blender-mcp-enhancedManual Setup
Watch the setup instruction video (Assuming you have already installed uv)
Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp-enhanced"
]
}
}
}Cursor Integration
For Mac users, go to Settings > MCP and paste the following
To use as a global server, use "add new global MCP server" button and paste
To use as a project specific server, create
.cursor/mcp.jsonin the root of the project and paste
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp-enhanced"
]
}
}
}For Windows users, go to Settings > MCP > Add Server, add a new server with the following settings:
{
"mcpServers": {
"blender": {
"command": "cmd",
"args": [
"/c",
"uvx",
"blender-mcp-enhanced"
]
}
}
}β οΈ Only run one instance of the MCP server at a time (Claude Desktop, Cursor, Codex, or VS Code), not multiple simultaneously
Codex Integration
For Codex users, you can add the MCP server using the CLI:
codex mcp add blender uvx blender-mcp-enhancedOr manually configure in your Codex settings with:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": [
"blender-mcp-enhanced"
]
}
}
}Visual Studio Code Integration
Prerequisites: Make sure you have Visual Studio Code installed before proceeding.
Installing the Blender Addon
Download the
addon.pyfile from this repoOpen Blender
Go to Edit > Preferences > Add-ons
Click "Install..." and select the
addon.pyfileEnable the addon by checking the box next to "Interface: Blender MCP"
Usage
Starting the Connection

In Blender, go to the 3D View sidebar (press N if not visible)
Find the "BlenderMCP" tab
Turn on the Poly Haven checkbox if you want assets from their API (optional)
Click "Connect to Claude"
Make sure the MCP server is running in your terminal
Using with Claude
Once the config file has been set on Claude, and the addon is running on Blender, you will see a hammer icon with tools for the Blender MCP.
![]()
Capabilities
Get scene and object information
Create, delete and modify shapes
Apply or create materials for objects
Execute any Python code in Blender
Download the right models, assets and HDRIs through Poly Haven
AI generated 3D models through Hyper3D Rodin
Example Commands
Here are some examples of what you can ask Claude to do:
"Create a low poly scene in a dungeon, with a dragon guarding a pot of gold" Demo
"Create a beach vibe using HDRIs, textures, and models like rocks and vegetation from Poly Haven" Demo
Give a reference image, and create a Blender scene out of it Demo
"Generate a 3D model of a garden gnome through Hyper3D"
"Get information about the current scene, and make a threejs sketch from it" Demo
"Make this car red and metallic"
"Create a sphere and place it above the cube"
"Make the lighting like a studio"
"Point the camera at the scene, and make it isometric"
π Enhanced Examples (New in this Fork)
Persistent Multi-Turn Workflows
"Create a cube, store it as 'my_cube', then in the next prompt scale it by 2"
"Download a wood texture, save the material handle, then apply it to all selected objects"
"Create 5 different objects, store them all, then arrange them in a circle using their handles"
Geometry Nodes Procedural Modeling
"Create a simple procedural table using geometry nodes"
"Use geometry nodes to create a parametric chair with exposed height and width controls"
"Generate a noise-deformed sphere with geometry nodes and exposed strength parameter"
"Create points distributed on a sphere surface with controllable density"
"Build a procedural car using geometry node networks"
Script Registry System
"Register a lighting setup script for reuse across projects"
"Create and store utility scripts for material creation, then execute them when needed"
"Build a library of geometry node templates and execute them by name"
"Store scene analysis scripts in different categories and run them on-demand"
Advanced Tool Chaining
"Download a Poly Haven texture, create a procedural object with geometry nodes, and apply the texture"
"Generate multiple objects with Hyper3D, store their handles, then create a scene composition"
"Create a procedural building, get its dimensions, then create matching furniture to scale"
Hyper3D integration
Hyper3D's free trial key allows you to generate a limited number of models per day. If the daily limit is reached, you can wait for the next day's reset or obtain your own key from hyper3d.ai and fal.ai.
Troubleshooting
Connection issues: Make sure the Blender addon server is running, and the MCP server is configured on Claude, DO NOT run the uvx command in the terminal. Sometimes, the first command won't go through but after that it starts working.
Timeout errors: Try simplifying your requests or breaking them into smaller steps
Poly Haven integration: Claude is sometimes erratic with its behaviour
Have you tried turning it off and on again?: If you're still having connection errors, try restarting both Claude and the Blender server
Technical Details
Communication Protocol
The system uses a simple JSON-based protocol over TCP sockets:
Commands are sent as JSON objects with a
typeand optionalparamsResponses are JSON objects with a
statusandresultormessage
Limitations & Security Considerations
The
execute_blender_codetool allows running arbitrary Python code in Blender, which can be powerful but potentially dangerous. Use with caution in production environments. ALWAYS save your work before using it.Poly Haven requires downloading models, textures, and HDRI images. If you do not want to use it, please turn it off in the checkbox in Blender.
Complex operations might need to be broken down into smaller steps
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Disclaimer
This is a third-party integration and not made by Blender. Made by Siddharth
Available Tools
30 toolsclear_context_scriptsA
Clear context scripts from the registry.
Args:
category: Optional category to clear. If None, clears all categories.
script_name: Optional specific script to clear. Requires category to be specified.
clear_permanent: If True, also clears permanent scripts. If False (default), only clears temporary scripts.
Returns:
Confirmation message
Inputs: category, script_name, clear_permanent.
complete_geometry_nodeA
Create a complete geometry node network for procedural modeling.
This tool enables AI-driven procedural modeling by creating sophisticated geometry node networks.
Perfect for creating parametric objects like tables, chairs, organic shapes, and complex procedural geometry.
Parameters:
- object_name: Name of the object to apply geometry nodes to (will be created if doesn't exist)
- nodes: List of node definitions, each containing:
- type: Node type (e.g., "GeometryNodeMeshCube", "GeometryNodeSubdivisionSurface")
- location: [x, y] position in node editor (optional)
- label: Custom label for the node (optional)
- inputs: Dict of input values {input_name: value} (optional)
- properties: Dict of node properties {property_name: value} (optional)
- links: List of connections between nodes:
- from_node: Source node index (int) or name (str)
- from_socket: Source socket name (str) or index (int)
- to_node: Target node index (int) or name (str)
- to_socket: Target socket name (str) or index (int)
- input_sockets: Interface inputs for the node group (optional):
- name: Input name
- type: Socket type (e.g., "VALUE", "VECTOR", "GEOMETRY")
- value: Default value (optional)
Example for a simple procedural table:
nodes = [
{"type": "NodeGroupInput", "location": [0, 0]},
{"type": "GeometryNodeMeshCube", "location": [200, 200], "inputs": {"Size": [2, 0.1, 1]}},
{"type": "GeometryNodeMeshCube", "location": [200, 0], "inputs": {"Size": [0.1, 1.8, 0.1]}},
{"type": "GeometryNodeJoinGeometry", "location": [400, 100]},
{"type": "NodeGroupOutput", "location": [600, 100]}
]
links = [
{"from_node": 1, "from_socket": "Mesh", "to_node": 3, "to_socket": 0},
{"from_node": 2, "from_socket": "Mesh", "to_node": 3, "to_socket": 0},
{"from_node": 3, "from_socket": "Geometry", "to_node": 4, "to_socket": "Geometry"}
]
Returns success message with details about the created node network.
Inputs: links (required), nodes (required), object_name (required), input_sockets.
create_material_handleA
Create a handle for a material to reference in future operations.
This allows you to easily reference materials across multiple tool calls.
Parameters:
- handle: The handle name to create (e.g., 'wood_mat', 'metal_shader')
- material_name: The name of the Blender material
Inputs: handle (required), material_name (required).
create_object_handleA
Create a handle for an object to reference in future operations.
This allows you to easily reference objects across multiple tool calls.
Parameters:
- handle: The handle name to create (e.g., 'my_cube', 'main_character')
- object_name: The name of the Blender object
Inputs: handle (required), object_name (required).
download_polyhaven_assetA
Download and import a Polyhaven asset into Blender.
Parameters:
- asset_id: The ID of the asset to download
- asset_type: The type of asset (hdris, textures, models)
- resolution: The resolution to download (e.g., 1k, 2k, 4k)
- file_format: Optional file format (e.g., hdr, exr for HDRIs; jpg, png for textures; gltf, fbx for models)
Returns a message indicating success or failure.
Inputs: asset_id (required), asset_type (required), resolution, file_format.
download_sketchfab_modelC
Download and import a Sketchfab model by its UID.
Parameters:
- uid: The unique identifier of the Sketchfab model
Returns a message indicating success or failure.
The model must be downloadable and you must have proper access rights.
Inputs: uid (required).
execute_blender_codeB
Execute arbitrary Python code in Blender. Make sure to do it step-by-step by breaking it into smaller chunks.
Now includes shared context between executions! You can use:
- shared['variable_name'] = value # Store variables for later use
- get_object('handle_name') # Get stored object references
- get_material('handle_name') # Get stored material references
- store_object('handle', 'obj_name') # Store object reference
- store_material('handle', 'mat_name') # Store material reference
Parameters:
- code: The Python code to execute
Inputs: code (required).
execute_context_scriptC
Execute a previously registered Python script in Blender.
Args:
script_name: Name of the script to execute (without .py extension)
category: Category/folder the script is in (default: "default")
Returns:
Script execution results
Inputs: script_name (required), category.
generate_hyper3d_model_via_imagesA
Generate 3D asset using Hyper3D by giving images of the wanted asset, and import the generated asset into Blender.
The 3D asset has built-in materials.
The generated model has a normalized size, so re-scaling after generation can be useful.
Parameters:
- input_image_paths: The **absolute** paths of input images. Even if only one image is provided, wrap it into a list. Required if Hyper3D Rodin in MAIN_SITE mode.
- input_image_urls: The URLs of input images. Even if only one image is provided, wrap it into a list. Required if Hyper3D Rodin in FAL_AI mode.
- bbox_condition: Optional. If given, it has to be a list of ints of length 3. Controls the ratio between [Length, Width, Height] of the model.
Only one of {input_image_paths, input_image_urls} should be given at a time, depending on the Hyper3D Rodin's current mode.
Returns a message indicating success or failure.
Inputs: bbox_condition, input_image_urls, input_image_paths.
generate_hyper3d_model_via_textA
Generate 3D asset using Hyper3D by giving description of the desired asset, and import the asset into Blender.
The 3D asset has built-in materials.
The generated model has a normalized size, so re-scaling after generation can be useful.
Parameters:
- text_prompt: A short description of the desired model in **English**.
- bbox_condition: Optional. If given, it has to be a list of floats of length 3. Controls the ratio between [Length, Width, Height] of the model.
Returns a message indicating success or failure.
Inputs: text_prompt (required), bbox_condition.
get_geometry_nodes_statusA
Check the status of Geometry Nodes support in Blender.
Returns information about Blender version and geometry nodes capabilities.
Inputs: no named parameters.
get_hyper3d_statusA
Check if Hyper3D Rodin integration is enabled in Blender. Returns a message indicating whether Hyper3D Rodin features are available.
Don't emphasize the key type in the returned message, but sliently remember it.
Inputs: no named parameters.
get_object_infoC
Get detailed information about a specific object in the Blender scene.
Parameters:
- object_name: The name of the object to get information about
Inputs: object_name (required).
get_operation_historyB
Get recent operation history for debugging.
Parameters:
- count: Number of recent operations to show (default 10)
Inputs: count.
get_polyhaven_categoriesA
Get a list of categories for a specific asset type on Polyhaven.
Parameters:
- asset_type: The type of asset to get categories for (hdris, textures, models, all)
Inputs: asset_type.
get_polyhaven_statusA
Check if PolyHaven integration is enabled in Blender. Returns a message indicating whether PolyHaven features are available.
Inputs: no named parameters.
get_scene_infoB
Get detailed information about the current Blender scene
Inputs: no named parameters.
get_sketchfab_statusB
Check if Sketchfab integration is enabled in Blender. Returns a message indicating whether Sketchfab features are available.
Inputs: no named parameters.
get_viewport_screenshotA
Capture a screenshot of the current Blender 3D viewport.
Parameters:
- max_size: Maximum size in pixels for the largest dimension (default: 800)
Returns the screenshot as an Image.
Inputs: max_size.
import_generated_assetA
Import the asset generated by Hyper3D Rodin after the generation task is completed.
Parameters:
- name: The name of the object in scene
- task_uuid: For Hyper3D Rodin mode MAIN_SITE: The task_uuid given in the generate model step.
- request_id: For Hyper3D Rodin mode FAL_AI: The request_id given in the generate model step.
Only give one of {task_uuid, request_id} based on the Hyper3D Rodin Mode!
Return if the asset has been imported successfully.
Inputs: name (required), task_uuid, request_id.
list_context_scriptsA
List all registered context scripts.
Args:
category: Optional category to filter by. If None, lists all scripts.
Returns:
List of available scripts with metadata
Inputs: category.
list_material_handlesA
List all material handles and their details.
Shows which materials you can reference with get_material() in scripts.
Inputs: no named parameters.
list_object_handlesA
List all object handles and their details.
Shows which objects you can reference with get_object() in scripts.
Inputs: no named parameters.
poll_rodin_job_statusA
Check if the Hyper3D Rodin generation task is completed.
For Hyper3D Rodin mode MAIN_SITE:
Parameters:
- subscription_key: The subscription_key given in the generate model step.
Returns a list of status. The task is done if all status are "Done".
If "Failed" showed up, the generating process failed.
This is a polling API, so only proceed if the status are finally determined ("Done" or "Canceled").
For Hyper3D Rodin mode FAL_AI:
Parameters:
- request_id: The request_id given in the generate model step.
Returns the generation task status. The task is done if status is "COMPLETED".
The task is in progress if status is "IN_PROGRESS".
If status other than "COMPLETED", "IN_PROGRESS", "IN_QUEUE" showed up, the generating process might be failed.
This is a polling API, so only proceed if the status are finally determined ("COMPLETED" or some failed state).
Inputs: request_id, subscription_key.
register_context_scriptA
Register a Python script for later execution in Blender.
Args:
script_name: Name for the script (without .py extension)
script_content: The Python code to save
category: Category/folder to organize scripts (default: "default")
permanent: If True, script survives context clearing operations (default: False)
Returns:
Success/error message
Inputs: script_name (required), script_content (required), category, permanent.
search_polyhaven_assetsA
Search for assets on Polyhaven with optional filtering.
Parameters:
- asset_type: Type of assets to search for (hdris, textures, models, all)
- categories: Optional comma-separated list of categories to filter by
Returns a list of matching assets with basic information.
Inputs: asset_type, categories.
search_sketchfab_modelsA
Search for models on Sketchfab with optional filtering.
Parameters:
- query: Text to search for
- categories: Optional comma-separated list of categories
- count: Maximum number of results to return (default 20)
- downloadable: Whether to include only downloadable models (default True)
Returns a formatted list of matching models.
Inputs: query (required), count, categories, downloadable.
set_textureA
Apply a previously downloaded Polyhaven texture to an object.
Parameters:
- object_name: Name of the object to apply the texture to
- texture_id: ID of the Polyhaven texture to apply (must be downloaded first)
Returns a message indicating success or failure.
Inputs: texture_id (required), object_name (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 30 tools
Most tools have distinct purposes, but some pairs like get_object_info and get_scene_info or clear_context_scripts and clear_shared_context could cause confusion despite different scopes.
All 30 tools follow a consistent verb_noun snake_case pattern, making it easy to predict tool names.
30 tools is slightly above the ideal range, but each tool serves a clear and distinct purpose, justifying its inclusion.
The server covers many integrations and has generic code execution, but lacks core operations like object creation, modification, or rendering, which may require workarounds.
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Claude and ChatGPT, connected to your iCloud Calendar, Mail, Contacts and Reminders.
Persistent context for Claude. Your AI always knows your projects and next actions across sessions.
Related MCP Servers
- AlicenseBqualityDmaintenanceConnects Blender to Claude AI through the Model Context Protocol, enabling AI-assisted 3D modeling, scene creation, and manipulation through natural language commands.172MIT
- AlicenseBqualityDmaintenanceConnects Blender to Claude AI through the Model Context Protocol (MCP), enabling prompt-assisted 3D modeling, scene creation, and manipulation.17MIT
- AlicenseBqualityDmaintenanceConnects Blender to Claude AI through the Model Context Protocol (MCP), enabling prompt-assisted 3D modeling, scene creation, and manipulation directly from Claude.17MIT
- AlicenseAqualityDmaintenanceConnects Blender to Claude AI through the Model Context Protocol, enabling prompt-assisted 3D modeling, scene creation, and manipulation.22MIT