Skip to main content
Glama

Blender MCP(Hardened)

面向 Codex 与其他 MCP 客户端的本地 Blender 自动化插件。它通过经过认证的回环 TCP 桥接连接正在运行的 Blender,并以类型化工具覆盖场景读取、建模、材质、动画、渲染和文件工作流。

English summary: A hardened, local-first Blender MCP integration with typed tools, authenticated loopback transport, constrained file access, and optional pre-mutation snapshots.

当前插件版本:0.1.0-hardened.2。Python 包使用等价的 PEP 440 版本 0.1.0+hardened.2。

为什么是 hardened 版本

本仓库以 kleer001/blender-mcp 固定提交 12feeb50b49cd5e8a3152b5f9ea71fb3b4558b1d 为基础,并保留上游 MIT 许可与归属。与该上游快照相比,本版本重点收紧了执行面:

  • 不注册任意 Python 执行和表达式求值工具,也不注册对应的 Blender 端处理器。

  • MCP 进程与 Blender 插件必须共享 BLENDER_MCP_BRIDGE_TOKEN,桥接端使用常量时间比较验证请求。

  • 导入、导出和保存类工具受 BLENDER_MCP_ALLOWED_ROOTS 约束;未配置时文件工具保持关闭。

  • 可在高影响修改前创建带时间戳的 .blend 快照。

  • 默认插件配置仅暴露读取和发现工具;写操作仍由客户端审批并按需开放。

  • FastMCP 约束升级为 >=3.2,<4,避开 3.2.0 之前已披露的安装命令注入问题,并移除旧锁文件中的易受攻击依赖链。

差异摘要见 HARDENING.md,许可与来源见 NOTICE.md。

Related MCP server: Blender MCP

架构与调用链

Codex / MCP client
  └─ stdio MCP:类型化工具、参数校验、审批
       └─ blendermcp(本机 Python 进程)
            └─ 127.0.0.1:9334 + shared token
                 └─ Blender add-on(UI/数据线程)
                      ├─ bpy 场景与数据 API
                      ├─ 允许根目录校验
                      └─ 可选修改前快照

组件职责、信任边界和失败模式详见 docs/architecture.md。

仓库结构

.
├── .codex-plugin/plugin.json     # Codex 插件元数据
├── .mcp.json                     # 不含本机路径和密钥的可移植 MCP 配置
├── blender_addon/                # 在 Blender 内运行的认证桥接插件
├── src/blendermcp/               # MCP 服务、连接层和类型化工具
├── skills/blender/SKILL.md       # Agent 使用策略与安全约束
├── scripts/                      # 安装、启动、发布前检查
├── tests/                        # 离线单元测试和可选真实 Blender 集成测试
├── docs/                         # 架构、路线图和上游文档
├── .env.example                  # 仅变量名;不含任何值
└── pyproject.toml                # Python 构建与依赖定义

系统要求

  • Python 3.10 或更高版本。

  • uv;发布配置用锁文件复现依赖。

  • Blender 4.0+;上游快照重点验证 Blender 4.2 LTS。

  • MCP 客户端和 Blender 在同一台可信设备上运行。桥接只接受回环地址。

安装

1. 获取并安装 Python 环境

git clone https://github.com/ZNaiGaomu/blender.git
Set-Location blender
./scripts/setup.ps1

如需同时复制 Blender 插件,请传入当前 Blender 版本的 add-ons 目录:

./scripts/setup.ps1 -BlenderAddonsDirectory "<your-blender-addons-directory>"

脚本默认不会覆盖已有插件;确认替换时显式加 -Force。

2. 配置本机私密信息

复制 .env.example 为 .env,只在本机填写:

  • BLENDER_MCP_BRIDGE_TOKEN:随机生成的共享密钥,并在 Blender 插件首选项中填写相同值。

  • BLENDER_MCP_ALLOWED_ROOTS:允许文件工具访问的一个或多个工作目录。

  • BLENDER_MCP_SNAPSHOT_DIR:可选的修改前快照目录。

.env 已被忽略,禁止提交真实值。建议用密码管理器生成至少 32 字节的随机令牌。

3. 启用 Blender 插件

在 Blender 的 Edit → Preferences → Add-ons 中启用安装后的插件,在 3D Viewport 的 MCP 面板中配置端口、共享令牌和可选快照目录,然后点击 Start Server。

4. 启动 MCP 服务

./scripts/start.ps1

无需 Blender 的协议测试可使用:

./scripts/start.ps1 -Mock

仓库根目录的 .mcp.json 使用 uv、相对工作目录和环境变量名,不包含作者机器路径。若客户端不以仓库根目录解析 cwd: ".",请在本机客户端配置中将工作目录指向克隆目录;不要把该本机覆盖文件提交到仓库。

工具 profile

发布配置采用最小权限的读取 profile,默认允许:连接探测、场景摘要、对象/材质/集合/相机列表,以及渲染设置读取。完整实现按场景、对象、网格、集合、材质、纹理、节点、灯光、相机、动画、绑定、物理、合成、渲染和 I/O 等域提供类型化工具。

需要写操作时,在本机 MCP 配置中仅增加本次任务所需的工具或域,并保留 default_tools_approval_mode: "writes"。不要通过改回任意代码执行工具来扩大权限。

权限与风险模型

  • 场景修改: 写工具会改变当前 .blend 状态;重要任务应先保存原文件并启用快照。

  • 文件系统: 允许根目录是边界,不应配置用户主目录或磁盘根目录。

  • 网络: 桥接必须保持 127.0.0.1;不要将端口暴露到局域网或公网。

  • 秘密: 共享令牌只放在本机环境和 Blender 首选项,不写入配置、日志、Issue 或截图。

  • 导入内容: 外部 Blender 文件和资产可能执行驱动器或包含不可信数据,应只处理可信来源。

安全报告流程见 SECURITY.md。

测试与验证

离线可运行的基础验证:

uv run --frozen python scripts/publication_check.py
uv run --frozen python -m pytest -q -m "not integration"
uv run --frozen python -m ruff check src blender_addon tests scripts

真实 Blender 集成测试需要用户主动启动 Blender 插件并配置临时工作目录。测试不会自动假定现有生产场景可被修改;执行方法见 tests/integration/。

CI 使用只读仓库权限,运行发布前隐私检查、静态检查、单元测试和依赖审计。发布包不包含 .env、浏览器状态、虚拟环境、构建缓存、用户场景或下载资产。

开发与贡献

提交前请阅读 CONTRIBUTING.md。保持类型化工具接口,新增文件工具必须复用允许根目录校验,新增高影响命令必须纳入快照策略,并为认证失败、路径越界和成功路径添加测试。

许可证与免责声明

本项目依据 MIT License 分发;上游版权声明保留在 LICENSE 和 NOTICE.md 中。Blender 是 Blender Foundation 的商标。本项目不是 Blender Foundation 的官方产品。

Available Tools

173 tools
add_boneC

Add a bone to an armature. Head and tail are 3D positions.

Inputs: head (required), name (required), tail (required), object (required), +1 more. Returns: object

add_bone_constraintC

Add a constraint to a pose bone. Types: IK, COPY_ROTATION, COPY_LOCATION, LIMIT_ROTATION.

Inputs: bone (required), type (required), object (required), name. Returns: object

add_constraintC

Add a constraint. Types: COPY_LOCATION, COPY_ROTATION, COPY_SCALE, TRACK_TO, DAMPED_TRACK, LOCKED_TRACK, LIMIT_LOCATION, LIMIT_ROTATION, LIMIT_SCALE, IK, CHILD_OF, FLOOR, FOLLOW_PATH, CLAMP_TO.

Inputs: type (required), object (required), bone, name. Returns: object

add_gp_layerC

Add a layer to a grease pencil object.

Inputs: name (required), object (required). Returns: object

add_gp_modifierB

Add a GP modifier. Types: GP_THICK, GP_NOISE, GP_SMOOTH, GP_SUBDIV, GP_TINT, GP_OPACITY.

Inputs: type (required), object (required), name. Returns: object

add_modifierB

Add a modifier to an object. Common types: SUBSURF, BOOLEAN, ARRAY, MIRROR, SOLIDIFY, BEVEL, DECIMATE, SMOOTH, SHRINKWRAP, ARMATURE, CURVE, LATTICE.

Inputs: type (required), object (required), name. Returns: object

add_node_group_instanceB

Add an instance of an existing node group to a material.

Inputs: material (required), group_name (required), location. Returns: object

add_particle_systemC

Add a particle system. Types: EMITTER, HAIR.

Inputs: object (required), name, type. Returns: object

add_physicsC

Add a physics simulation. Types: RIGID_BODY, CLOTH, FLUID, SOFT_BODY, COLLISION.

Inputs: type (required), object (required). Returns: object

apply_modifierA
Destructive

Apply a modifier, baking it into the mesh. Requires Object Mode. Irreversible.

Inputs: object (required), modifier (required). Returns: object

apply_sculpt_maskC

Convert sculpt mask to a vertex group.

Inputs: object (required), vertex_group. Returns: object

apply_transformA

Apply (freeze) the object's transforms to mesh data. Resets the applied transforms to identity.

Inputs: name (required), scale, location, rotation. Returns: object

assign_materialA

Assign a material to an object. If slot is specified, replaces that slot; otherwise appends a new slot.

Inputs: object (required), material (required), slot. Returns: object

assign_vertex_weightsC

Assign vertex weights to a bone's vertex group.

Inputs: bone (required), object (required), vertices (required), weight. Returns: object

bake_particlesC

Bake particle simulation.

Inputs: object (required), system. Returns: object

bake_physicsC

Bake physics simulation. Long-running operation.

Inputs: object. Returns: object

batch_deleteB
Destructive

Delete multiple objects at once. Confirm required.

Inputs: objects (required), confirm. Returns: object

batch_set_propertyB

Set the same property on multiple objects at once.

Inputs: value (required), objects (required), property (required). Returns: object

camera_look_atB

Point a camera at a target object or world location.

Inputs: camera (required), target, location. Returns: object

capture_viewportB
Read-only

Capture a screenshot of the 3D viewport to a file. Returns the file path.

Inputs: filepath. Returns: object

clear_animationA
Destructive

Remove all animation data (keyframes, actions) from an object. Irreversible.

Inputs: object (required). Returns: object

clear_parentB

Clear an object's parent, keeping its world transform.

Inputs: name (required). Returns: object

connect_comp_nodesC

Connect compositor nodes.

Inputs: to_node (required), to_input (required), from_node (required), from_output (required). Returns: object

connect_geonodesC

Connect nodes in a geometry node tree.

Inputs: object (required), to_node (required), modifier (required), to_input (required), +2 more. Returns: object

connect_shader_nodesC

Connect an output socket to an input socket. Sockets can be specified by name or index.

Inputs: to_node (required), material (required), to_input (required), from_node (required), +1 more. Returns: object

convert_to_meshA
Destructive

Convert a curve object to a mesh. Loses curve editability.

Inputs: object (required). Returns: object

copy_modifiersA

Copy all modifiers from source object to target object.

Inputs: source (required), target (required). Returns: object

create_armatureB

Create an armature with an initial bone.

Inputs: name, location. Returns: object

create_cameraB

Create a camera with specified focal length.

Inputs: name, location, focal_length. Returns: object

create_collectionC

Create a new collection, optionally under a parent collection.

Inputs: name (required), parent. Returns: object

create_comp_nodeC

Add a compositor node. Common types: CompositorNodeRLayers, CompositorNodeComposite, CompositorNodeViewer, CompositorNodeMixRGB, CompositorNodeBlur, CompositorNodeGlare, CompositorNodeColorBalance, CompositorNodeBrightContrast, CompositorNodeHueSat.

Inputs: type (required), name, location. Returns: object

create_curveC

Create a curve object. Types: BEZIER, NURBS, POLY (path).

Inputs: name, type, location. Returns: object

create_geonodeC

Add a node to a geometry node tree. Common types: GeometryNodeMeshGrid, GeometryNodeMeshCube, GeometryNodeSetPosition, GeometryNodeTransform, GeometryNodeJoinGeometry, GeometryNodeInstanceOnPoints, GeometryNodeDistributePointsOnFaces.

Inputs: type (required), object (required), modifier (required), name, +1 more. Returns: object

create_geonodes_modifierC

Add a geometry nodes modifier. Creates a new tree or uses an existing one.

Inputs: object (required), name, tree_name. Returns: object

create_gp_strokeC

Create a stroke from point list. Each point: {co: [x,y,z], pressure: float, strength: float}.

Inputs: layer (required), object (required), points (required), frame. Returns: object

create_grease_pencilC

Create a grease pencil object.

Inputs: name, location. Returns: object

create_hdri_worldC

Set up HDRI environment lighting from an image file.

Inputs: filepath (required), strength. Returns: object

create_lightC

Create a light. Types: POINT, SUN, SPOT, AREA.

Inputs: name, type, color, energy, +1 more. Returns: object

create_light_rigB

Create a three-point lighting setup (key, fill, rim). Optionally aimed at a target object.

Inputs: target, key_energy, rim_energy, fill_energy. Returns: object

create_materialC

Create a new Principled BSDF material. base_color is [R, G, B, A] (0-1 range).

Inputs: name, metallic, roughness, base_color. Returns: object

create_node_groupC

Create a node group from selected nodes.

Inputs: nodes (required), material (required), name. Returns: object

create_objectB

Create a new object. Types: CUBE, SPHERE, CYLINDER, CONE, TORUS, PLANE, CIRCLE, GRID, MONKEY, UV_SPHERE, ICO_SPHERE, EMPTY. Returns the actual name assigned (may differ if name already exists).

Inputs: name, type, location. Returns: object

create_shader_nodeB

Add a shader node to a material. Common types: ShaderNodeBsdfPrincipled, ShaderNodeTexImage, ShaderNodeTexNoise, ShaderNodeMixRGB, ShaderNodeBump, ShaderNodeNormalMap, ShaderNodeMapping, ShaderNodeTexCoord, ShaderNodeValToRGB, ShaderNodeMath.

Inputs: type (required), material (required), name, location. Returns: object

create_uv_mapC

Add a UV map to a mesh object.

Inputs: object (required), name. Returns: object

create_vertex_groupC

Create a vertex group, optionally assigning vertices with a weight.

Inputs: name (required), object (required), weight, vertices. Returns: object

delete_collectionA
Destructive

Delete a collection. Objects in it become orphaned. Confirm required.

Inputs: name (required), confirm. Returns: object

delete_comp_nodeC

Remove a compositor node.

Inputs: node (required). Returns: object

delete_geonodeB

Remove a node from a geometry node tree.

Inputs: node (required), object (required), modifier (required). Returns: object

delete_keyframeC

Delete a keyframe at a specific frame.

Inputs: frame (required), object (required), data_path (required), index. Returns: object

delete_materialA
Destructive

Delete a material. Confirm required. Removes from all object slots.

Inputs: name (required), confirm. Returns: object

delete_objectA
Destructive

Delete an object by name. Confirm required.

Inputs: name (required), confirm. Returns: object

delete_shader_nodeB

Remove a node from a material's node tree.

Inputs: node (required), material (required). Returns: object

disconnect_geonodeC

Disconnect an input on a geometry node.

Inputs: node (required), input (required), object (required), modifier (required). Returns: object

disconnect_shader_nodeB

Disconnect an input socket on a node.

Inputs: node (required), input (required), material (required). Returns: object

duplicate_materialB

Duplicate a material. Returns the new material name.

Inputs: name (required), new_name. Returns: object

duplicate_objectA

Duplicate an object. If linked=True, the copy shares mesh data with the original.

Inputs: name (required), linked, new_name. Returns: object

enable_compositorA

Enable the compositor (use_nodes=True on scene).

Inputs: no named parameters. Returns: object

enter_sculpt_modeC

Switch an object to sculpt mode.

Inputs: object (required). Returns: object

export_fileB

Export the scene to a file. Format is auto-detected from extension if not specified.

Inputs: filepath (required), format. Returns: object

export_selectionB

Export only selected objects to a file.

Inputs: filepath (required), format. Returns: object

find_error_objectsA
Read-only

Find objects with issues: missing textures, broken modifiers, invalid references.

Inputs: no named parameters. Returns: object

find_objectsB
Read-only

Search for objects by name pattern (glob), type, material, or collection.

Inputs: type, material, collection, name_pattern. Returns: object

frame_allA

Frame the viewport to show all objects (Home key).

Inputs: no named parameters. Returns: object

frame_selectedA

Frame the viewport to show selected objects (Numpad .).

Inputs: no named parameters. Returns: object

free_physics_bakeC
Destructive

Free baked physics simulation data. Irreversible.

Inputs: object. Returns: object

get_action_infoA
Read-only

Get info about an action: frame range, channels, keyframe count.

Inputs: name (required). Returns: object

get_armature_infoB
Read-only

Get armature info: bone hierarchy, bone count.

Inputs: object (required). Returns: object

get_bone_infoB
Read-only

Get bone info: head, tail, roll, parent, children, constraints.

Inputs: bone (required), object (required). Returns: object

get_compositor_treeA
Read-only

Get the compositor node tree structure.

Inputs: no named parameters. Returns: object

get_curve_infoA
Read-only

Get curve info: spline count, point count, dimensions, bevel settings.

Inputs: object (required). Returns: object

get_geonode_inputC
Read-only

Get a geometry node input's current value.

Inputs: node (required), input (required), object (required), modifier (required). Returns: object

get_geonodes_treeB
Read-only

Get the geometry node tree structure: nodes, links, inputs.

Inputs: object (required), modifier. Returns: object

get_gp_infoA
Read-only

Get grease pencil info: layers, frames, stroke count.

Inputs: object (required). Returns: object

get_keyframesA
Read-only

Get keyframes on an object, optionally filtered to a specific data_path (e.g., 'location', 'rotation_euler').

Inputs: object (required), data_path. Returns: object

get_material_infoA
Read-only

Get material settings: base color, metallic, roughness, node tree summary.

Inputs: name (required). Returns: object

get_mesh_infoB
Read-only

Get mesh info: vertex/edge/face count, UV maps, vertex groups, has_custom_normals.

Inputs: object (required). Returns: object

get_node_inputB
Read-only

Get a node input's current default value.

Inputs: node (required), input (required), material (required). Returns: object

get_node_treeA
Read-only

Get the full shader node tree: nodes, links, input values.

Inputs: material (required). Returns: object

get_object_infoB
Read-only

Get detailed info about an object: type, transforms, modifiers, materials, parent, collections.

Inputs: name (required). Returns: object

get_particle_infoC
Read-only

Get particle system settings.

Inputs: object (required), system. Returns: object

get_physics_infoB
Read-only

Get physics settings on an object.

Inputs: object (required). Returns: object

get_render_settingsA
Read-only

Get render settings: engine, resolution, samples, output path, file format.

Inputs: no named parameters. Returns: object

get_scene_infoA
Read-only

Get current scene metadata: name, frame range, FPS, render engine, object/material counts.

Inputs: no named parameters. Returns: object

get_uv_mapsB
Read-only

Get UV maps on a mesh object.

Inputs: object (required). Returns: object

get_vertex_groupsA
Read-only

Get vertex groups on a mesh with member counts.

Inputs: object (required). Returns: object

get_verticesB
Read-only

Get vertex positions. Optionally filter by vertex group. Limited to avoid huge payloads.

Inputs: object (required), group, limit. Returns: object

get_viewport_infoA
Read-only

Get viewport settings: shading mode, overlays, camera, clip distances.

Inputs: no named parameters. Returns: object

get_world_infoA
Read-only

Get current world/environment shader settings.

Inputs: no named parameters. Returns: object

import_fileA

Import a file into the scene. Supported formats: FBX, OBJ, GLTF/GLB, USD, Alembic, STL, PLY, SVG, DAE. Format is auto-detected from extension if not specified.

Inputs: filepath (required), format. Returns: object

join_meshesA
Destructive

Join multiple mesh objects into one. The first object becomes the active/target. Destroys source objects.

Inputs: objects (required). Returns: object

layout_node_treeB

Auto-arrange nodes in a material's node tree.

Inputs: material (required). Returns: object

list_actionsA
Read-only

List all actions in the blend file.

Inputs: no named parameters. Returns: object

list_bone_constraintsC
Read-only

List constraints on a pose bone.

Inputs: bone (required), object (required). Returns: object

list_camerasA
Read-only

List all cameras with their settings.

Inputs: no named parameters. Returns: object

list_collectionsA
Read-only

List all collections with child counts, object counts, and visibility.

Inputs: no named parameters. Returns: object

list_comp_node_typesA
Read-only

List available compositor node types.

Inputs: no named parameters. Returns: object

list_constraintsB
Read-only

List constraints on an object or pose bone.

Inputs: object (required), bone. Returns: object

list_geonode_typesA
Read-only

List available geometry node types for the current Blender version.

Inputs: no named parameters. Returns: object

list_imagesA
Read-only

List all images in the blend file.

Inputs: no named parameters. Returns: object

list_lightsA
Read-only

List all lights in the scene with type and settings.

Inputs: no named parameters. Returns: object

list_materialsA
Read-only

List all materials in the blend file with user counts.

Inputs: no named parameters. Returns: object

list_modifiersA
Read-only

List all modifiers on an object with their type and settings.

Inputs: object (required). Returns: object

list_objectsA
Read-only

List all objects in the scene. Optionally filter by type (MESH, CAMERA, LIGHT, EMPTY, etc.).

Inputs: type. Returns: object

list_render_enginesA
Read-only

List available render engines.

Inputs: no named parameters. Returns: object

list_shader_node_typesA
Read-only

List available shader node types.

Inputs: no named parameters. Returns: object

list_supported_formatsA
Read-only

List supported import and export file formats.

Inputs: no named parameters. Returns: object

load_fileA
Destructive

Load a .blend file. This replaces the current scene — confirm to proceed.

Inputs: filepath (required), confirm. Returns: object

load_imageC

Load an image from file into the blend file.

Inputs: filepath (required), name. Returns: object

move_modifierB

Move a modifier up or down in the stack. Direction: UP or DOWN.

Inputs: object (required), modifier (required), direction (required). Returns: object

move_to_collectionA

Move an object to a collection (removes from current collections).

Inputs: object (required), collection (required). Returns: object

pack_imagesA

Pack all external images into the blend file.

Inputs: no named parameters. Returns: object

parent_mesh_to_armatureB

Parent a mesh to an armature. Mode: AUTOMATIC (auto weights), EMPTY (no weights).

Inputs: mesh (required), armature (required), mode. Returns: object

pingA
Read-only

Check if the Blender addon is reachable and return version info.

Inputs: no named parameters. Returns: object

playback_controlB

Control animation playback: PLAY, PAUSE, STOP.

Inputs: action (required). Returns: object

remeshC

Remesh an object. Modes: VOXEL, QUAD (quadriflow).

Inputs: object (required), mode, voxel_size. Returns: object

remove_constraintB

Remove a constraint by name.

Inputs: object (required), constraint (required), bone. Returns: object

remove_materialB

Remove a material slot from an object by slot index.

Inputs: object (required), slot. Returns: object

remove_modifierA

Remove a modifier from an object by name.

Inputs: object (required), modifier (required). Returns: object

remove_particle_systemC

Remove a particle system by name.

Inputs: name (required), object (required). Returns: object

remove_physicsC

Remove physics from an object.

Inputs: type (required), object (required). Returns: object

rename_objectA

Rename an object. Returns the actual name assigned (may be auto-incremented).

Inputs: name (required), new_name (required). Returns: object

render_animationA

Render the full animation frame range. This is a long-running operation.

Inputs: no named parameters. Returns: object

render_imageB

Render the current frame to an image file. Uses scene output path if filepath not specified.

Inputs: filepath. Returns: object

render_viewportC

Render the viewport (OpenGL render) to a file.

Inputs: filepath. Returns: object

reorder_constraintB

Move a constraint up or down. Direction: UP or DOWN.

Inputs: object (required), direction (required), constraint (required), bone. Returns: object

save_fileA

Save the current scene. If filepath is provided, save-as to that path.

Inputs: filepath. Returns: object

select_objectsB

Select objects by name list, glob pattern, or type. Deselects others by default.

Inputs: type, names, pattern, deselect_others. Returns: object

separate_meshA

Separate mesh into multiple objects. Modes: LOOSE (by loose parts), MATERIAL (by material), SELECTED.

Inputs: object (required), mode. Returns: object

set_active_cameraC
Idempotent

Set the active scene camera.

Inputs: name (required). Returns: object

set_bone_propertyB
Idempotent

Set a bone property: roll, envelope_distance, head, tail, use_connect.

Inputs: bone (required), value (required), object (required), property (required). Returns: object

set_camera_propertyB
Idempotent

Set camera property: focal_length, sensor_width, clip_start, clip_end, dof_use, dof_focus_distance, dof_aperture_fstop.

Inputs: name (required), value (required), property (required). Returns: object

set_collection_visibilityB
Idempotent

Set collection visibility in viewport and/or render.

Inputs: name (required), render, viewport. Returns: object

set_comp_node_inputC
Idempotent

Set a compositor node input value.

Inputs: node (required), input (required), value (required). Returns: object

set_constraint_influenceC
Idempotent

Set constraint influence (0.0 to 1.0).

Inputs: object (required), influence (required), constraint (required), bone. Returns: object

set_constraint_propertyC
Idempotent

Set a constraint property. Common: target, subtarget, influence, axis.

Inputs: value (required), object (required), property (required), constraint (required), +1 more. Returns: object

set_curve_pointsC

Set control point positions on a spline. Each entry: {co: [x,y,z], handle_left: [x,y,z], handle_right: [x,y,z]} for Bezier, or {co: [x,y,z,w]} for NURBS/Poly.

Inputs: object (required), points (required), spline_index (required). Returns: object

set_curve_propertyC
Idempotent

Set curve property: bevel_depth, bevel_resolution, extrude, dimensions (2D/3D), resolution_u, fill_mode.

Inputs: value (required), object (required), property (required). Returns: object

set_frameC
Idempotent

Set the current frame.

Inputs: frame (required). Returns: object

set_frame_rangeA
Idempotent

Set the scene frame range (start and/or end frame).

Inputs: end, start. Returns: object

set_geonode_inputB
Idempotent

Set a geometry node input's default value.

Inputs: node (required), input (required), value (required), object (required), +1 more. Returns: object

set_geonodes_inputA
Idempotent

Set a modifier-level input (Group Input interface value).

Inputs: value (required), object (required), modifier (required), input_name (required). Returns: object

set_gp_layer_propertyC
Idempotent

Set a GP layer property: color, opacity, thickness, use_lights.

Inputs: layer (required), value (required), object (required), property (required). Returns: object

set_interpolationA
Idempotent

Set keyframe interpolation for all keyframes on a channel. Types: BEZIER, LINEAR, CONSTANT.

Inputs: object (required), data_path (required), interpolation. Returns: object

set_keyframeC

Insert a keyframe on an object property at a specific frame. Use index for individual channels (0=X, 1=Y, 2=Z), or -1 for all channels.

Inputs: frame (required), object (required), data_path (required), index, +1 more. Returns: object

set_keyframesA

Batch insert multiple keyframes. Each entry: {frame: int, value: float|list}. More efficient than calling set_keyframe repeatedly.

Inputs: object (required), data_path (required), keyframes (required). Returns: object

set_light_propertyB
Idempotent

Set a light property: energy, color, shadow_soft_size, spot_size, spot_blend, use_shadow, size (area light).

Inputs: name (required), value (required), property (required). Returns: object

set_material_propertyB
Idempotent

Set a Principled BSDF property. Properties: base_color, metallic, roughness, specular, transmission, emission_color, emission_strength, alpha, normal_strength.

Inputs: value (required), material (required), property (required). Returns: object

set_modifier_propertyC
Idempotent

Set a modifier property. Property names are Blender API names (e.g., 'levels' for SUBSURF, 'count' for ARRAY, 'operation' for BOOLEAN).

Inputs: value (required), object (required), modifier (required), property (required). Returns: object

set_node_inputB
Idempotent

Set a node input's default value (color, float, vector).

Inputs: node (required), input (required), value (required), material (required). Returns: object

set_node_positionC
Idempotent

Set a node's position in the editor.

Inputs: node (required), location (required), material (required). Returns: object

set_originC

Set an object's origin point. Types: ORIGIN_GEOMETRY, ORIGIN_CENTER_OF_MASS, ORIGIN_CENTER_OF_VOLUME, ORIGIN_CURSOR, GEOMETRY_ORIGIN.

Inputs: name (required), type. Returns: object

set_parentC

Set parent-child relationship between objects.

Inputs: child (required), parent (required). Returns: object

set_particle_propertyB
Idempotent

Set a particle system property: count, lifetime, emit_from, physics_type, size.

Inputs: value (required), object (required), system (required), property (required). Returns: object

set_physics_propertyC
Idempotent

Set a physics property. E.g., type=RIGID_BODY, property=mass, value=5.0.

Inputs: type (required), value (required), object (required), property (required). Returns: object

set_playback_rangeC
Idempotent

Set the preview/playback range.

Inputs: end (required), start (required). Returns: object

set_pose_bone_transformB
Idempotent

Set a pose bone's transform (location and/or rotation in pose space).

Inputs: bone (required), object (required), location, rotation. Returns: object

set_render_settingsA
Idempotent

Configure render settings. Engine: CYCLES, BLENDER_EEVEE_NEXT, BLENDER_WORKBENCH. File format: PNG, JPEG, EXR, TIFF. Color mode: BW, RGB, RGBA.

Inputs: engine, samples, filepath, color_mode, +5 more. Returns: object

set_sculpt_brushA
Idempotent

Set the active sculpt brush and settings. Brushes: DRAW, CLAY, CLAY_STRIPS, INFLATE, GRAB, SMOOTH, FLATTEN, PINCH, CREASE, SCRAPE.

Inputs: brush (required), radius, strength. Returns: object

set_smooth_shadingB
Idempotent

Set shading mode. smooth=True for smooth shading, False for flat. auto_smooth uses angle threshold (radians).

Inputs: object (required), angle, smooth, auto_smooth. Returns: object

set_transformC
Idempotent

Set an object's location, rotation (radians), and/or scale.

Inputs: name (required), scale, location, rotation. Returns: object

setup_basic_compositeB

Template: Create Render Layers -> Composite + Viewer setup.

Inputs: no named parameters. Returns: object

setup_camera_dofB

Configure depth of field on a camera. Focus on an object or at a specific distance.

Inputs: camera (required), fstop, focus_object, focus_distance. Returns: object

setup_cloth_simC

Template: Set up cloth simulation with optional pinning vertex group.

Inputs: object (required), pin_group. Returns: object

setup_fluid_domainB

Template: Set up fluid simulation with domain and optional emitter.

Inputs: domain (required), emitter. Returns: object

setup_hairC

Template: Set up hair particles with children and physics.

Inputs: object (required), count, length. Returns: object

setup_rigid_body_worldC

Configure the rigid body world and collection.

Inputs: collection. Returns: object

setup_softbodyC

Template: Set up softbody simulation.

Inputs: object (required). Returns: object

set_verticesA

Set vertex positions. Each entry: {index: int, co: [x, y, z]}.

Inputs: object (required), vertices (required). Returns: object

set_viewport_cameraA
Idempotent

Set the active camera for the viewport. Pass camera object name, or None for default.

Inputs: camera. Returns: object

set_viewport_shadingB
Idempotent

Set viewport shading mode: WIREFRAME, SOLID, MATERIAL, RENDERED.

Inputs: mode (required). Returns: object

set_world_propertyB
Idempotent

Set world/environment property: color, strength.

Inputs: value (required), property (required). Returns: object

smart_uv_projectC

Auto UV unwrap using smart project. Angle limit in radians (default ~66 degrees).

Inputs: object (required), angle_limit. Returns: object

toggle_modifier_visibilityB
Idempotent

Toggle modifier visibility in viewport and/or render.

Inputs: object (required), modifier (required), render, viewport. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 173 tools

    Disambiguation4/5

    Most tools have distinct purposes with clear descriptions, though a few pairs like set_geonode_input vs set_geonodes_input could cause confusion without careful reading. The majority are well-separated by resource type and action.

    Naming Consistency4/5

    The dominant pattern is verb_noun (e.g., list_objects, create_material), but a few tools like camera_look_at and playback_control deviate to noun_verb. The naming is generally predictable and readable, with only minor inconsistencies.

    Tool Count1/5

    With 173 tools, this far exceeds the threshold for an extreme mismatch (50+). While Blender is complex, this server attempts to cover every conceivable feature, making the surface unwieldy and difficult for agents to navigate effectively.

    Completeness4/5

    The tool surface is remarkably broad, covering objects, materials, modifiers, animation, physics, node systems (shader, geometry, compositor), sculpting, and more. Minor gaps exist (e.g., manual UV editing, advanced painting), but core workflows are well-supported.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects 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.
      1
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      A headless-first Model Context Protocol server for safe, deterministic Blender automation, exposing typed tools to inspect scenes and render previews without arbitrary command execution.
      3
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables safe, repeatable preparation of game characters in Blender through high-level MCP tools for validation, import, normalization, action renaming, and GLB export, with dry-run by default and loopback-only security.
      9
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables safe, structured control of Blender on Windows via a standalone STDIO MCP server, providing seven tools to inspect scenes, list and edit materials, transform objects, add modifiers, set smooth shading, and export assets without arbitrary code execution.
      7
      Apache 2.0