Allows AI assistants to control Blender, enabling object creation, editing, material control, lighting, camera setup, rendering, and custom code execution.
Click on "Install 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., "@Chat with BlenderAdd a red metallic cube to the scene"
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.
โก Vibe Coding Project: This project was developed with AI assistant help using the "vibe coding" approach. It may contain experimental features and unexpected bugs. Your contributions and bug reports are highly appreciated!
๐ฌ Demo
Related MCP server: BlenderMCP
โจ Features
Chat with Blender enables AI assistants to directly control Blender using the Model Context Protocol (MCP).
Feature | Description |
๐ฏ Object Creation | Cube, sphere, cylinder, torus, text, and more |
๐ง Object Editing | Modify position, rotation, scale |
๐ญ Material Control | Color, metallic, roughness, emission settings |
๐ก Lighting | Point, Sun, Spot, Area lights |
๐ท Camera | Camera creation and setup |
๐ผ๏ธ Render | Convert scene to image |
๐ Code Execution | Execute custom Python code |
Supported Platforms
โ ๏ธ Important Warnings
๐งช Experimental Project
This project is in active development. You may encounter:
๐ Unexpected bugs and crashes
๐ API changes
๐ฆ Missing features
๐จ Material/color issues (check viewport mode!)
Our recommendation: Save and backup your important Blender projects!
๐ Installation
Requirements
Blender 3.0 or higher (5.0+ tested)
Python 3.10 or higher
Claude Desktop or LM Studio (MCP supported)
Step 1: Download the Project
git clone https://github.com/Akerdogmus/chat-with-blender.git
cd chat-with-blenderStep 2: Install Python Dependencies
pip install mcp httpxStep 3: Install the Blender Addon
Open Blender
Go to Edit โ Preferences โ Add-ons menu
Click the "Install..." button in the top right
Select the downloaded
addon.pyfileCheck the "Interface: Blender MCP" checkbox
Step 4: MCP Client Configuration
For Claude Desktop
Open the config file:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"blender": {
"command": "python",
"args": ["C:/path/to/chat-with-blender/run_server.py"]
}
}
}โ ๏ธ Important: Replace
C:/path/to/chat-with-blender/with your own project path.
Restart Claude Desktop.
For LM Studio
Add the same configuration to LM Studio's
mcp.jsonfile:
{
"mcpServers": {
"blender": {
"command": "python",
"args": ["C:/path/to/chat-with-blender/run_server.py"]
}
}
}Restart LM Studio.
๐ก Usage
1. Start the Server in Blender
Open Blender
Go to View3D โ Sidebar (N key) โ BlenderMCP tab
Click the "Start Server" button
You should see Status: Running
2. Start Chatting with AI
Start a new chat in Claude Desktop or LM Studio and give Blender commands:
Example Prompts
"Add a red metallic cube to the scene"
"Create a blue sphere next to the cube and move it 2 units to the right"
"Clear the scene and set up a studio:
ground, 3-point lighting, and camera"
"Create an emissive green torus, make it glow"
"Give me a list of all objects in the scene"
"Render the scene at 1920x1080 resolution"๐ก Tip: To see materials, set the viewport shading mode to Material Preview or Rendered in Blender (Z key).
๐ ๏ธ MCP Tools
Tool | Description |
| Get scene information (objects, frame info) |
| Get details of a specific object |
| Create new primitive object (cube, sphere, cylinder...) |
| Create 3D text |
| Modify object position/rotation/scale |
| Delete object |
| Duplicate object |
| Create and apply material |
| Add light (POINT, SUN, SPOT, AREA) |
| Add camera |
| Clear the scene |
| Set background color |
| Execute custom Python code |
| Render image |
๐ Security
โ ๏ธ Security Warning: This MCP server includes the
execute_blender_codetool. This tool allows the AI to execute arbitrary Python code within Blender.
Security Recommendations
Use trusted AI models - Only use with AI assistants you trust
Localhost connection - Server runs on
localhostby defaultBackup your important files - Save your Blender projects regularly
Code review - Review the code that AI will execute beforehand
Network Security
Server listens only on
localhost:9876External access is disabled by default
No firewall rules needed
๐ Known Issues and Limitations
This is a vibe coding project. The following known issues/limitations exist:
Issue | Status | Workaround |
Materials not visible in viewport | Expected behavior | Switch to Material Preview mode with Z key |
Blender 5.0+ node compatibility issues | Fixed | Use latest addon.py |
Performance for complex models | Known | Start with simple objects |
If you find a new bug, please open an Issue!
๐ Troubleshooting
"Could not connect to Blender"
โ Make sure the addon is active in Blender
โ Click "Start Server" in the BlenderMCP panel
โ Check that port 9876 is not being used by another application
"ModuleNotFoundError: No module named 'blender_mcp'"
โ Make sure you're using the full path to the
run_server.pyfileโ Install Python dependencies:
pip install mcp httpx
Materials not showing
โ Set viewport shading mode to Material Preview or Rendered (Z key)
Claude Desktop not showing tools
โ Check the path in the config file
โ Completely close and restart Claude Desktop
๐ Project Structure
chat-with-blender/
โโโ addon.py # Blender addon (socket server)
โโโ run_server.py # MCP server launcher
โโโ pyproject.toml # Python project configuration
โโโ README.md # This file
โโโ LICENSE # MIT License
โโโ screenshots/ # Screenshots
โโโ src/
โโโ blender_mcp/
โโโ __init__.py
โโโ server.py # MCP server implementation๐ค Contributing
This is a vibe coding project - your contributions will make it more stable!
Fork the project
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push the branch (
git push origin feature/amazing-feature)Open a Pull Request
We especially need:
๐ Bug fixes
๐ Documentation improvements
โจ New MCP tools
๐งช Test coverage
๐ License
This project is licensed under the MIT License. See the LICENSE file for details.
๐ Acknowledgments
Anthropic - For the MCP protocol
Blender Foundation - For the amazing 3D software
Google DeepMind Gemini - For vibe coding assistance โจ
All contributors
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Akerdogmus/chat-with-blender'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
