ai.starreel/starreel

Turn a script into a finished, downloadable short-drama episode — via MCP or REST.

AI & MLTypeScriptv0.1.212

StarReel MCP

Turn a script into a finished, downloadable short-drama episode — from Claude, Cursor, or any MCP client.

npm version npm downloads license node

StarReel is a prepaid AI video-production pipeline. This MCP server exposes the whole factory — 120+ tools covering every stage — so an AI agent can take a raw script all the way to a finished .mp4:

script → AI rewrite → cast / scenes / props extraction → character portraits & sheets
       → storyboards → keyframes → video shots → voiceover (TTS) → final cut (.mp4 link)

It is a thin, open client: all the heavy lifting (character-consistency gates, frame chaining, best-of-N auditing, billing) runs server-side at starreel.ai.

Quick start

Install in Cursor Install in VS Code

  1. Create an API key with produce scope in StarReel → Settings → API Keys (srk_live_..., shown once).
  2. Add the server to Claude Code:
claude mcp add starreel -e STARREEL_API_KEY=srk_live_xxx -- npx -y @starreel/mcp

Or install the Claude Code plugin — MCP server + agent skill in one step (set STARREEL_API_KEY in your shell first):

/plugin marketplace add waydaxp/starreel-mcp
/plugin install starreel@starreel
  1. Ask your agent: "Take this script and produce a full episode: <your script>" — it will quote each paid stage first and only spend after you confirm.

Works with any MCP client

Requires Node ≥ 18 (npx). The standard config below works as-is in Cursor · Windsurf · Cline / Roo Code · Claude Desktop · Trae · Cherry Studio · Chatbox · DeepChat and any client that reads an mcpServers JSON block:

{
  "mcpServers": {
    "starreel": {
      "command": "npx",
      "args": ["-y", "@starreel/mcp"],
      "env": { "STARREEL_API_KEY": "srk_live_xxx" }
    }
  }
}

Clients with their own format:

Codex CLI — ~/.codex/config.toml
[mcp_servers.starreel]
command = "npx"
args = ["-y", "@starreel/mcp"]
env = { "STARREEL_API_KEY" = "srk_live_xxx" }
VS Code (Copilot agent mode) — .vscode/mcp.json or user mcp.json
{
  "servers": {
    "starreel": {
      "command": "npx",
      "args": ["-y", "@starreel/mcp"],
      "env": { "STARREEL_API_KEY": "srk_live_xxx" }
    }
  }
}
Gemini CLI — ~/.gemini/settings.json
{
  "mcpServers": {
    "starreel": {
      "command": "npx",
      "args": ["-y", "@starreel/mcp"],
      "env": { "STARREEL_API_KEY": "srk_live_xxx" }
    }
  }
}
No Node / can't run npx? (Coze, Dify, GPTs, custom agents)

Drive the same pipeline over REST (/v1/produce/*) and paste SKILL.md into your system prompt — it carries the full workflow order, billing disciplines, and failure playbook. See the API docs.

What's inside

StageTools (selection)
Orientationget_capabilities_guide (free, local) — which entry point for which material, pipeline order, gates, billing
Project setupcreate_drama · update_project_settings · list_project_options
Scriptset_script · AI rewrite · edit_rewritten_script
Bring your own materialget_script_format_spec · check_script_format · adopt_external_script (rewrite on any AI, then adopt verbatim) · get_storyboard_table_spec → check_storyboard_table → import_storyboard_table (a finished shot list skips rewrite + breakdown) · get_bulk_import_spec → check_bulk_import → bulk_import_storyboards (structured JSON builds cast, scenes and shots in one go) · upload_* (own portraits / scene / prop / shot images)
Cast & worldasset extraction · update_character · generate_world_concept · generate_art_bible
Identity anchorsgenerate_portraits_and_sheets (portraits + character sheets = the consistency anchor)
Storyboardsquote_storyboards → generate_storyboards → get_storyboards
Frames & videoquote_frames → generate_frames · quote_videos → generate_videos
Audiogenerate_tts · generate_bgm · generate_sfx · voice management
Finishingcompose_episode (free) · get_final_cut · render_multi_aspect · posters & covers
Localizationtranslate_subtitles · localization jobs
Ads / MV modesproduct library & product sheets · MV lyrics → story → script

Project types: drama / ad / mv / brand_film.

Billing is agent-safe by design

  • Prepaid, never negative. Costs are pre-authorized before any vendor call; insufficient balance returns a clean 402 — nothing half-runs.
  • Quote before spend. Big-ticket stages are quote_* → show the user → generate_* with the returned quote_id. For video, quote == actual charge (same function computes both).
  • Final cut is free. Composition, transitions, SFX matching and deliverable packaging don't bill.
  • API keys are stored hashed and exchanged for 15-minute short-lived tokens; revoke in Settings at any time.

Built for agents: the operating skill

SKILL.md ships inside the package — a platform-agnostic operating manual (full pipeline order + ten operating disciplines + a failure playbook). The server also announces the same guidance at connect time (MCP instructions) and exposes it as a tool, get_capabilities_guide, so an agent that has never seen this file still learns which entry point each kind of material takes. Skill-aware clients load it automatically; on platforms that can't run npx (Coze / Dify / GPTs / custom agents) paste it into the system prompt and drive the same pipeline over REST (/v1/produce/*).

Install it as a standalone agent skill (Claude Code, Codex, Cursor, OpenCode and 70+ agents) via the skills CLI:

npx skills add waydaxp/starreel-mcp

Environment variables

VariableRequiredDefault
STARREEL_API_KEY✅—
STARREEL_AUTH_BASEhttps://api.shortreelai.com

REST API (OpenAPI)

Prefer plain REST? The full production facade is described in openapi.json (OpenAPI 3.1, 100+ operations — generated from this package's tool surface, so operationIds match MCP tool names 1:1). Browse it rendered at waydaxp.github.io/starreel-mcp, or generate a typed client for any language:

npx openapi-typescript https://raw.githubusercontent.com/waydaxp/starreel-mcp/main/openapi.json -o starreel.d.ts

Links

License

MIT — this client is open; the production pipeline is a hosted service.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @starreel/mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "ai-starreel-starreel": {
      "command": "npx",
      "args": [
        "-y",
        "@starreel/mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@starreel/mcpnpm

Compatible MCP Clients

ai.starreel/starreel works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More