MCP server integration for AI-assisted Blender automation
Project description
Blender MCP
English
MCP server integration for AI-assisted Blender automation.
Layered Tool Architecture
Blender MCP uses a four-layer tool architecture with 26 specialized tools organized by intent:
| Layer | Tool Count | Purpose |
|---|---|---|
| Perception | 11 tools | Read Blender state deeply with controllable granularity |
| Declarative Write | 3 tools | Node editor (6 contexts) + Animation + VSE Sequencer |
| Imperative Write | 9 tools | Object/Material/Modifier/UV/Constraint/Physics/Scene |
| Fallback | 3 tools | execute_operator + execute_script + import_export |
Perception Layer (11 tools):
| Tool | Description |
|---|---|
blender_get_objects |
List/scene objects with filters |
blender_get_object_data |
Deep object data (12 include options) |
blender_get_node_tree |
Read any node tree (6 contexts) |
blender_get_animation_data |
Keyframes/NLA/drivers/shape keys |
blender_get_materials |
Material asset list |
blender_get_scene |
Scene-level global info |
blender_get_collections |
Collection hierarchy tree |
blender_get_armature_data |
Armature/bone hierarchy/constraints/poses |
blender_get_images |
Texture/image asset list |
blender_capture_viewport |
Viewport screenshot |
blender_get_selection |
Current selection/mode/active object |
Declarative Write Layer (3 tools):
| Tool | Description |
|---|---|
blender_edit_nodes |
Edit any node tree (add/remove/connect/disconnect/set_value) ⭐ Core |
blender_edit_animation |
Edit animation (keyframe/NLA/driver/shape_key/frame_range) |
blender_edit_sequencer |
Edit VSE video sequence (strip/transition/effect) |
Imperative Write Layer (9 tools):
| Tool | Description |
|---|---|
blender_create_object |
Create scene objects (MESH/LIGHT/CAMERA/CURVE/EMPTY/ARMATURE/TEXT) |
blender_modify_object |
Transform/parent/visibility/rename/delete |
blender_manage_material |
Material create/PBR edit/assign/duplicate/delete |
blender_manage_modifier |
Modifier add/configure/apply/delete/reorder |
blender_manage_collection |
Collection create/delete/object link/hierarchy/visibility |
blender_manage_uv |
UV unwrap/seam/pack/layer management |
blender_manage_constraints |
Object/bone constraint add/configure/delete |
blender_manage_physics |
Physics simulation add/configure/bake |
blender_setup_scene |
Render engine/world environment/timeline config |
Fallback Layer (3 tools):
| Tool | Description |
|---|---|
blender_execute_operator |
Execute any bpy.ops.* operator |
blender_execute_script |
Execute arbitrary Python code (⚠️ use with caution) |
blender_import_export |
Import/export asset files (FBX/OBJ/GLTF/USD/Alembic/STL/etc.) |
Note: All tools use
blender_prefix to avoid conflicts in multi-server environments. Tool names follow MCP specification with underscores. Payload wrapper is removed - all parameters are exposed directly as top-level inputSchema properties.
Tool Naming: All tools use the blender_ prefix to avoid conflicts in multi-server environments.
Quick Start
New to Blender MCP? See the 5-Minute Quick Start Guide for step-by-step setup instructions.
// Create a cube
{
"name": "MyCube",
"object_type": "MESH",
"primitive": "cube",
"size": 2.0
}
// Move it
{
"name": "MyCube",
"location": [1, 2, 3]
}
// Add a subdivision modifier
{
"action": "add",
"object_name": "MyCube",
"modifier_name": "Subdivision",
"modifier_type": "SUBSURF",
"settings": {"levels": 2}
}
// Read object data
{
"name": "MyCube",
"include": ["summary", "modifiers"]
}
// Capture viewport
{
"shading": "SOLID",
"format": "PNG"
}
Installation
Blender Addon
-
Copy or symlink
src/blender_mcp_addon/to your Blender addons folder:- Windows:
%APPDATA%\Blender\<version>\scripts\addons\blender_mcp_addon - macOS:
~/Library/Application Support/Blender/<version>/scripts/addons/blender_mcp_addon - Linux:
~/.config/blender/<version>/scripts/addons/blender_mcp_addon
- Windows:
-
In Blender: Edit > Preferences > Add-ons > Search "Blender MCP" > Enable
-
Configure and click "Start Server"
MCP Server
# Recommended: one-line install & run
uvx ageless-blender-mcp
# Or install globally
pip install ageless-blender-mcp
blender-mcp
# Or from source
uv sync
python -m blender_mcp.mcp_protocol
Supported MCP Clients
Click to expand client list
| Client | Documentation |
|---|---|
| Amp | docs/clients/amp.md |
| Antigravity | docs/clients/antigravity.md |
| Claude Code | docs/clients/claude-code.md |
| Cline | docs/clients/cline.md |
| Codex | docs/clients/codex.md |
| Copilot CLI | docs/clients/copilot-cli.md |
| Copilot / VS Code | docs/clients/vs-code-copilot.md |
| Cursor | docs/clients/cursor.md |
| Factory CLI | docs/clients/factory-cli.md |
| Gemini CLI | docs/clients/gemini-cli.md |
| Gemini Code Assist | docs/clients/gemini-code-assist.md |
| JetBrains AI Assistant | docs/clients/jetbrains.md |
| Kiro | docs/clients/kiro.md |
| OpenCode | docs/clients/opencode.md |
| Qoder | docs/clients/qoder.md |
| Visual Studio | docs/clients/visual-studio.md |
| Warp | docs/clients/warp.md |
| Windsurf | docs/clients/windsurf.md |
Version Compatibility
| Blender Version | Status |
|---|---|
| 4.2 LTS | ✅ Supported |
| 4.5 LTS | ✅ Supported |
| 5.0+ | ✅ Supported |
| < 4.2 | ❌ Not Supported |
See docs/versioning/support-matrix.md for details.
中文
用于 AI 辅助 Blender 自动化的 MCP 服务器集成。
分层工具架构
Blender MCP 采用四层工具架构,26 个专用工具按意图组织:
| 层级 | 工具数量 | 用途 |
|---|---|---|
| 感知层 | 11 个工具 | 以可控粒度深度读取 Blender 状态 |
| 声明式写入层 | 3 个工具 | 节点编辑器(6种上下文)+ 动画 + VSE 序列编辑器 |
| 命令式写入层 | 9 个工具 | 对象/材质/修改器/UV/约束/物理/场景 |
| 后备层 | 3 个工具 | execute_operator + execute_script + import_export |
感知层(11 个工具):
| 工具 | 描述 |
|---|---|
blender_get_objects |
列出/筛选场景对象 |
blender_get_object_data |
单对象深度数据(12 种 include 选项) |
blender_get_node_tree |
读取任意节点树(6 种上下文) |
blender_get_animation_data |
关键帧/NLA/驱动器/形态键 |
blender_get_materials |
材质资产列表 |
blender_get_scene |
场景级全局信息 |
blender_get_collections |
集合层级树 |
blender_get_armature_data |
骨架/骨骼层级/约束/姿态 |
blender_get_images |
纹理/图片资产列表 |
blender_capture_viewport |
视口截图 |
blender_get_selection |
当前选择/模式/活动对象 |
声明式写入层(3 个工具):
| 工具 | 描述 |
|---|---|
blender_edit_nodes |
编辑任意节点树(添加/移除/连接/断开/设置值)⭐ 核心 |
blender_edit_animation |
编辑动画(关键帧/NLA/驱动器/形态键/帧范围) |
blender_edit_sequencer |
编辑 VSE 视频序列(片段/转场/特效) |
命令式写入层(9 个工具):
| 工具 | 描述 |
|---|---|
blender_create_object |
创建场景对象(MESH/LIGHT/CAMERA/CURVE/EMPTY/ARMATURE/TEXT) |
blender_modify_object |
变换/父子/可见性/重命名/删除 |
blender_manage_material |
材质创建/PBR 编辑/赋予/复制/删除 |
blender_manage_modifier |
修改器添加/配置/应用/删除/排序 |
blender_manage_collection |
集合创建/删除/对象链接/层级/可见性 |
blender_manage_uv |
UV 展开/缝合线/打包/图层管理 |
blender_manage_constraints |
对象/骨骼约束添加/配置/删除 |
blender_manage_physics |
物理模拟添加/配置/烘焙 |
blender_setup_scene |
渲染引擎/世界环境/时间线配置 |
后备层(3 个工具):
| 工具 | 描述 |
|---|---|
blender_execute_operator |
执行任意 bpy.ops.* 操作符 |
blender_execute_script |
执行任意 Python 代码(⚠️ 谨慎使用) |
blender_import_export |
导入/导出资产文件(FBX/OBJ/GLTF/USD/Alembic/STL 等) |
注意: 所有工具使用
blender_前缀以避免多服务器环境下的命名冲突。工具名称符合 MCP 规范使用下划线。Payload 包装层已移除 - 所有参数直接暴露为顶层 inputSchema 属性。
工具命名: 所有工具使用 blender_ 前缀以避免多服务器环境下的命名冲突。
快速开始
初次使用? 请参阅 5 分钟快速开始指南 获取详细安装步骤。
// 创建一个立方体
{
"name": "MyCube",
"object_type": "MESH",
"primitive": "cube",
"size": 2.0
}
// 移动它
{
"name": "MyCube",
"location": [1, 2, 3]
}
// 添加细分修改器
{
"action": "add",
"object_name": "MyCube",
"modifier_name": "Subdivision",
"modifier_type": "SUBSURF",
"settings": {"levels": 2}
}
// 读取对象数据
{
"name": "MyCube",
"include": ["summary", "modifiers"]
}
// 捕获视口
{
"shading": "SOLID",
"format": "PNG"
}
安装
Blender 插件
-
将
src/blender_mcp_addon/复制或符号链接到 Blender 插件目录:- Windows:
%APPDATA%\Blender\<版本>\scripts\addons\blender_mcp_addon - macOS:
~/Library/Application Support/Blender/<版本>/scripts/addons/blender_mcp_addon - Linux:
~/.config/blender/<版本>/scripts/addons/blender_mcp_addon
- Windows:
-
在 Blender 中:编辑 > 偏好设置 > 插件 > 搜索 "Blender MCP" > 启用
-
配置后点击 "启动服务器"
MCP 服务器
# 推荐:一行命令安装并运行
uvx ageless-blender-mcp
# 或全局安装
pip install ageless-blender-mcp
blender-mcp
# 或从源码
uv sync
python -m blender_mcp.mcp_protocol
支持的 MCP 客户端
点击展开客户端列表
| 客户端 | 文档 |
|---|---|
| Amp | docs/clients/amp.md |
| Antigravity | docs/clients/antigravity.md |
| Claude Code | docs/clients/claude-code.md |
| Cline | docs/clients/cline.md |
| Codex | docs/clients/codex.md |
| Copilot CLI | docs/clients/copilot-cli.md |
| Copilot / VS Code | docs/clients/vs-code-copilot.md |
| Cursor | docs/clients/cursor.md |
| Factory CLI | docs/clients/factory-cli.md |
| Gemini CLI | docs/clients/gemini-cli.md |
| Gemini Code Assist | docs/clients/gemini-code-assist.md |
| JetBrains AI 助手 | docs/clients/jetbrains.md |
| Kiro | docs/clients/kiro.md |
| OpenCode | docs/clients/opencode.md |
| Qoder | docs/clients/qoder.md |
| Visual Studio | docs/clients/visual-studio.md |
| Warp | docs/clients/warp.md |
| Windsurf | docs/clients/windsurf.md |
版本兼容性
| Blender 版本 | 状态 |
|---|---|
| 4.2 LTS | ✅ 支持 |
| 4.5 LTS | ✅ 支持 |
| 5.0+ | ✅ 支持 |
| < 4.2 | ❌ 不支持 |
详见 docs/versioning/support-matrix.md。
Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
Star History
License
MIT License - see LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ageless_blender_mcp-1.0.0.tar.gz.
File metadata
- Download URL: ageless_blender_mcp-1.0.0.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90aca1c2ca6a964d592e649ed36b992102e11f6bec61ba8d8d99b46fa2508cf8
|
|
| MD5 |
1acd994a90515b4da16345d8c4ae0c43
|
|
| BLAKE2b-256 |
838ed0f0469b47ea1f5c19f39fd2a42c56b1ec0641f9507f27e8ed6edcd3b264
|
File details
Details for the file ageless_blender_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ageless_blender_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 39.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e1d7f3af1fb36b7a88447411b8fcf02c0f33030159e9d4e9c8152078c028a4d
|
|
| MD5 |
c1097a94b484562a3c8a5a68551e638c
|
|
| BLAKE2b-256 |
46cc6ea7aefc89ef9e595f09e8fc501391ae5f914d6fac88c99c892ffa45ee07
|