Blender MCP Plus
Provides tools for controlling Blender through its official MCP add-on, including executing bpy code, running background Blender jobs, inspecting scenes and blend files, searching Blender Python API and manual documentation, capturing screenshots/rendering views, and navigating viewport objects and tabs.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Blender MCP Plus
一个 MCP 服务器,同时拥有官方 Blender Lab 的工具集和 Poly Haven 资产库。
无需在多个 MCP 之间来回切换,也不会出现两个服务抢 localhost:9876 端口的问题。
基于官方 blender_mcp(GPL-3.0-or-later)扩展,
Blender 侧使用官方插件,本仓库只增强 MCP 服务器。
One MCP server for Blender: the official Blender Lab tool set plus a Poly Haven asset library. It talks to Blender's official
MCPadd-on, so you only need one add-on and one MCP client entry. Tested with Blender 5.2.2 LTS.
特性
28 个工具:任意
bpy代码执行、后台 Blender 执行、场景/工程体检、Blender Python API 与用户手册全文检索、截图/渲染、视口跳转。Poly Haven 资产库(新增,免费 CC0,无需 API key):
search_assets:搜索 500+ 模型、HDRI、贴图import_asset:模型按真实尺寸缩放导入;HDRI 设为世界环境光;贴图建材质赋给对象
一个插件、一个 MCP:Blender 里只需启用官方
MCP插件,客户端只配一条服务器。可选的
.mcpb一键安装包:支持 MCP Bundle 的客户端可直接导入。可发布:自带 PyPI / GitHub Release 一键发布脚本和 GitHub Actions 工作流。
Related MCP server: Blender Open MCP
架构
MCP 客户端 (Claude Desktop / Cursor / DSH / ...)
│ stdio
▼
blender-mcp-plus (本仓库,Python MCP 服务器)
│ TCP localhost:9876
▼
官方 Blender 插件 "MCP"(Blender 5.1+)
│
▼
Blender 5.x / bpy前置条件
依赖 | 要求 |
Blender | 5.1 或更新(官方插件要求;已在 5.2.2 LTS 实测) |
官方 MCP 插件 |
|
Python | 3.10+(用 |
Windows: | |
MCP 客户端 | Claude Desktop / Cursor / DSH / 任意支持 stdio MCP 的客户端 |
安装
1. 安装 Blender 官方插件
方式 A:脚本一键安装(推荐)
# 自动查找 Blender;也可以显式指定路径
powershell -ExecutionPolicy Bypass -File scripts\install_blender_addon.ps1 `
-BlenderExe "E:\Blender 5.2\blender.exe"脚本会从 Blender Lab 官方 release 下载 mcp-1.0.3.zip 并用 Blender CLI 安装、启用。
方式 B:手动安装
下载 https://projects.blender.org/lab/blender_mcp/releases/download/v1.0.3/mcp-1.0.3.zip
打开 Blender → 编辑 → 偏好设置 → 插件 → 右上角下拉 → 从磁盘安装
搜索
MCP,勾选启用确认偏好设置 → 系统 → 允许在线访问(插件需要)
3D 视图按
N可看到MCP面板;插件默认在 Blender 启动后自动监听localhost:9876
2. 安装并运行 MCP 服务器
发布到 PyPI 后(最简单):
uvx blender-mcp-plus从 GitHub 直接运行(无需发布):
uvx --from git+https://github.com/lusilong/blender-mcp-plus blender-mcp-plus本地 wheel:
uv pip install dist\blender_mcp_plus-1.0.3-py3-none-any.whlMCP Bundle(.mcpb): 在 dist\ 里找到 blender-mcp-plus-1.0.3.mcpb,
在支持 MCP Bundle 的客户端里双击/导入即可。
3. 配置 MCP 客户端
Claude Desktop(claude_desktop_config.json)或 Cursor:
{
"mcpServers": {
"blender": {
"command": "uvx",
"args": ["blender-mcp-plus"]
}
}
}Windows 上若客户端找不到 uvx(GUI 启动不继承 PATH),使用:
{
"mcpServers": {
"blender": {
"command": "cmd",
"args": ["/c", "uvx", "blender-mcp-plus"]
}
}
}DeepSeek Harness(~/.dsh/profiles/desktop/cordis.patch.yml)追加:
- id: mcp-blender
name: "@deepseek-ai/dsh-mcp-client"
config:
serverName: blender
transport: stdio
command: "uvx"
args: ["blender-mcp-plus"]
env:
BLENDER_PATH: "E:\\Blender 5.2\\blender.exe"
BLENDER_PATH只用于*_for_cli系列(后台 Blender)。不配置也能用其余工具。
4. 开始使用
保持 Blender 打开,对 AI 说:
「在 Blender 里建一个低多边形咖啡杯加托盘,青绿陶瓷材质,三点布光,渲染预览。」
「搜索 Poly Haven 的椅子,把 ArmChair_01 导入并缩放到 1.2 米。」
「用 HDRI studio_small_03 做环境光,强度 1.2。」
「给选中的椅子贴上 Poly Haven 的木纹贴图,渲染 1200x900 的 EEVEE 预览。」
「把刚才的杯子改成磨砂金属赤陶色,杯身拉高 18%,再渲染对比。」
工具清单(28)
官方 Blender Lab 工具(26)
类别 | 工具 |
代码执行 |
|
工程体检 |
|
场景读取 |
|
文档检索 |
|
观察 |
|
视图 |
|
本仓库新增(2)
工具 | 参数 | 说明 |
|
| 搜索 Poly Haven 资产,按下载量排序 |
|
| 下载并导入模型 / HDRI / 贴图 |
与官方版的关系
本仓库是官方 blender_mcp 的衍生版本,
保留其全部工具,新增 Poly Haven 资产工具,并修复了官方 *_for_cli 工具在
“MCP 服务器本身使用管道 stdio”时可能卡满 120 秒超时的问题(改为临时文件承接子进程输出)。
Blender 插件没有修改,仍是官方版本。
安全
execute_blender_code及其 CLI 版本会以你的用户权限执行任意 Python。执行前保存工程; 不要对不可信的.blend运行。官方插件 socket 只监听 localhost,无鉴权、无加密,禁止端口转发。
第三方资产/场景的元数据可能包含提示注入内容,处理不可信文件时使用副本。
官方文档也明确建议在虚拟机或无敏感数据的机器上使用此类 MCP。
开发与发布
# 安装开发依赖
uv sync --extra dev
# 构建 wheel / sdist
uv build
# 构建 .mcpb
python scripts/build_mcpb.py
# 一键发布(创建 GitHub 仓库 + push + tag + Release + 可选 PyPI)
$env:UV_PUBLISH_TOKEN = "pypi-..." # 需要发布 PyPI 时
powershell -ExecutionPolicy Bypass -File scripts\publish.ps1 -CreateRepo -PyPIscripts\publish.ps1 会:
从
pyproject.toml读取版本号,清理并重新构建dist/构建
.mcpbgit init(如需要)、提交、打 tagv<version>用
gh创建/推送仓库(-CreateRepo)并创建 GitHub Release,上传 wheel/sdist/.mcpb若设置了
UV_PUBLISH_TOKEN且带-PyPI,执行uv publish
GitHub Actions 也提供了 ci.yml 和 publish.yml(打 tag 自动发布,支持 PyPI Trusted Publishing)。
目录结构
blender-mcp-plus/
├── blender_mcp_plus/ # Python 包(MCP 服务器)
│ ├── tools/ # 自动发现的工具模块
│ ├── tools_helpers/ # socket 桥、CLI、文档检索
│ └── data/ # 内置 API 参考 + 用户手册(RST)
├── scripts/
│ ├── install_blender_addon.ps1
│ ├── build_mcpb.py
│ └── publish.ps1
├── tests/
├── manifest.json # MCPB manifest
├── pyproject.toml
├── LICENSE # GPL-3.0
└── NOTICE致谢与许可
上游:Blender Lab / blender_mcp,GPL-3.0-or-later
资产:Poly Haven,CC0
本仓库的修改同样以 GPL-3.0-or-later 发布,详见
LICENSE与NOTICE。
Related MCP Connectors
Blender-as-a-service for agents: search 3D assets, run Blender Python, or brief the studio agent.
Connect your AI assistant to Blender for 3D modeling, Geometry Nodes, materials, lighting, animation, rendering and export. Inspect real scenes and viewport images, refine the result and restore checkpoints. OAuth connects your chat to Blender Bridge Desktop on an online Windows 10/11 x64 computer running Blender 4.2+. The chat can run on another device. Requires an active Blender Bridge account; 7-day trial available. AI model access is separate.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Cloud Blender for AI agents: build, inspect, render and animate 3D scenes over remote MCP. Keep editable .blend projects and export GLB or STL. Make your first 3D asset free—30 compute minutes per UTC month, no credit card. First 100 eligible Free account owners to use all 30 minutes in one UTC month by December 31, 2026 UTC receive one calendar month of beta free: 4 compute hours per UTC month, 2 concurrent workers per deployment, 2 deployments, 2048×2048 renders at up to 256 samples, and 10 GiB storage. Existing usage counts toward the 4-hour allowance. Limited to 100 rewards; expires January 1, 2027 00:00 UTC. Free resumes afterward without an automatic charge. Examples, eligibility and terms: https://sceneplane.online/launch?utm_source=glama&utm_medium=directory&utm_campaign=first100
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to control a live Blender session through MCP tools for scene and object manipulation, rendering, PolyHaven asset search/download/texturing, and guided scene workflows, while allowing runtime switching between local or OpenAI-compatible LLM providers.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to control a live Blender session, including scene and object operations, rendering, and PolyHaven asset workflows. Supports provider-agnostic LLM backends that can be switched at runtime through MCP tools.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to drive a live Blender session over MCP — inspecting and creating scene objects, applying materials, rendering, executing code, and fetching PolyHaven assets. It also exposes prompt, provider, and model tools backed by a provider-agnostic LLM layer (Ollama, LM Studio, llama.cpp, OpenAI-compatible, Azure) that can be switched at runtime.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to inspect and control a live Blender session through MCP tools that create, modify, and delete objects, apply materials, render images, execute Python, and pull PolyHaven assets over a local TCP add-on. It also exposes a provider-agnostic LLM layer that can be pointed at Ollama, LM Studio, llama.cpp, OpenAI-compatible, or Azure endpoints and switched at runtime.-