Skip to main content
Glama
Cascadeur MCP
by gprethesh

Cascadeur MCP

An independent local MCP server for controlling Cascadeur from Codex, Claude Desktop, Claude Code, Cursor, and other stdio MCP clients.

It provides 36 named tools for scene and rig inspection, body/finger posing, keyframes, interpolation, timeline selection, camera controls, PNG previews and FBX import/export. A curated action catalog exposes physics, AutoPosing, retargeting, cycles and review commands with explicit verification limits. An optional 37th tool enables advanced Python scripting.

Start with the AI operating guide. It explains which controls to use, how to verify body and finger animation, and which APIs to avoid. The guide is also served to agents as cascadeur://guide.

What was tested

The server was tested against a real Apple silicon Mac installation of Cascadeur reporting inHouse / Python API dev, with embedded Python 3.11. The supplied live test used the locally installed Cascy sample to animate the torso, arm and all 15 right-hand finger controls. It checked interpolated poses, rendered body/hand views, saved and reopened the .casc, and exported animation FBX. See the test report and capability limits.

This is a functional animation integration, not a guarantee of finished artistic quality. Cascadeur's API coverage is uneven. Physics/menu commands and advanced systems are labeled separately from operations verified in the live test. Windows and Linux are unverified; Claude and Cursor configuration is provided but their UIs were not tested directly.

Related MCP server: Cascadeur MCP

Install

Use Python 3.11 or newer in your normal operating-system environment:

git clone https://github.com/gprethesh/cascadeur-mcp.git
cd cascadeur-mcp
python3 -m venv .venv
.venv/bin/python -m pip install .

On Windows, use .venv\Scripts\python.exe in place of .venv/bin/python.

The server needs no API key. It uses your AI client's model and your installed/licensed Cascadeur application. It does not use Cascadeur's built-in MCP server, patch the app, or install Python packages into the app's embedded Python.

1. Generate your bridge and client settings

Choose absolute paths for the connection folder, animation workspace, and generated setup folder. Keep these folders local to your machine.

.venv/bin/python -m cascadeur_mcp \
  --bridge-dir "/absolute/path/cascadeur-session" \
  --workspace "/absolute/path/animation-projects" \
  --setup "/absolute/path/cascadeur-setup"

This writes:

  • start_bridge.py: a script to run in Cascadeur.

  • app/cascadeur_mcp/: a standalone copy of the app bridge.

  • codex.toml, claude-desktop.json, and cursor.json: ready-to-merge client settings using the actual Python executable and paths.

Keep the generated app folder beside the startup script. Re-run setup after upgrading this server, then restart Cascadeur to load the new bridge code.

2. Start the bridge inside Cascadeur

Open Window → Python Console and execute this line, using the generated script's actual path:

exec(open("/absolute/path/cascadeur-setup/start_bridge.py").read())

Leave Cascadeur open. Start the bridge again after each app restart. The console can be closed after execution. A compatible Cascadeur build must supply csc, PySide6, the event-message manager and ModelEditor.fit_animation_size_by_layers.

Do not start Cascadeur's built-in MCP server for this integration.

Check the connection from a terminal:

.venv/bin/python -m cascadeur_mcp \
  --bridge-dir "/absolute/path/cascadeur-session" \
  --workspace "/absolute/path/animation-projects" \
  --doctor

3. Connect your AI client

Merge the generated settings into the client's existing configuration, preserving other servers. Use the same bridge directory and workspace in every client. Use literal absolute paths in JSON and TOML; do not leave ~, environment placeholders, or example paths.

Codex

Merge generated codex.toml into ~/.codex/config.toml, then restart the MCP connection in Codex settings. Example:

[mcp_servers.cascadeur]
command = "/absolute/path/cascadeur-mcp/.venv/bin/python"
args = ["-m", "cascadeur_mcp", "--bridge-dir", "/absolute/path/cascadeur-session", "--workspace", "/absolute/path/animation-projects"]
startup_timeout_sec = 30
tool_timeout_sec = 120

Official Codex MCP documentation.

Claude Desktop

Use Settings → Developer → Edit Config, and merge generated claude-desktop.json. On macOS the configuration file is ~/Library/Application Support/Claude/claude_desktop_config.json. Restart Claude Desktop.

{
  "mcpServers": {
    "cascadeur": {
      "command": "/absolute/path/cascadeur-mcp/.venv/bin/python",
      "args": ["-m", "cascadeur_mcp", "--bridge-dir", "/absolute/path/cascadeur-session", "--workspace", "/absolute/path/animation-projects"]
    }
  }
}

Official local MCP setup guide.

Claude Code

claude mcp add --transport stdio --scope user cascadeur -- \
  "/absolute/path/cascadeur-mcp/.venv/bin/python" -m cascadeur_mcp \
  --bridge-dir "/absolute/path/cascadeur-session" \
  --workspace "/absolute/path/animation-projects"

Use /mcp to inspect the connection. Long operations may need MCP_TOOL_TIMEOUT=120000 (milliseconds). Official Claude Code documentation.

Cursor

Merge generated cursor.json into ~/.cursor/mcp.json globally, or .cursor/mcp.json for a project. Reload Cursor and enable the cascadeur server. The generated entry includes "type": "stdio".

Official Cursor documentation.

Other clients

Launch the same Python executable and arguments as a local stdio MCP server. Image review requires support for MCP image content. A remote-only chat cannot launch an app on your computer without a local runtime.

4. First prompt

Read cascadeur://guide. Check Cascadeur's capabilities and inspect the active scene, rig, body controls, finger controls and tracks. Report the available operations and license restrictions before editing.

For an animation task, provide the character, reference, action, intended duration/FPS and output requirements. Have the agent checkpoint, block poses, inspect inbetweens, refine hands, and verify saves/exports.

Coverage

Area

Access

Projects and scene tabs

Create, open, activate, inspect, save

Rigs and objects

Search, types, behaviours, data values, transforms, finger candidates

Animation

Body/finger pose batches, keys, interpolation, track/frame selection, motion sampling

Review

Camera inspection/placement, framing, display modes, PNG images returned through MCP

Exchange

FBX scene/model/animation import and scene/animation/selection export

Physics and advanced menu tools

Curated action catalog; state-dependent, not all verified

Wider API

Live signature discovery; optional Python execution

See tool schemas for machine-readable arguments, and the guide for workflows and restrictions.

Known limits

  • Native Python video export crashed the tested Cascadeur build. It is not exposed as a normal tool. Capture PNG frames instead. See TESTING.md.

  • Additive layers, mocap, AI motion generation, retargeting quality and rig generation are not claimed as verified features. Discover APIs and check your license before use.

  • Menu actions report dispatch, not successful completion. Many commands are toggles, need a selection, or can open dialogs.

  • The server checks normal input/output file paths against the workspace. This is not an operating-system sandbox. Projects may reference other assets.

  • A timeout or application crash can leave an uncertain result. Inspect before retrying. Save checkpoints before substantial changes.

Advanced scripting

To expose cascadeur_run_script, add --allow-scripts both to the setup-generation command and to the server's client arguments. The generated settings include it when setup uses that flag.

Scripts execute with the user's full privileges inside Cascadeur, including file, process and network access. They bypass the workspace path checks used by normal tools. They are disabled by default. Read the scripting section of the AI guide before using them.

How the connection works

The AI client talks standard MCP over stdio to a Python process. That process writes requests into a local mailbox. A Qt timer in Cascadeur executes one request at a time on the app's main thread and writes a response. There is no HTTP listener, open network port, model dependency or remote relay.

The mailbox uses atomic writes, session identities, deadlines, cancellation cleanup, payload limits and a cross-process client lock. On Unix, the connection directory is owner-only. Windows uses the folder's inherited ACL; keep it in a private user directory. All clients share the active scene and selection, so avoid simultaneous artistic edits.

Development and testing

.venv/bin/python -m pip install '.[dev]'
.venv/bin/python -m pytest -q
.venv/bin/ruff check .

To reproduce the live test, start the bridge against a dedicated test workspace, then run:

.venv/bin/python examples/live_smoke.py \
  --sample "/Applications/Cascadeur.app/Contents/Resources/samples/Cascy.casc" \
  --workspace "/absolute/path/test-workspace" \
  --bridge-dir "/absolute/path/cascadeur-session"

The test creates/overwrites its named test scene and previews in that workspace. It uses the sample installed with Cascadeur; no vendor rig or app binaries are distributed by this repository.

License

This integration is MIT licensed. Cascadeur and bundled sample assets retain their own licenses. This project is independent of Nekki, OpenAI, Anthropic and Cursor.

Available Tools

36 tools
cascadeur_activate_sceneA
Destructive

Activate a scene index returned by list_scenes. Refresh indices before use.

Inputs: index (required).

cascadeur_animate_transformsA
Destructive

Author body and finger animation in a batch. Delta rotations reference a pre-edit frame, default 0. Read poses and render to verify.

Inputs: keyframes (required), interpolation.

cascadeur_capabilitiesA
Read-onlyIdempotent

Discover installed app tools, actual editor methods, license flags and limitations. Presence is not proof of execution.

Inputs: no named parameters.

cascadeur_capture_viewportC
Destructive

Render a PNG of the active viewport and return it as an MCP image. Use distinct filenames per pose.

Inputs: path (required), width, height, overwrite.

cascadeur_export_fbxA
Destructive

Export FBX after checking app license. Verify the exported skeleton, frame range and axes in the receiving app.

Inputs: path (required), mode, overwrite.

cascadeur_frame_objectsC
Destructive

Frame body or finger controls in the viewport for visual inspection.

Inputs: objects (required).

cascadeur_get_cameraA
Read-onlyIdempotent

Read the active viewport camera for restoring a view after hand/body closeups.

Inputs: no named parameters.

cascadeur_get_objectA
Read-onlyIdempotent

Inspect an exact object's behaviours and data channels, including unavailable values. Read before editing properties.

Inputs: object (required), frame.

cascadeur_get_poseB
Read-onlyIdempotent

Read local/global transforms at a frame. Rotations include WXYZ quaternions and Euler radians.

Inputs: objects (required), frame.

cascadeur_get_stateA
Read-onlyIdempotent

Inspect current scene, frame range, selection and object counts.

Inputs: no named parameters.

cascadeur_import_fbxA
Destructive

Import an FBX from the workspace. Animation replaces matching rig data; save a checkpoint and inspect skeleton mappings.

Inputs: path (required), mode.

cascadeur_inspect_apiA
Read-onlyIdempotent

Read live Python API member names/signatures/docs without executing methods. Prefer this over guessing from stale stubs.

Inputs: path, root, limit.

cascadeur_inspect_toolB
Read-onlyIdempotent

Inspect a discovered tool/editor and optional public attribute path. Exposes actual signatures for advanced scripts.

Inputs: name (required), path, editor.

cascadeur_list_actionsC
Read-onlyIdempotent

List curated menu actions for physics, AutoPosing, retargeting, cycles, playback and visual review, with verification status.

Inputs: query.

cascadeur_list_objectsA
Read-onlyIdempotent

Find objects by name substring and exact type, with stable IDs and pagination.

Inputs: limit, query, offset, object_type.

cascadeur_list_scenesA
Read-onlyIdempotent

List open scene tabs with current indices and names.

Inputs: no named parameters.

cascadeur_list_tracksA
Read-onlyIdempotent

List animation tracks, locks, visibility, keys and interpolation. Tracks differ from additive animation layers.

Inputs: no named parameters.

cascadeur_mirrorB
Destructive

Mirror explicit controls at the current frame or selected interval. Requires valid mirror mappings on the rig.

Inputs: objects (required), interval.

cascadeur_new_sceneA
Destructive

Create a new scene tab. Existing tabs are preserved.

Inputs: no named parameters.

cascadeur_open_sceneA
Destructive

Open a .casc scene from an absolute path inside the workspace.

Inputs: path (required).

cascadeur_remove_keysA
Destructive

Remove keys from explicit tracks. Frame 0 is protected; save a checkpoint first.

Inputs: frames (required), tracks (required).

cascadeur_rig_summaryA
Read-onlyIdempotent

Inspect body, Point and Box controls, joints and finger controller candidates. Names alone do not establish axes.

Inputs: no named parameters.

cascadeur_run_actionA
Destructive

Dispatch a named action from list_actions on an explicitly named scene. Many are toggles or depend on selection/license. Dispatch is not verified success.

Inputs: name (required), expected_scene (required).

cascadeur_sample_motionA
Read-onlyIdempotent

Sample global trajectories, path lengths and maximum step distances. Useful for drift/jumps; not an artistic quality score.

Inputs: last (required), first (required), objects (required), step.

cascadeur_save_sceneA
Destructive

Save a .casc checkpoint inside the workspace; requires overwrite=true to replace an existing file.

Inputs: path (required), overwrite.

cascadeur_select_framesB
Destructive

Select an explicit track interval before physics, mirror, clipboard or timeline actions.

Inputs: last (required), first (required), tracks (required).

cascadeur_select_objectsA
Destructive

Select exact objects for context-sensitive actions. An empty list clears selection.

Inputs: objects (required).

cascadeur_set_cameraB
Destructive

Set the active viewport camera position/target in scene units.

Inputs: target, position.

cascadeur_set_frameA
Destructive

Move the timeline cursor. Read the returned frame because Cascadeur can clamp it.

Inputs: frame (required).

cascadeur_set_interpolationA
Destructive

Set outgoing interpolation at existing keys. Verify overshoot and intermediate poses after changing it.

Inputs: frames (required), tracks (required), interpolation (required).

cascadeur_set_keysC
Destructive

Add or update keys and allocate animation data on explicit unlocked tracks.

Inputs: frames (required), tracks (required), interpolation.

cascadeur_set_poseA
Destructive

Key body or finger controls in one edit. Position uses scene units, delta rotation uses degrees; rig solving can adjust values.

Inputs: frame (required), transforms (required), interpolation.

cascadeur_set_propertiesA
Destructive

Edit discovered scalar/vector data channels. Advanced: can change rig/physics behavior. Read get_object first; no guessed names.

Inputs: frame (required), properties (required).

cascadeur_set_rangeA
Destructive

Set playback boundaries. This does not allocate animation data or add keyframes.

Inputs: last (required), first (required).

cascadeur_set_view_modeB
Destructive

Choose clean mesh review or a rig controller display mode for the active viewport.

Inputs: mode (required).

cascadeur_statusA
Read-onlyIdempotent

Check app heartbeat, workspace, bridge version and scripting opt-in without changing the scene.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 36 tools

    Disambiguation5/5

    Each tool targets a distinct resource or action: scene creation vs. opening vs. saving, pose reading vs. writing, viewport vs. camera, FBX import/export, API inspection vs. tool inspection, etc. Even similar-sounding tools like list_objects and get_object differ clearly in scope (list vs. exact). No overlapping purposes that would cause misselection.

    Naming Consistency5/5

    All tools follow the same cascadeur_verb_noun pattern with verbs like get, set, list, open, save, import, export, run, inspect, activate, select, capture, etc. The naming is entirely snake_case and verb-first, making it predictable and easy to navigate. No deviations or mixed conventions.

    Tool Count4/5

    With 36 tools, the count is on the high side but justified given the complexity of a full-featured 3D animation tool like Cascadeur. Each tool serves a distinct function across scene management, rig inspection, posing, animation, timeline, viewport, and FBX. It feels comprehensive rather than bloated, though it exceeds the typical 3-15 range.

    Completeness4/5

    The surface covers the core workflows: scene creation/opening/saving, FBX import/export, viewport control, object and rig inspection, selection, keyframe and interpolation editing, pose and batch animation, track management, and motion sampling. Minor gaps exist, such as no explicit scene deletion or object deletion/duplication, but these are not critical for the primary animation-focused purpose and can be worked around via other tools.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to inspect and edit animation inside a running Cascadeur instance without Computer Use, including scene/object and skeleton rig inspection, bounded joint and Point-target pose edits, snapshots, playback observation, and FBX export.
      37
      2
      MIT