blender-open-mcp
by dhakalnirajan·★ 97·综合分 47
一个通过Ollama连接本地AI模型与Blender 3D的MCP服务器,实现自然语言控制。
概述
blender-open-mcp是一个MCP协议实现,使用本地AI模型实现Blender 3D的自然语言控制。系统由三部分组成:通过HTTP或stdio暴露工具的FastMCP服务器、在Blender内部作为TCP套接字服务器运行的Blender插件,以及用于本地AI模型推理的Ollama集成。这种架构允许用户通过Claude或Cursor等MCP客户端使用自然语言提示控制Blender,连接3D工作流程与AI辅助。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您希望将本地AI模型集成到Blender工作流中实现3D创作的自然语言控制,且不依赖云服务时,选择此MCP服务器。
什么时候不要选它
如果您需要基于云的AI模型,要求更高级的渲染功能,或者偏好Maya等具有内置AI功能的商业3D软件,请避免使用此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具blender_get_scene_infoGet full scene summary including objects, camera, and render settings
blender_create_objectAdd a primitive mesh like cube, sphere, or cylinder to the scene
blender_modify_objectChange an object's location, rotation, scale, or visibility
blender_delete_objectRemove an object from the scene
blender_set_materialCreate and assign a Principled BSDF material to an object
blender_render_imageRender the current scene to a file
blender_ai_promptSend a natural language prompt to Ollama for AI assistance
blender_download_polyhaven_assetDownload and import an asset from PolyHaven
blender_set_textureApply a downloaded PolyHaven texture to an object
blender_get_ollama_modelsList available local Ollama models
blender_set_ollama_modelSwitch the active Ollama model
blender_execute_codeRun arbitrary Python/bpy code in Blender
可对比工具
安装
安装
先决条件
- Blender 3.0+
- Python 3.10+
- Ollama
- uv
步骤
- 克隆并安装:
git clone https://github.com/dhakalnirajan/blender-open-mcp.git
cd blender-open-mcp
uv venv
source .venv/bin/activate # Linux / macOS
# .venv\Scripts\activate # Windows
uv pip install -e .- 安装Blender插件:
- 打开Blender
- 编辑 → 首选项 → 插件 → 安装...
- 从仓库中选择
addon.py - 启用"Blender MCP"
- 拉取Ollama模型:
ollama pull llama3.2Claude Desktop / Cursor集成
在mcp.json中添加:
{
"mcpServers": {
"blender-open-mcp": {
"command": "blender-mcp",
"args": ["--transport", "stdio"]
}
}
}FAQ
- 如何连接到Blender插件?
- 打开Blender → N侧边栏 → Blender MCP → 点击"启动MCP服务器"(默认端口:9876)
- Ollama支持哪些模型?
- 任何Ollama中可用的模型,包括llama3.2、Gemma3等。使用'blender_get_ollama_models'查看可用模型。
blender-open-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。