
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
概覽
讓助理驅動 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。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Longtake,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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
Setup
-
Issue a token. In the studio: account menu → API keys → Agent access — MCP → create. It is shown once and can be revoked alone.
-
Register it with your agent. The package is on npm as
longtake-mcp, sonpxfetches it — nothing to clone. For Claude Code:Any other MCP client takes the same command and the same two environment variables. As JSON (Cursor, Codex, Claude Desktop):
Prefer a checkout?
git clone https://github.com/svatrous/longtake-mcp.git && cd longtake-mcp && npm install, then point the command atnode 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版本歷史
3- v1.0.2最新Oct 10, 2026
- v1.0.1Oct 9, 2026
- v1.0.0Sep 25, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分