Skip to main content
Glama
blender-animation-mcp

blender-animation-mcp

by kevindowling

Blender Animation MCP

An animation-specialized MCP server for Blender. It combines precise timeline/keyframe tools with rendered visual feedback, so a multimodal model can inspect what it animated instead of reasoning from transforms alone.

import_glb_asset loads textured or rigged GLB/glTF assets without flattening their hierarchy; inspect_rig exposes skeletons and bindings; and key_pose_bone provides a safer pose interface than raw RNA paths. Existing embedded animation clips are imported by Blender's glTF importer and included in visual review.

What it can see and control

  • Render any exact frame and return it as MCP image content.

  • Render a contact sheet sampled over the shot for fast visual review.

  • Sample evaluated world transforms and bounding boxes across time.

  • Inspect actions, F-curves, handles, interpolation, NLA strips, constraints, cameras, and markers.

  • Insert/delete keys, change interpolation, control the timeline, and save the file.

  • Import arbitrary .glb and .gltf assets with their hierarchy, materials, rigs, and animation clips.

  • Inspect generated skeletons and key bones directly with local-space quaternions.

  • Discover weighted limb-chain candidates and inspect their actual local axes.

  • Probe bone deformation non-destructively before authoring poses.

  • Create paw IK controls, key them in world space, and validate planted-foot sliding.

The contact sheet is made from actual scene renders. It is deliberately capped at 25 frames; for detailed review, call render_frame on suspicious frames. Animation is temporal, so no finite sample proves every in-between frame is correct—the intended workflow is contact sheet, targeted frames, numeric evaluation, then another visual pass.

Related MCP server: Blender MCP

Install

  1. Zip the blender_addon directory (the zip must contain blender_addon/__init__.py) and install it from Edit > Preferences > Add-ons > Install from Disk. Enable Animation MCP Bridge.

  2. The bridge starts automatically with Blender. Use Scene Properties > Animation MCP to see its status or stop/restart it.

  3. Install this MCP package:

    pip install -e .
  4. Add it to your MCP client configuration:

    {
      "mcpServers": {
        "blender-animation": {
          "command": "blender-animation-mcp",
          "env": {
            "BLENDER_MCP_HOST": "127.0.0.1",
            "BLENDER_MCP_PORT": "9876",
            "BLENDER_MCP_TOKEN": ""
          }
        }
      }
    }

For security, the bridge binds to localhost by default. If you configure a token in Blender, set the same BLENDER_MCP_TOKEN for the MCP process. Do not expose the port to an untrusted network.

  1. inspect_scene and inspect_object_animation before editing. For a new GLB/glTF asset, call import_glb_asset first and inspect_rig if it is rigged.

  2. Set keys and interpolation.

  3. inspect_animation_visual across the whole shot.

For video-driven pose matching, call setup_video_reference with the source MP4, then use render_video_overlay for exact key poses or inspect_video_overlay for a contact sheet. Adjust video_frame_offset to align the Blender timeline with the useful interval of the reference before keying the rig. For unfamiliar generated rigs, run discover_limb_chains, inspect candidates with inspect_bone_axes, and confirm hinge behavior using probe_bone_deformation. Only then create paw controls with create_limb_ik; animate them through key_paw_pose and check contacts with validate_walk_cycle. 4. Use render_frame around contacts, extremes, and visible discontinuities. 5. Use evaluate_animation when exact spacing or world transforms matter. 6. Iterate, then save_blend.

Environment variables

BLENDER_MCP_HOST, BLENDER_MCP_PORT, BLENDER_MCP_TOKEN, and BLENDER_MCP_TIMEOUT configure the MCP-to-Blender connection.

To run Blender without a window, after enabling the add-on:

blender --background --python blender_addon/headless.py

The included systemd/blender-animation-mcp.service runs this worker persistently on port 9877.

Available Tools

24 tools
create_limb_ikC

Create or reuse a world-space paw target and an IK constraint on a verified limb end bone.

Inputs: end_bone (required), armature_name (required), target_name, chain_length. Returns: object

delete_keyframeC

Delete a keyframe from an animated object property.

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

discover_limb_chainsB

Discover weighted deform-bone chains that geometrically resemble front or rear limbs. Treat roles as candidates until deformation probing confirms them.

Inputs: armature_name (required), minimum_chain_length. Returns: object

evaluate_animationA

Sample evaluated world transforms, camera visibility, and bounding boxes at exact frames for numeric verification of motion and spacing.

Inputs: frames. Returns: object

import_glb_assetB

Import a GLB/glTF asset, including its PBR materials, armature, skin weights, and animation clips. Optionally normalize its largest world dimension while preserving the hierarchy.

Inputs: glb_path (required), normalize_size, collection_name. Returns: object

insert_keyframeC

Set an optional property value and insert a keyframe, then set its interpolation. Data paths include location, rotation_euler, scale, and custom properties.

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

inspect_animation_visualA

Render a labeled contact sheet of animation frames. Use after edits to visually verify poses, timing, continuity, staging, and camera motion. If frames are omitted they are evenly sampled across the timeline.

Inputs: frames, tile_width, tile_height, sample_count.

inspect_bone_axesC

Inspect rest-pose local X/Y/Z axes, hierarchy, dimensions, and mesh-weight coverage for selected bones.

Inputs: armature_name (required), bone_names. Returns: object

inspect_object_animationA

Get exact actions, F-curves, keyframe values/handles, constraints, and NLA strips for an object.

Inputs: object_name (required). Returns: object

inspect_rigA

Inspect a generated asset's armature hierarchy, rest pose, pose transforms, deform flags, mesh bindings, and available animation actions.

Inputs: armature_name (required). Returns: object

inspect_sceneA

Inspect animation-relevant scene state: timeline, camera, objects, actions, strips, and markers.

Inputs: no named parameters. Returns: object

inspect_video_overlayC

Render a contact sheet of the model over mapped reference-video frames for pose, silhouette, timing, and foot-contact comparison.

Inputs: frames, tile_width, tile_height, sample_count.

key_paw_poseC

Place and key a paw IK target in world space, using either an absolute location or a delta from its current location.

Inputs: frame (required), target_name (required), world_delta, interpolation, +1 more. Returns: object

key_pose_boneB

Key a generated rig's pose bone using local-space location, WXYZ quaternion, and/or scale. Only supplied channels are changed.

Inputs: frame (required), bone_name (required), armature_name (required), scale, +3 more. Returns: object

ping_blenderA

Check the Blender bridge and report the open file, Blender version, and scene.

Inputs: no named parameters. Returns: object

probe_bone_deformationB

Temporarily rotate a bone around local X, Y, and Z, measure evaluated mesh deformation, restore the pose, and report the strongest effective axis.

Inputs: bone_name (required), armature_name (required), angle_degrees. Returns: object

render_frameC

Render and return an exact animation frame as an image the model can see.

Inputs: frame (required), transparent, resolution_x, resolution_y.

render_video_overlayC

Render an exact Blender timeline frame with the posed model composited over its mapped reference-video frame.

Inputs: frame (required), label, resolution_x, resolution_y.

save_blendB

Save the current .blend file, or save a copy to an explicit absolute path.

Inputs: filepath. Returns: object

set_current_frameC

Move the timeline and evaluate the dependency graph at an exact frame/subframe.

Inputs: frame (required), subframe. Returns: object

set_keyframe_interpolationC

Change interpolation for matching keyframes, optionally restricted to a frame range.

Inputs: data_path (required), object_name (required), interpolation (required), frame_end, +1 more. Returns: object

set_timelineC

Set the animation range and frames per second.

Inputs: frame_end (required), frame_start (required), fps. Returns: object

setup_video_referenceA

Attach a reference video to Blender's compositor for pose-by-pose rotoscoping. The model is rendered over the corresponding video frame; video_frame_offset shifts video timing relative to the Blender timeline.

Inputs: video_path (required), model_opacity, video_frame_offset. Returns: object

validate_walk_cycleB

Sample paw IK targets across a walk, identify ground-contact frames, and flag displacement while a paw should be planted.

Inputs: target_names (required), frames, ground_z, contact_tolerance. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 24 tools

    Disambiguation4/5

    Tools are mostly distinct, covering scene inspection, rig analysis, keyframing, timeline, rendering, and validation. The only minor overlap is between key_pose_bone (for generated rig bones) and insert_keyframe (generic property keying), but descriptions clarify the intended use.

    Naming Consistency5/5

    All tool names follow a consistent verb-first snake_case pattern (e.g., inspect_scene, create_limb_ik, set_timeline). No mixing of camelCase or inconsistent verb styles. Naming is uniform and predictable.

    Tool Count4/5

    24 tools is on the heavier side but appropriate for the breadth of animation-related tasks (import, rig inspection, keyframing, timeline, rendering, video reference). Each tool has a clear purpose, and the count does not feel excessive given the complexity of Blender animation.

    Completeness4/5

    The tool set covers the full animation pipeline: asset import, scene and rig inspection, limb discovery, IK setup, keyframing, timeline control, validation, rendering, and video reference. Minor gaps exist like direct NLA strip editing or advanced animation modifiers, but the core workflow is well supported.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to create, inspect, and animate 3D scenes in Blender through natural language and structured tool calls.
      6
      MIT
    • A
      license
      C
      quality
      B
      maintenance
      Enables AI agents to control Blender through 150+ tools across 24 modules, including modeling, materials, lighting, animation, rendering, mesh quality analysis, and visual feedback, plus expert prompts and goal-first workflow management.
      209
      4
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables LLMs such as Claude to drive Blender through high-level tools for real-world-scale modeling, PBR texturing, lighting, rendering, rigging/animation, and UE5 game-asset baking and export. It also provides asset-library search, reference comparison, quality inspection, and import/export of common 3D file formats.
      58
      MIT