Blender MCP Server
Connects AI assistants to Blender for controlling 3D modeling operations through natural language, enabling creation of objects, applying textures and materials, scene management, and transformations with optimized token efficiency.
README
Blender MCP Server 🎨🤖
A highly optimized Model Context Protocol (MCP) server that connects AI Assistants (like Claude, Gemini, etc.) directly to Blender.
This allows you to control Blender using natural language to create objects, apply textures, manage scenes, and more, with a focus on token efficiency and speed.
✨ Features
- 🚀 Optimized for AI: Uses compact JSON and output truncation to save 75%+ tokens compared to raw scripting.
- 🔌 Direct Integration: Works with any MCP-compliant client (Cursor, Windsurf, etc.).
- 🛠️ Powerful Tools:
create_primitive: Create Cubes, Spheres, Cones, etc.transform_object: Move, Rotate, Scale.apply_texture: Auto-Join objects, Smart UV Project, and apply textures in one go.apply_material_preset: Apply Gold, Glass, Plastic, etc. instantly.scatter_objects: Randomly distribute objects.get_scene_info: See what's in your scene (with filtering).
- UI Control: Dedicated panel in Blender to Start/Stop the server.
📦 Installation Guide
1. Prerequisites
- Blender 3.0+ installed.
- Python 3.10+ installed on your system.
- Git (optional, for cloning).
2. Setup the Project
Clone this repository or download the files:
git clone https://github.com/yourusername/blender-mcp.git
cd blender-mcp
3. Install Python Dependencies
Option A: Local Python (Simple)
Install the mcp library required for the server:
pip install mcp
Option B: Using Docker (Clean & Isolated) 🐳 If you prefer not to install Python dependencies locally, you can use Docker.
- Build the Image:
docker build -t blender-mcp . - Update MCP Config:
Use the
dockercommand instead ofpythonin your IDE config (see Configuration section below).
4. Install the Blender Addon
- Open Blender.
- Go to Edit > Preferences > Add-ons.
- Click Install... at the top right.
- Navigate to this folder and select
addon.py. - Click Install Add-on.
- ✅ Check the box next to Interface: MCP Connector to enable it.
⚙️ Configuration (AI IDE)
You need to tell your AI IDE (like Cursor or Windsurf) about this MCP server.
Option A: Local Python Config
{
"mcpServers": {
"blender-mcp": {
"command": "python",
"args": [
"ABSOLUTE/PATH/TO/blender-mcp/server.py"
],
"env": {
"BLENDER_HOST": "127.0.0.1",
"BLENDER_PORT": "9876"
}
}
}
}
Option B: Docker Config
If you built the Docker image, use this configuration:
{
"mcpServers": {
"blender-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--env", "BLENDER_HOST=host.docker.internal",
"blender-mcp"
]
}
}
}
Note: host.docker.internal allows the Docker container to talk to Blender running on your host machine.
Replace ABSOLUTE/PATH/TO/... with the actual full path to where you saved this folder.
🚀 Usage
1. Start the Server in Blender
- Open the 3D Viewport in Blender.
- Press N to open the Sidebar.
- Click the MCP tab.
- Click Start Server ▶️.
- Status should change to "Connected".
2. Connect & Prompt!
Restart your AI IDE to load the new MCP config. Now you can ask things like:
"Create a low poly tree with a brown cylinder trunk and a green cone top."
"Scatter 50 gold cubes in a radius of 10 meters."
"Clear the scene and make a red monkey head."
"Apply this texture 'C:/Textures/Wood.jpg' to the Cube."
🛠️ Troubleshooting
- Connection Refused?
- Make sure you clicked Start Server in the Blender MCP panel.
- Check if the port
9876is blocked by a firewall.
- "Object not found" error?
- Ensure the object name matches exactly (case-sensitive). Use
get_scene_infoto check names.
- Ensure the object name matches exactly (case-sensitive). Use
- Textures not showing?
- Make sure you are in Material Preview or Rendered mode in Blender (Press
Z).
- Make sure you are in Material Preview or Rendered mode in Blender (Press
📜 License
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.