LONGTAKE
EN RU
To the studio →

Seedance MCP server for Claude Code and Codex

Longtake is a cloud AI video studio, and its MCP server hands the whole studio to an AI agent. Claude Code, Codex, Cursor, Claude Desktop — any client that speaks MCP (Model Context Protocol, the open standard agents use for tools) — creates projects, casts characters with locked voices, shoots Seedance 2.5 and 2.0 takes (Kling and Gemini Omni too), finishes 2.5 drafts in 1080p or 4K and reads back every file and its token spend. The agent signs in with a personal token you issue and revoke in the studio, and the renders are billed as in the studio: to your own model-provider key at its list price, or to studio credit if you hold it. Same account, same keys, same prices — just with an agent at the desk.

Works withAny MCP client over stdio — Claude Code, Codex, Cursor, Claude Desktop
Installnpx -y longtake-mcp — on npm and in the official MCP Registry
AuthA personal agent token (cf_…), issued and revoked in the studio
BillingYour provider key at list price; studio credit, if you hold it, goes first at list price +15% — agent access adds nothing

What an agent can do

Thirteen tools over the studio's API — enough to run a whole shoot without opening the interface.

ToolWhat it does
studio_overviewProjects, folders, scenes, characters and assets — the whole studio at a glance
create_project · create_folder · create_sceneSet up the production structure: project → episode → scene
create_characterCast a character with a portrait and a locked voice sample
generate_mocapGenerate a four-view character sheet (Seedream / Nano Banana Pro)
upload_assetAdd reference images and audio to the project library
generate_videoLaunch a take: prompt with @mentions, model, resolution, duration, variants — or a 480p draft on Seedance 2.5
finish_draftRender a Seedance 2.5 draft again in 1080p or 4K as the same shot — one live final per draft, within 14 days
take_status · scene_takesFollow renders: status, video file, last frame, token spend
cancel_takeDelete a take; a Seedance take still in the queue is cancelled before it bills
estimate_costPrice a generation before running it, from the exact token formula

An agent prompt then reads like a call sheet: “Create a project called Nordic Noir, cast a detective with a gravelly voice, and shoot three 5-second takes of him on a rainy pier at 480p — tell me what each cost.”

A Higgsfield MCP alternative: your own key instead of credits

Higgsfield connects to agents through MCP as well, and its help center spells out the terms: the connection needs an active paid Higgsfield subscription, and every generation an agent makes deducts Higgsfield credits. This server bills the other way. The agent renders on your own key — for Seedance, a BytePlus ModelArk key, the model's official API — and the provider charges that key at its published price, take by take: no credits are needed to shoot. The studio itself is a flat subscription: €9.99 a month, the first 7 days free. The comparison beyond agents is on Longtake vs Higgsfield.

Higgsfield is a trademark of its owner and is not affiliated with Longtake. What its MCP requires and how it bills is taken from Higgsfield's help center as of November 2026.

Security model

The token is issued in the studio: account menu → API keys → Agent access — MCP. It signs in as you — your projects, your provider keys, your rate limits — and nothing else: it cannot issue or revoke tokens, and revoking it in the same dialog kills the agent's access without touching your password or keys. The studio stores only a hash of it.

Billing stays yours. A render launched by an agent is billed exactly like one you click yourself: the model provider charges your own API key at list price. If you hold studio credit, a Seedance render it covers is paid from it first, at list price plus 15% — an agent has no model menu to pick your key instead. Agent access itself costs nothing on top: no separate metering, no markup of its own.

Set it up

  1. Issue a token

    In the studio: account menu → API keys → Agent access — MCP → Create token. Copy the cf_… value — it is shown once.

  2. Get the server

    It is on npm as longtake-mcp and listed in the official MCP Registry as io.github.svatrous/longtake, so npx fetches it — nothing to download. Prefer a file? The same server is a single Node file with two dependencies:

    curl -O https://longtake.studio/mcp-server.cjs
    npm i @modelcontextprotocol/sdk zod

    Source, README and licence (MIT): github.com/svatrous/longtake-mcp.

  3. Register it with your agent

    For Claude Code:

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

    For Codex:

    codex mcp add longtake \
      --env STUDIO_URL=https://longtake.studio \
      --env STUDIO_TOKEN=cf_your_token \
      -- npx -y longtake-mcp

    Cursor, Claude Desktop and most other MCP clients take the same command and the same two environment variables as JSON:

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

    With the downloaded file instead of the package: -- node mcp-server.cjs.

Questions

Does a render launched by an agent cost extra?
No. It is billed exactly like a render you click yourself: the model provider charges your own API key at its list price. If you hold studio credit, a Seedance render it covers is paid from it first, at list price plus 15% — an agent has no model menu to pick your key instead. Agent access itself is neither metered nor marked up.
Do I need a Seedance API key?
A key for each provider you shoot with: for Seedance 2.5 and 2.0 it is a BytePlus ModelArk key — the official API, opened on a personal account — and Kling or Google keys for their models. You add a key in the studio once; the agent never sees it, and its token cannot read it. Seedance renders can also be paid from studio credit instead of a key: it is topped up in the studio, and a render paid with it costs the list price plus 15%.
What can the token do — and not do?
It 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 revoking a leaked token in the same dialog shuts the door from that moment on; your password and keys are untouched, but look over your projects for what it did before that.
Which agents work with it?
Anything that speaks MCP over stdio: Claude Code, Codex, Cursor, Claude Desktop and the growing list of MCP-capable tools. The server is a plain Node file, so it runs anywhere Node 20+ runs.
How is it different from Higgsfield's MCP?
Higgsfield's MCP spends Higgsfield credits: by its help center, it needs an active paid subscription, and every generation an agent makes deducts credits. Here the agent renders on your own provider key at the provider's list price, with no credits needed, and the studio is a flat subscription — €9.99 a month, the first 7 days free.
Is there a plain REST API?
The MCP server is a thin client over the studio's REST API using the same Bearer token, so the API exists — but MCP is the supported surface. The raw routes aren't a documented contract yet and may change without notice.

Before the agent can shoot, the studio needs your keys: