Longtake

io.github.svatrous由 GitHub 账号 svatrous 发布v1.0.2更新于 Oct 24, 2026

Drive Longtake Studio from an agent: AI video takes on your own API key, characters, drafts, costs

已验证STDIO仅桌面媒体与设计AI 与机器学习

概览

AI 生成的概览

让助手驱动 Longtake Studio:搭建制作结构、选角、用你自己的模型密钥拍摄 AI 视频镜头,并读取每次渲染的费用。

可以做什么
  • 总览工作室中的项目、剧集、场景、角色与素材
  • 创建制作结构(项目、文件夹、场景),并用肖像和锁定声音样本创建角色
  • 生成四视图角色设定图,上传参考图片、音频和视频片段
  • 在拍摄前估算镜头费用,再用提示中的角色与素材拍摄,可选低成本草稿模式
  • 将草稿完成为 1080p、查询镜头状态与花费、列出场景镜头,以及取消或删除镜头
适用场景
适合希望由助手在 Longtake Studio 中规划并制作 AI 视频的场景:搭建制作、选角、拍摄草稿与成片,并在付费前了解每次渲染的价格。
运行要求
通过 npx 从 npm 包 longtake-mcp 以 stdio 在本机运行(需要 Node.js)。需要 STUDIO_URL 指定工作室地址,以及 STUDIO_TOKEN 提供个人 agent 令牌(在工作室的 API keys → Agent access 中创建)。令牌仅经 HTTPS 传输,或仅对 localhost 上的工作室使用明文 HTTP。
安装前请注意
渲染按你自己的模型服务商密钥以标价计费,助手操作会真实花钱,建议先估算费用。该令牌等同于你的账号,除密钥、令牌和账单外几乎可做任何事,包括删除项目和镜头;请勿放入共享配置,泄露后立即吊销。有三个工具会读取本机媒体文件并发送到 STUDIO_URL 指定的工作室。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Longtake,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

longtake-mcp

MCP server for Longtake Studio — an AI video studio that runs on your own API key. With this server an AI agent (Claude Code, Codex, Cursor, any MCP client) can set up a production, cast characters with a locked voice, shoot takes on Seedance 2.0 / 2.5, Veo 3.1, Gemini Omni or Kling 3.0, draft cheaply and finish in 1080p, and read back the cost of every render.

Renders launched by an agent are billed exactly like clicks in the studio: the model provider (BytePlus, Google, Kling, fal.ai) charges your own key at its list price. Agent access itself is neither metered nor marked up.

Longtake is the name of the software. It is not the cinematography term "long take" — though that is where the name comes from: one take of one scene is the unit of work.

What the agent gets — 13 tools

ToolWhat it does
studio_overviewProjects, episodes, scenes, characters and assets — the whole studio at a glance
create_project · create_folder · create_sceneThe production structure: project → episode → scene
create_characterCast a character with a portrait and a locked voice sample; the studio screen-tests the portrait against moderation
generate_mocapA four-view character sheet (Seedream / Nano Banana Pro)
upload_assetReference images, audio and video clips for the project library
estimate_costThe price of a take before it is shot — model, resolution, length, reference clips
generate_videoShoot a take; @names in the prompt resolve to characters and assets; draft: true shoots a Seedance 2.5 draft
finish_draftFinish a Seedance 2.5 draft in 1080p — the same take, rendered sharper
take_status · scene_takesStatus, file, token spend and what a take was shot as
cancel_takeDelete a take (a queued BytePlus render is cancelled at the provider)

Setup

  1. Issue a token. In the studio: account menu → API keys → Agent access — MCP → create. It is shown once and can be revoked alone.

  2. Register it with your agent. The package is on npm as longtake-mcp, so npx fetches it — nothing to clone. For Claude Code:

    bash
    claude mcp add longtake \  -e STUDIO_URL=https://longtake.studio \  -e STUDIO_TOKEN=cf_your_token \  -- npx -y longtake-mcp

    Any other MCP client takes the same command and the same two environment variables. As JSON (Cursor, Codex, Claude Desktop):

    json
    {  "mcpServers": {    "longtake": {      "command": "npx",      "args": ["-y", "longtake-mcp"],      "env": { "STUDIO_URL": "https://longtake.studio", "STUDIO_TOKEN": "cf_your_token" }    }  }}

    Prefer a checkout? git clone https://github.com/svatrous/longtake-mcp.git && cd longtake-mcp && npm install, then point the command at node mcp-server.js.

The full guide, with what the token can and cannot do, is at longtake.studio/mcp. Prompt-writing skills for the same agent (Seedance 2.0, Seedance 2.5, Gemini Omni, character sheets) are at longtake.studio/skills.

Safety

The token acts as your account for the work: it shoots takes on your provider keys, inside your rate limits. It cannot read or change those keys, issue or revoke tokens, or touch billing — those routes turn an agent token away. Everything else you can do it can do too, including deleting a project, so keep it out of shared configs and revoke it in the same dialog if it leaks.

Local files. Three tools read a file from this machine: upload_asset; create_character, when given a portrait or a voice sample by path; and generate_mocap, for its reference photos. They take only media — jpg, png, webp, gif, mp3, wav, m4a, ogg, mp4, mov — and only a regular file whose first bytes really are that format, up to 89 MB. A directory, a device, a pipe or a text file renamed to .png is refused before anything is read or sent. What does go goes to your studio (STUDIO_URL), into the account the token belongs to, and nowhere else.

HTTPS only. The token travels over https://, or over plain http:// to a studio on this machine (localhost, 127.0.0.1, [::1]). Any other http:// address is refused before a request is made.

License

MIT. This file is a copy of the studio's own mcp-server.js; the studio also serves it as longtake.studio/mcp-server.cjs.

来源:README.md,提交 b8d31f0

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

3
  1. v1.0.2最新Oct 10, 2026
  2. v1.0.1Oct 9, 2026
  3. v1.0.0Sep 25, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分