Skip to main content
Glama
Blender AI Control MCP

Blender AI Control MCP

Blender AI Control MCP

Structured, secure, local-first Model Context Protocol (MCP) server and Blender add-on for AI-driven 3D workflows.

Tests Tools Blender Python MCP License


Overview

Blender AI Control MCP provides complete, thread-safe, allowlisted AI control over Blender 3D without direct code execution (eval/exec). It implements 74 structured MCP tools across 13 functional domains, connecting AI assistants (Antigravity, Claude Desktop, Cursor, etc.) directly to a live Blender session.

Complete 13 Functional Domains (74 Tools):

  1. System & Connection (3 tools): Health check, real-time Blender project status, build version.

  2. Scene & Collections (8 tools): Scene list, inspect, create, switch active, save .blend, collections hierarchy and object linking.

  3. Object Transforms & Hierarchy (7 tools): Primitives (Cube, Sphere, Cylinder, Plane, Cone, Torus), rename, transform, duplicate, delete, parenting with inverse matrix preservation, visibility and selection.

  4. Mesh Modeling & Editing (8 tools): Headless bmesh inspection, subdivide, bevel, extrude, merge, recalculate normals, shade smooth, geometric validation.

  5. Modifiers (6 tools): List modifiers, add, configure, apply, remove, reorder stack.

  6. Materials, Textures & UVs (9 tools): Principled BSDF creation & configuration, slot assignment, inspection, image texture linking, UV unwrapping (Smart, Cube, Sphere, Cylinder).

  7. Lighting, Cameras & Environment (7 tools): Point/Sun/Spot/Area lights, cameras with focal length/clipping, active camera switching, world background illumination & HDRIs, environment inspection.

  8. Geometry Nodes (4 tools): Node group listing, inspect sockets & overrides, assign modifier & create procedural passthrough groups, configure input parameters.

  9. Armatures & Rigging (4 tools): Armature creation, bone hierarchy inspection, bone editing in edit mode, auto-weight mesh skinning.

  10. Animation & Timeline (4 tools): Frame keyframing on location/rotation/scale, action & F-curve inspection, interpolation setting (Bezier, Linear, Constant), scene playback range & framerate.

  11. Physics & Simulation (4 tools): Rigid body active/passive configuration, cloth simulation modifier, physics inspection, point cache baking.

  12. Rendering & Compositing (5 tools): Cycles/Eevee engine configuration, fast preview still renders to disk, render status, compositor node tree inspection & node insertion (e.g. Denoise).

  13. AI Orchestration & Visual Intelligence (5 tools): Multi-step task planner, master orchestrator execution loop, deterministic quality validation, and visual exposure/defect evaluation of preview renders.


Related MCP server: Blender Universal & Token-Efficient MCP Server

Architecture & Security

MCP Client (Antigravity / Claude / Cursor)
      │
      ▼ (stdio)
Python MCP Server (74 tools, Pydantic schemas, Planner, Visual Evaluator)
      │
      ▼ (Localhost HTTP 127.0.0.1:8765, Bearer Token Auth)
Blender Add-on Bridge (Request Queue, Path Policy Sandbox)
      │
      ▼ (bpy.app.timers - Blender Main Thread)
Blender Engine (bpy, bmesh, mathutils, Cycles/Eevee)
  • Thread-Safety: bpy API is strictly executed on Blender's main thread via persistent timer queues.

  • Security: Localhost binding only (127.0.0.1), constant-time token validation (hmac.compare_digest), path traversal sandbox restricting file I/O to approved workspaces.

  • No eval/exec: Every single capability is an allowlisted domain operation with strict schema validation.


Quick Start

1. Setup Environment

& "C:\Program Files\Python311\python.exe" -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e .
pip install pytest pytest-asyncio ruff mypy

2. Install Add-on into Blender

.\.venv\Scripts\python.exe scripts\install_addon.py

Or install the zip package in Blender (Edit > Preferences > Add-ons > Install from Disk): dist/blender_ai_control_addon-v1.0.0.zip

3. Run Automated Tests

.\.venv\Scripts\pytest.exe -v

MCP Client Configuration

Add this server to your client configuration (e.g. Claude Desktop claude_desktop_config.json, Cursor, or Antigravity):

Windows

{
  "mcpServers": {
    "blender": {
      "command": "C:\\path\\to\\blender-mcp\\.venv\\Scripts\\python.exe",
      "args": ["-m", "mcp_server.main"],
      "env": {
        "BLENDER_BRIDGE_HOST": "127.0.0.1",
        "BLENDER_BRIDGE_PORT": "8765"
      }
    }
  }
}

macOS / Linux

{
  "mcpServers": {
    "blender": {
      "command": "/path/to/blender-mcp/.venv/bin/python",
      "args": ["-m", "mcp_server.main"],
      "env": {
        "BLENDER_BRIDGE_HOST": "127.0.0.1",
        "BLENDER_BRIDGE_PORT": "8765"
      }
    }
  }
}

(Replace C:\path\to\blender-mcp or /path/to/blender-mcp with the actual path to your cloned repository).


Documentation


License

This project is licensed under a dual-licensing model to ensure full compliance with the Blender Foundation's licensing policies while maximizing flexibility for external MCP AI clients:

  • Blender Add-on (blender_addon/): Licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later) as required by Blender Python (bpy) integration.

  • MCP Server & Client Components (mcp_server/, shared/): Dual-licensed under the MIT License (via Section 7 permission exception in LICENSE), allowing AI developer toolchains and MCP clients (Claude, Cursor, Antigravity) to integrate without copyleft constraints.

See LICENSE for the full text.

Available Tools

74 tools
blender_add_boneC

Add a new bone to an armature with head/tail positions, roll, and optional parenting.

Inputs: bone_name (required), armature_name (required), head, roll, +3 more. Returns: result

blender_add_modifierC

Add a modifier to an object (e.g. 'SUBSURF', 'BEVEL', 'SOLIDIFY', 'MIRROR', 'ARRAY', 'BOOLEAN', 'DECIMATE', 'REMESH').

Inputs: object_name (required), modifier_type (required), name, properties. Returns: result

blender_apply_modifierB

Permanently bake/apply a modifier into the object's mesh geometry.

Inputs: object_name (required), modifier_name (required). Returns: result

blender_assign_geometry_nodesC

Assign a Geometry Nodes modifier to an object, optionally linking an existing or new node group.

Inputs: object_name (required), group_name, modifier_name, create_if_missing. Returns: result

blender_assign_image_textureC

Load an image texture and connect it to a material shader socket (e.g. 'Base Color', 'Roughness').

Inputs: image_path (required), material_name (required), target_socket. Returns: result

blender_assign_materialB

Assign a material to an object, optionally specifying the material slot index.

Inputs: object_name (required), material_name (required), slot_index. Returns: result

blender_bake_simulationC

Configure or bake simulation cache range (e.g. 'RIGIDBODY').

Inputs: frame_end, frame_start, simulation_type. Returns: result

blender_bevel_meshC

Bevel edges or vertices of a mesh object with offset and segment count.

Inputs: name (required), affect, offset, segments. Returns: result

blender_configure_animationC

Configure animation keyframes (interpolation: 'BEZIER', 'LINEAR', 'CONSTANT'), delete keyframes, or clear action.

Inputs: object_name (required), clear_all, data_path, delete_frame, +1 more. Returns: result

blender_configure_cameraC

Configure camera focal length (mm) or clipping distance.

Inputs: name (required), clip_end, clip_start, focal_length. Returns: result

blender_configure_clothC

Add or configure cloth simulation modifier on an object (mass, tension, compression, shear, bending).

Inputs: name (required), mass, shrink_factor, use_collision, +4 more. Returns: result

blender_configure_compositorC

Enable/disable scene compositing nodes and add nodes (e.g. 'CompositorNodeDenoise', 'CompositorNodeGlare').

Inputs: node_name, use_nodes, add_node_type. Returns: result

blender_configure_geometry_nodesC

Configure input socket parameters of a Geometry Nodes modifier on an object.

Inputs: inputs (required), object_name (required), modifier_name. Returns: result

blender_configure_lightC

Configure parameters of an existing light (energy, color, light_type, spot_size).

Inputs: name (required), color, energy, spot_size, +1 more. Returns: result

blender_configure_materialC

Configure Principled BSDF shader properties (base_color, roughness, metallic, transmission, emission, alpha, ior).

Inputs: name (required), ior, alpha, metallic, +6 more. Returns: result

blender_configure_modifierC

Update settings on an existing modifier (e.g. levels, thickness, width, count).

Inputs: properties (required), object_name (required), modifier_name (required). Returns: result

blender_configure_renderC

Configure render engine (CYCLES, EEVEE, WORKBENCH), resolution, samples, output format, and paths.

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

blender_configure_rigidbodyC

Add or configure rigid body physics on an object (mass, friction, restitution, shape, active/passive).

Inputs: name (required), mass, type, enabled, +4 more. Returns: result

blender_configure_worldC

Configure world illumination (background color, strength multiplier, or HDRI environment map).

Inputs: color, strength, hdri_path. Returns: result

blender_create_armatureC

Create an Armature object in Blender, optionally with an initial root bone.

Inputs: name, scale, location, rotation, +3 more. Returns: result

blender_create_cameraC

Create a camera object with location, rotation, focal length (mm), and clipping ranges.

Inputs: name, clip_end, location, rotation, +3 more. Returns: result

blender_create_collectionC

Create a new collection, optionally nested under a parent collection.

Inputs: name (required), parent_collection. Returns: result

blender_create_keyframeC

Insert a keyframe on an object for a data property (location, rotation_euler, scale) at a frame.

Inputs: frame (required), object_name (required), index, value, +1 more. Returns: result

blender_create_lightC

Create a light source in the scene (light_type: 'POINT', 'SUN', 'SPOT', 'AREA') with location, power/energy, and color.

Inputs: name, color, energy, location, +2 more. Returns: result

blender_create_materialC

Create a new Principled BSDF material with optional base color, roughness, and metallic properties.

Inputs: name, metallic, specular, roughness, +1 more. Returns: result

blender_create_primitiveB

Create a 3D primitive mesh in Blender (e.g., CUBE, UV_SPHERE, CYLINDER, PLANE, CONE, TORUS) with optional transforms and name.

Inputs: name, size, scale, location, +2 more. Returns: result

blender_create_sceneC

Create a new scene in the project (setup_mode can be 'NEW', 'LINK_COPY', or 'FULL_COPY').

Inputs: name, setup_mode. Returns: result

blender_delete_objectC

Delete an object from Blender and optionally delete unreferenced mesh data.

Inputs: name (required), delete_data. Returns: result

blender_duplicate_objectC

Duplicate an object (deep copy or linked) with optional offset and new name.

Inputs: name (required), linked, offset, new_name. Returns: result

blender_evaluate_visual_previewC

Inspect and evaluate a rendered preview image file for dimensions, aspect ratio, exposure/luminance, and quality defects.

Inputs: filepath (required), max_luminance, min_luminance, expected_min_width, +1 more. Returns: result

blender_execute_planC

Execute a high-level task through the Master Orchestrator (planning, execution across specialists, quality validation).

Inputs: user_request (required). Returns: result

blender_extrude_meshC

Extrude faces of a mesh along a direction vector by a given distance.

Inputs: name (required), distance, direction, face_indices. Returns: result

blender_healthA

Check if the local Blender bridge is running and reachable.

Inputs: no named parameters. Returns: result

blender_inspect_animationA

Inspect actions, F-Curves, keyframe coordinates, and timeline frame range on an object.

Inputs: object_name (required). Returns: result

blender_inspect_armatureB

Inspect bone hierarchy, coordinates, lengths, and parents of an Armature.

Inputs: name (required). Returns: result

blender_inspect_compositorA

Inspect the scene compositor node tree, active nodes, inputs, outputs, and links.

Inputs: no named parameters. Returns: result

blender_inspect_environmentA

Inspect scene illumination: active camera, world background settings, and all light objects in the scene.

Inputs: no named parameters. Returns: result

blender_inspect_geometry_nodesB

Inspect a Geometry Nodes modifier on an object or a node group directly (sockets, values, node types).

Inputs: group_name, object_name, modifier_name. Returns: result

blender_inspect_materialB

Inspect material settings and current values of its Principled BSDF shader inputs.

Inputs: name (required). Returns: result

blender_inspect_meshB

Inspect mesh topology: vertex/edge/face counts, non-manifold geometry, loose components, watertightness, and UV layers.

Inputs: name (required). Returns: result

blender_inspect_objectB

Inspect an object in Blender to inspect its transforms, dimensions, hierarchy (parent/children), collections, vertex counts, materials, and modifiers.

Inputs: name (required). Returns: result

blender_inspect_physicsA

Inspect all physics settings active on an object (rigid body, cloth, collision, particle systems).

Inputs: name (required). Returns: result

blender_inspect_sceneB

Inspect detailed configuration of a scene (resolution, FPS, active camera, render engine, units, collections).

Inputs: name. Returns: result

blender_inspect_uvC

Inspect UV layer coverage and stats for a mesh object.

Inputs: name (required). Returns: result

blender_list_collectionsA

List all collections in the active scene and their member objects.

Inputs: no named parameters. Returns: result

blender_list_geometry_node_groupsA

List all Geometry Node groups in the active Blender project with socket counts.

Inputs: no named parameters. Returns: result

blender_list_materialsA

List all materials in the project, or list materials assigned to a specific object.

Inputs: object_name. Returns: result

blender_list_modifiersB

List all modifiers active on an object with their types, parameters, and display flags.

Inputs: object_name (required). Returns: result

blender_list_objectsA

List objects in the active scene, optionally filtered by type (e.g. 'MESH', 'CAMERA', 'LIGHT') or collection name.

Inputs: collection, object_type. Returns: result

blender_list_scenesA

List all scenes in the current project with their render engines, active cameras, and object counts.

Inputs: no named parameters. Returns: result

blender_list_uv_layersA

List UV layers on a mesh object and identify the active layer.

Inputs: name (required). Returns: result

blender_merge_verticesC

Merge vertices by distance threshold (remove duplicate/close vertices).

Inputs: name (required), distance. Returns: result

blender_parent_mesh_to_armatureC

Parent a mesh to an armature (e.g. 'ARMATURE_AUTO' for automatic weights, 'ARMATURE_ENVELOPE', 'ARMATURE').

Inputs: mesh_object_name (required), armature_object_name (required), parent_type. Returns: result

blender_plan_taskC

Decompose a natural language Blender request into a structured multi-step execution plan across specialists.

Inputs: user_request (required). Returns: result

blender_playback_rangeB

Inspect or set scene timeline range: start frame, end frame, current frame, and framerate (fps).

Inputs: fps, frame_end, frame_start, frame_current. Returns: result

blender_recalculate_normalsC

Recalculate mesh face normals consistently outward or inward.

Inputs: name (required), inside. Returns: result

blender_remove_modifierC

Remove a modifier from an object's stack.

Inputs: object_name (required), modifier_name (required). Returns: result

blender_rename_objectC

Rename an existing object in Blender.

Inputs: new_name (required), old_name (required). Returns: result

blender_render_previewB

Render a quick still image preview of the current frame and return output filepath and metadata.

Inputs: samples, output_path, write_image, resolution_percentage. Returns: result

blender_render_statusA

Retrieve current render configuration, active camera, resolution, and timeline settings.

Inputs: no named parameters. Returns: result

blender_save_projectB

Save the Blender project (.blend). If never saved before, 'filepath' must be provided.

Inputs: filepath. Returns: result

blender_select_objectB

Select or deselect an object, optionally deselect other objects, and set as active object.

Inputs: name, select, set_active, deselect_others. Returns: result

blender_set_active_cameraC

Set the specified camera as the active rendering camera for the scene.

Inputs: name (required). Returns: result

blender_set_active_sceneC

Switch the active scene in Blender to the specified scene name.

Inputs: name (required). Returns: result

blender_set_parentA

Parent a child object to a parent object, or unparent if parent_name is empty/omitted. Preserves world transforms by default.

Inputs: child_name (required), parent_name, keep_transform. Returns: result

blender_set_visibilityC

Set object visibility in 3D viewport and/or final render.

Inputs: name (required), hide_render, hide_viewport. Returns: result

blender_shade_smoothB

Set smooth shading (True) or flat faceted shading (False) on mesh polygons.

Inputs: name (required), smooth. Returns: result

blender_statusA

Get current status of Blender: version, active scene, object counts, and active selection.

Inputs: no named parameters. Returns: result

blender_subdivide_meshC

Subdivide mesh faces and edges by a specified number of cuts and smoothness.

Inputs: name (required), cuts, smoothness. Returns: result

blender_transform_objectB

Set or adjust location, rotation (Euler radians), or scale of an object. If relative=True, adds to current transforms.

Inputs: name (required), scale, location, relative, +1 more. Returns: result

blender_unwrap_uvC

Unwrap mesh UVs using Smart UV Project, Cube, Sphere, or Cylinder projection.

Inputs: name (required), method, angle_limit, island_margin. Returns: result

blender_validate_meshB

Validate mesh integrity: checks for non-manifold edges/vertices, loose elements, zero-area faces, and watertightness.

Inputs: name (required). Returns: result

blender_versionA

Get Blender version and build platform information.

Inputs: no named parameters. Returns: result

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 74 tools

    Disambiguation4/5

    Most tools target clearly distinct Blender resources and actions, and the descriptions make domain boundaries generally obvious. A few pairs overlap meaningfully, especially blender_inspect_mesh vs blender_validate_mesh, and blender_health/status/version have some diagnostic overlap.

    Naming Consistency4/5

    The set uses a consistent blender_ prefix and predominantly verb_noun snake_case names. Minor deviations include noun-style tools like blender_health, blender_status, blender_version, and blender_playback_range.

    Tool Count1/5

    Seventy-four tools is far beyond a practical MCP tool budget and forces agents to choose among many narrow operations. Although Blender is a broad domain, this surface should be consolidated into higher-level tools or routed through fewer grouped operations.

    Completeness4/5

    Coverage is broad across scenes, objects, meshes, materials, UVs, lights, cameras, modifiers, physics, animation, rigging, geometry nodes, compositing, rendering, and orchestration. Notable gaps remain around import/export, constraints, shape keys, and some lifecycle operations such as material deletion.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      Enables AI agents to inspect and drive Blender scenes directly, either through a live editor bridge on port 8190 or automatically via headless background CLI when Blender is closed. Provides token-efficient tools for scene outlining, object creation and modification, modifiers, materials, rendering, asset export, and arbitrary bpy script execution.
      11
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to control a live Blender session, inspect and modify scenes, manage PolyHaven assets, render images, and route prompts through configurable local or OpenAI-compatible LLM backends.
      -
    • F
      license
      A
      quality
      B
      maintenance
      Enables an AI assistant to operate a running Blender instance through 428 typed, parameter-checking tools for modeling, materials, UVs, rigging, animation, physics, geometry nodes, and rendering, while reading results back.
      3
      396 PyPI
      3
      -