
Text to 4D Worlds in Blender
概览
Connect Blender, CSM.ai and LLMs via the Model Context Protocol (MCP). This integration enables text and image based editing capabilities in Blender. https://github.com/user-attachments/assets/496c2c69-4779-4569-9be0-80b767702c4c BlenderMCP creates a bridge between Blender, CSM.ai and language models, allowing for powerful AI-assisted 3D modeling workflows. - 🔍 Ability to quickly search from public or private CSM.ai sessions. This allows interactive MCP based development. E.g. "Use CSM to get me a ghibli robot". Make sure you have some pre-generated robots on 3d.csm.ai or it will use some public session. - 🏃 For any humanoid like mesh in the scene, ability to animate given a text prompt (from a fixed library set). E.g. "use csm to animate the 'robot' mesh to dance". This assumes the name of the object is 'robot'. To do subsequent animations, clear the space and make sure the original object is replicated (script should do this automatically). - Upgrade pip - Use python3.
README
以下为原文 README 节选,完整内容请查看原文。
BlenderMCP x CSM.ai x LLM Agents (e.g. Cursor / Claude)
Connect Blender, CSM.ai and LLMs via the Model Context Protocol (MCP). This integration enables text and image based editing capabilities in Blender.
╭───────────╮ ╭───────────╮ ╭───────────╮
│ CSM.ai │◄━━━━━►│ Blender │◄━━━━━►│ MCP UI │
│ 3D Assets │ │ MCP │ │e.g.Cursor │
╰─────┬─────╯ ╰─────┬─────╯ ╰─────┬─────╯
│ │ │
▼ ▼ ▼
╭─────────────────────────────────────────────────╮
│ │
│ BLENDER ENGINE │
│ Creative 3D Modeling Environment │
│ │
╰─────────────────────────────────────────────────╯
https://github.com/user-attachments/assets/496c2c69-4779-4569-9be0-80b767702c4c
Overview
BlenderMCP creates a bridge between Blender, CSM.ai and language models, allowing for powerful AI-assisted 3D modeling workflows.
MCP Feature List ✨
-
🔍 Ability to quickly search from public or private CSM.ai sessions. This allows interactive MCP based development. E.g. “Use CSM to get me a ghibli robot”. Make sure you have some pre-generated robots on 3d.csm.ai or it will use some public session.
-
🏃 For any humanoid like mesh in the scene, ability to animate given a text prompt (from a fixed library set). E.g. “use csm to animate the ‘robot’ mesh to dance”. This assumes the name of the object is ‘robot’. To do subsequent animations, clear the space and make sure the original object is replicated (script should do this automatically).
Installation
-
Clone the repository:
git clone https://github.com/CommonSenseMachines/blender-mcp.git -
Navigate to the project directory:
cd blender-mcp -
Install the package:
pip install -e .
Troubleshooting
- Upgrade pip
- Use
python3.10 -m pip install -e .if you don’t normally use python
Cursor Configuration
- Open Cursor in the root directory of the cloned blender-mcp repo.
- Navigate to:
Cursor → Settings → Cursor Settings → MCP → Add a new server - Add the following MCP configuration (see .mcp.json file):
{
"mcpServers": {
"blender": {
"command": "python",
"args": [
"-m", "blender_mcp.server"
]
}
}
}
Troubleshooting
- Use Cursor from the blender-mcp directory
- Use
python3.10in mcp.json (or whatever your normal Blender Python version is)
Blender Configuration
- Launch Blender
- Navigate to
Edit → Preferences - Install the
addon.pyfile from this repository
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"blender": {
"command": "python",
"args": [
"-m", "blender_mcp.server"
]
}
}
}