blender-meta-mcp
Provides tools to interact with a running Blender instance, enabling execution of bpy scripts, scene and object inspection, and 3D viewport PNG capture.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@blender-meta-mcp Add a cube at (0,0,0) and rename it 'MetaCube'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
blender-meta-mcp
轻量 Blender MCP:Cursor Agent 用 blender_exec 在已经打开的 Blender 里执行 bpy。心智模型和 ae-meta-mcp 的 ae_exec 一样。
Cursor Agent ──stdio MCP──▶ Node mcp/index ──HTTP :11588──▶ Addon HTTP 线程
│ 入队
▼
bpy.app.timers(主线程)
│ temp_override + exec
▼
Blender bpybpy 只能在主线程调用。HTTP 跑在 addon 的守护线程里,主线程定时器取出任务再执行。
工具
Tool | 作用 |
| 桥是否可达,以及 Blender 版本、文件、场景 |
| 执行任意 Python,最后一行表达式作为 JSON 结果 |
| 场景、模式、集合、最多 200 个物体 |
| 当前 3D 视口的 OpenGL PNG,不是完整渲染 |
Related MCP server: Bonsai MCP
环境
Blender 4.2 及以上(本仓库在 Blender 5.2.2 LTS / macOS 上跑过
npm run test:smoke)Node.js >= 18
安装
cd blender_meta_mcp
npm install
npm run install:addon在 Blender 里:Edit → Preferences → Add-ons → blender-meta-mcp,启用后保持 Blender 开着。侧栏 MCP 页会显示 127.0.0.1:11588。
接到 Cursor
npm run setup:cursor把输出贴进 ~/.cursor/mcp.json(或项目 .cursor/mcp.json),然后在 MCP 设置里关掉再打开 blender-meta-mcp。样例见 examples/cursor-mcp.json。
验收
npm run test:smoke会另开一个 Blender 窗口(配置写在临时目录,不动本机偏好),依次检查:
blender_health返回版本号,并且有 3D 视口blender_exec创建名为MCP Test的立方体blender_scene_info列表里有它撤消后立方体消失
语法错误返回 traceback,Blender 不退出
blender_viewport返回 PNG关掉这个 Blender 后,health 变为不可达
手测也可以:
import bpy
bpy.ops.mesh.primitive_cube_add(size=2, location=(0, 0, 1))
obj = bpy.context.active_object
obj.name = "MCP Test"
{"name": obj.name, "type": obj.type}写脚本
最后一行写成表达式。bpy 已经在作用域里。约束和对象模型见 skills/blender-bpy/SKILL.md。
目录
mcp/ Node stdio MCP(index、core、context、bridge-client)
addon/ Blender addon(HTTP 线程 + 主线程定时器)
scripts/ install-addon、setup-cursor、smoke-test
skills/ blender-bpy agent skill
examples/ cursor-mcp.json
docs/ DEV.md故障
现象 | 处理 |
health 连接被拒绝 | Blender 没开,或 addon 没启用;看侧栏 MCP 是否在监听 |
端口占用 | 改 addon 偏好里的端口,并设置 |
context is incorrect | 打开一个 3D 视口。桥会套第一个 |
主线程没取走任务 | Blender 正在渲染或处于模态操作;等它结束再调 |
界面卡住 |
|
安全
桥只绑定 127.0.0.1。blender_exec 是本机 Python,能改 Blender 文件,也能动这台机器上的文件。只在本机开发时开。
环境变量
变量 | 默认 | 说明 |
|
| MCP 连 addon 的地址 |
|
| addon 监听端口(优先于偏好) |
|
| 主线程取任务的等待秒数 |
| 启用 | 设为 |
| 自动查找 |
|
License
MIT
Available Tools
4 toolsblender_execA
Execute Python inside the running Blender (bpy), like ae_exec / cocosmcp_exec.
The snippet runs on Blender's main thread with a VIEW_3D temp_override when one exists.
bpy and mathutils are already in scope. The value of the last expression is returned as JSON
(Vector/Euler/Color/Matrix become lists; bpy data-blocks become {type, name}).
Assign result if the last line is not an expression. A top-level return is also accepted.
Prefer the data API over bpy.ops. Do not return raw bpy objects.
Successful calls push an undo step unless undo is false.
Example: bpy.context.scene.name
Inputs: code (required), undo.
blender_healthA
Check whether the Blender addon bridge is reachable. Returns Blender version, file, and scene.
Inputs: no named parameters.
blender_scene_infoA
Summarize the open Blender file: scene, mode, collections, and up to 200 objects.
Inputs: no named parameters.
blender_viewportA
Capture the current 3D viewport as a PNG (OpenGL, longest edge capped). Does not run a full render.
Inputs: maxEdge.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clear primary purpose: health checking, viewport capture, Python execution, and scene summary. Some minor overlap exists between health and scene_info since both report the current scene name, but descriptions make the distinction clear.
All tools use snake_case with the blender_ prefix, which creates a clear family. Naming blends nouns (blender_health, blender_viewport, blender_scene_info) with a verb (blender_exec), but the pattern remains predictable and readable.
Four tools is a reasonable size for a Blender bridge server. It is slightly lean, but the presence of blender_exec as a general-purpose escape hatch means the small count does not feel restrictive.
The tool surface is essentially complete because blender_exec allows arbitrary bpy Python execution, covering any missing operation. The dedicated health, viewport, and scene_info tools handle the most common inspection and interaction workflows without dead ends.
Maintenance
Related MCP Connectors
Blender-as-a-service for agents: search 3D assets, run Blender Python, or brief the studio agent.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
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.
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
- AlicenseNot gradedqualityDmaintenanceConnects MCP-compatible clients to a live Blender scene for AI-assisted 3D workflows, enabling inspection and controlled operations on objects, materials, cameras, lights, render settings, animation, UVs, Geometry Nodes, imports, exports, and Python execution.1MIT
- AlicenseAqualityDmaintenanceConnects MCP clients to a local Blender + Bonsai (BlenderBIM) session for scene inspection, IFC project querying, viewport screenshots, and executing Python code in Blender.816MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLM clients like Claude to control Blender remotely, including scene inspection, object creation/modification, and Python code execution, via a socket-based MCP server.-
- AlicenseCqualityBmaintenanceEnables secure, local automation of Blender through typed MCP tools for scene, modeling, material, animation, rendering, and file workflows via an authenticated loopback bridge.173MIT