GC

gprethesh/cascadeur-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 7 forks 质量 80 趋势 26MIT

独立的 Cascadeur MCP 服务器:身体和指动画,钻机检查,键框,物理动作和视觉审查 Codex, Claude and Cursor.

概览

一个独立的本地MCP服务器,用于从.控制Cascadeur,以及其他stdio MCP客户端. 它规定了场景和钻机检查、机身/指模、键框、插图、时间表选择、相机控制、PNG预览和FBX进出口。 被整理的动作目录暴露出物理,自动定位,重定向,循环和审查命令,并有明确的核查限制. 一个可选的第37个工具可以实现高级的Python脚本. 它解释了要使用哪些控制,如何验证身体和手指动画,以及需要避免的API. 该指南还作为级联指南提供给代理人。 服务器在House / Python API dev中测试了Cascadeur真实的苹果硅Mac安装,并有嵌入式Python 3.11. 所提供的活性测试使用当地安装的Cascy样本来激活躯干,手臂和所有15个右手指控. 它检查了插头,使身体/手查看,保存并重新打开了.casc,并输出了动画FBX.

概述(AI 翻译)

一个独立的本地MCP服务器,用于从Codex,Claude桌面,Claude Code,Cursor以及其他stio MCP客户端控制Cascadeur.

它提供了36个被命名的工具,用于场景和钻机检查、机身/指头摆放、键框、插入、时间表选择、相机控制、PNG预览和FBX进出口。 被整理的动作目录暴露出物理,自动定位,重定向,循环和审查命令,并有明确的核查限制. 一个可选的第37个工具可以实现高级的Python脚本.

** 从AI操作指南开始。 ** 它解释了要使用哪些控制,如何验证身体和手指动画,以及需要避免的API. 该指南还提供给代理人作为cascadeur://guide。

测试了什么

该服务器被测试为真实的苹果硅Mac安装Cascadeur report [[T1] / Python API dev,并有嵌入式Python 3.11. 所提供的活性测试使用当地安装的Cascy样本来激活躯干,手臂和所有15个右手指控. 它检查了插头、使正文/手取景、保存并重新打开[[T3],并输出动画FBX。 参见测试报告和容量限制.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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.

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

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "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"] } } }