longtake
v1.0.2Drive Longtake Studio from an agent: AI video takes on your own API key, characters, drafts, costs
Values you need
| Variable | What it is | |
|---|---|---|
STUDIO_URL | required | Studio address — https://longtake.studio for the cloud studio |
STUDIO_TOKEN | required secret | Personal agent token from the studio: account menu → API keys → Agent access |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add longtake -e 'STUDIO_TOKEN=<STUDIO_TOKEN>' -e 'STUDIO_URL=<STUDIO_URL>' -- npx -y longtake-mcp@1.0.2Add to
claude_desktop_config.json{
"mcpServers": {
"longtake": {
"args": [
"-y",
"longtake-mcp@1.0.2"
],
"command": "npx",
"env": {
"STUDIO_TOKEN": "<STUDIO_TOKEN>",
"STUDIO_URL": "<STUDIO_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"longtake": {
"args": [
"-y",
"longtake-mcp@1.0.2"
],
"command": "npx",
"env": {
"STUDIO_TOKEN": "<STUDIO_TOKEN>",
"STUDIO_URL": "<STUDIO_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "STUDIO_TOKEN",
"id": "studio-token",
"password": true,
"type": "promptString"
},
{
"description": "STUDIO_URL",
"id": "studio-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"longtake": {
"args": [
"-y",
"longtake-mcp@1.0.2"
],
"command": "npx",
"env": {
"STUDIO_TOKEN": "${input:studio-token}",
"STUDIO_URL": "${input:studio-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.longtake]
command = "npx"
args = ["-y", "longtake-mcp@1.0.2"]
env = { "STUDIO_TOKEN" = "<STUDIO_TOKEN>", "STUDIO_URL" = "<STUDIO_URL>" }For AI agents
- Ask the user for: STUDIO_URL, STUDIO_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: studio_overview, create_project, create_folder, create_scene, upload_asset, generate_mocap, create_character, generate_video, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json