
Connect Kagelot to your own AI coding agent (Claude Code, Codex, Gemini CLI, Cursor) via MCP. The squad writes screenplays, clip packages, and cinematic prompts inside your tool — the agents' brains never leave our server, you receive only finished work.
get_project + write_project_fileYour own AI opens your Kagelot project, reads the screenplay and clip files, and writes direction and prompts straight into it.
get_kagelot_brainKagelot's craft docs and directing rules, so your AI directs clips and writes scenes the Kagelot way.
create_settings_cardYour AI proposes an image or video render as a card in your project chat. You click Generate in the app.
Open Settings → Connect (MCP) inside Kagelot, hit Activate, and copy your personal API key. Keys are revocable anytime.
Add the server URL + key to your client's MCP config — or grab the starter kit below and everything is preconfigured.
Ask your agent to direct a clip or write a scene. It works inside your project with Kagelot's craft rules. MCP is free; renders use your credits in the app.
Download and drop into any project: lightweight agent instructions, the project scaffold, and a preconfigured MCP connection. Works with Claude Code, Cursor, Antigravity — any MCP client.
Claude Code or Codex, about 2 minutes. Use your own key where it says <your-key>.
Open Kagelot, go to Settings → Connect (MCP) and click "Activate MCP access". Your first key is created instantly and shown once. Copy it and keep it safe. No paid plan is required. Paid Kagelot work uses your prepaid balance.
Paste this single line in your terminal, with your own key in place of <your-key>. Then restart Claude Code and type /mcp: kagelot shows as connected. Add -s user right after "mcp add" to turn it on in every folder.
claude mcp add --transport http kagelot https://kagelot.com/api/mcp --header "Authorization: Bearer <your-key>"
Codex has no --header flag, so add this block to ~/.codex/config.toml instead, save, start a new Codex session and type /mcp. Needs Codex 0.44.0 or newer.
[mcp_servers.kagelot]
url = "https://kagelot.com/api/mcp"
http_headers = { "Authorization" = "Bearer <your-key>" }In Kagelot, open your Projects, click ⋮ on a project and choose "Copy board link". In your terminal, type "load this project" and paste the link. The agent reads the story, characters and locked style, then you direct in plain words.
Add an HTTP MCP server with this config. Gemini CLI and Kimi Code also have a one-line command on Settings → Connect (MCP).
{
"mcpServers": {
"kagelot": {
"url": "https://kagelot.com/api/mcp",
"headers": {
"Authorization": "Bearer <your-key>"
}
}
}
}Everything the agent does from your terminal shows up in the project while it happens. Every file it writes is logged in the project chat and appears on the canvas, where an open tab updates by itself. When a clip needs images or video, the agent leaves pending Generate and Render cards in the chat. You click them in the app, and the results land on the clip's bar on the canvas.
Every tool is free. Images and video are generated in the app with your normal credits.
get_kagelot_brainThe operating guide: how a Kagelot project is laid out, plus the craft docs and style slugs you can pull on demand.Freelist_projectsYour Kagelot projects.Freeget_projectOpen a project from its link or id: file tree and memory.md.Freeread_project_fileRead a screenplay, clip prompt file or note.Freewrite_project_fileCreate or update a text file. Every write is checked and logged in the project chat.Freepost_chat_messageLog your instruction and the agent's summary in the project chat.Freecreate_settings_cardPropose an image or video render as a pending card in the chat. You click Generate or Render in the app.Freelist_stylesThe visual style blueprints (names and previews; master prompts stay on our server).Freeread_styleRead one style blueprint to apply it.Freeread_knowledge_docRead one Kagelot craft doc, such as the Seedance prompt rules.FreeAn MCP (Model Context Protocol) server at https://kagelot.com/api/mcp. It connects AI coding agents like Claude Code and Codex to your Kagelot film projects, so the agent can read and write screenplays, clip prompts and notes, and use Kagelot's filmmaking craft docs and styles, so your own AI works the way the Kagelot chat does.
Claude Code, Codex (0.44.0 or newer), Gemini CLI and Kimi Code have a one-line or config-file install on Settings → Connect (MCP). Any other MCP client that supports an HTTP server with an Authorization header, such as Cursor or Antigravity, works with the JSON config.
No. Every MCP tool is free: your own AI (Claude Code, Codex…) does the thinking, and you pay your AI provider as usual. Reading and writing project files, Kagelot's craft docs and styles, chat logging and proposing render cards cost nothing. Images and videos are generated in the Kagelot app and use your normal credits there.
No plan is required. A key works after your first purchase (a credit pack or a plan). Generating images and videos uses your Kagelot credits.
No. The agent proposes a render as a pending card in your Kagelot chat, and you click Generate or Render in the app. Nothing is spent without your click.
Yes. Files the agent writes appear on the project canvas, every write is logged in the project chat, and an open browser tab on the project updates by itself.
Your key is shown once and never stored in readable form. You can revoke any key instantly from Settings → Connect (MCP), and a revoked key stops working on the next call.
Your AI terminal can direct films now. Here's how to plug Kagelot in.
One connection gives Claude Code or Codex Kagelot's whole film crew as tools.
Open Kagelot, go to Settings → Connect (MCP), hit Activate, and copy your key. It's shown once, so keep it safe.
In Claude Code, paste one line: claude MCP add, the Kagelot address, and your key as the header.
Restart Claude Code and type slash MCP. Kagelot shows connected. Add dash S user to have it in every folder.
Codex has no header flag, so open the config file instead, dot codex, slash config dot toml, and paste this block: the address and your key.
Save, start a new Codex session, and type slash MCP. You need Codex zero point forty-four or newer.
Now go to your projects. Pick one, and copy its board link.
Back in your terminal, type load this project, and paste the link.
It reads the whole project: the story, the characters, the style. Then it asks what's next.
Say yes, and it directs your next clip, right from your terminal.
And it's all live in Kagelot. The chat shows the same conversation, and the new clip appears on your canvas.
Click generate, and the images land right in place.
Then hit render. Your clip is ready.
Full guide at kagelot dot com, slash MCP.