drama-forge-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@drama-forge-mcp recommend a short-drama mode for a workplace revenge twist"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
POV-Drama-Forge 🎬
First-Person POV AI Short-Drama Screenplay Engine, Payoff & Retention Linter, Prompt Compiler & Zero-Dependency MCP Server.
专注打造第一人称高代入感(First-Person POV)短视频 / AI 短剧的通用 Agent 引擎。
纯 Python 3.9+ 标准库零外部依赖,支持 MCP Server / CLI (--json) / Agent Skill (SKILL.md) / 独立 API 生成 四种接入方式。
✨ 为什么专注第一人称 POV AI 短剧?
普通第三人称 AI 短剧跨场景极易换脸穿帮,而第一人称 POV 不仅天然规避主角换脸难题,还能让观众产生“我就是主角、我在亲自做对每一个选择”的极致代入爽感。
POV-Drama-Forge 内置 4 道结构级爽感防呆锁 + 水下正向内核(Show, Don't Preach):
禁止“只播种不收割”(
LOW_PAYOFF_DENSITY/DELAYED_PAYOFF_ONLY):强制中段关键选择后紧跟「当场结果兑现 + 质疑者石化/震惊/敬畏反应镜头(Reaction Shot)」,爽感实时炸裂;压缩弹簧定律:要求每个偏见/施压镜头配具体扎心微动作(拧暗煤油灯、甩回文件等),先压狠 1 分再弹高 5 分;
波浪式张弛节奏(
MONOTONOUS_DURATION_RHYTHM):自动拦截机械平均流水账,强制采用「开篇重场 → 中段快切连击 → 核爆重场 → 终局骤停升华」;娱乐糖衣 × 水下正向内核(
meaning_core+PREACHY_CLICHE):90% 极致上头爽感 + 10% 藏在画面线索与具体行动里的正向人生智慧,自动拦截生硬说教词,做到初看极爽,难时回想有光。
Related MCP server: Storywriting-MCP
🚀 6 大内置爆款 AI 短剧模式
模式 | 流派 | 时长 / 画幅 | 核心结构与留存公式 | AI 友好度 |
A | 极速强反转轻喜剧(起号首选) | 20–35s / | 单场景锁定 + 0秒冲突钩子 + 每2–3秒正反打加码 + 尾段反转 + Beat Drop 定格 | ★★★★★ |
B | 3D 治愈萌宠漫剧 | 35–55s / | 皮克斯 3D 质感 + 强配饰锚点(围巾/书包)+ 极简台词 + 四拍共情催泪弧 | ★★★★☆ |
C | 强人设连载情景喜剧 | 75–150s / | 极致反差主角 + 每5–10秒一个梗 + | ★★★☆☆ |
D | 荒诞脑洞+情感一刀短片 | 75–165s / | 0秒荒诞反差开场 + 超现实外衣包裹现实痛点 + 核心情感道具贯穿 + 双重反转 | ★★★★☆ |
E | 大佬/导师金句情景短剧 | 30–50s / | 0秒带数字反常识金句 + 权威导师边走边讲 + 3–4递进场景 + 每2–3秒一条干货 | ★★★★★ |
F | 沉浸式第一人称抉择 POV 爽剧(连载IP爆款) | 60–165s / | 0秒开门见山 + 纯电影第一人称POV + 主观发现生活线索 + 果断出手兑现爽感 + 道理全藏画面 | ★★★★★ |
支持专项优化的目标 AI 视频工具:seedance(即梦 Seedance 2.5)、kling(可灵)、oiioii、libtv、veo、sora。
📦 安装(零外部依赖,1 秒装好)
pip install git+https://github.com/instl999/pov-drama-forge.git或本地克隆开发安装:
git clone https://github.com/instl999/pov-drama-forge.git
cd pov-drama-forge
pip install -e .安装后即可使用 pov-drama-forge / pov-drama-forge-mcp(同时保留 drama-forge / drama-forge-mcp 兼容别名)。
🤖 任意 Agent 接入指南(4 种方式)
方式 1:MCP Server(推荐 — 零额外 API Key)
适用于 Antigravity / Claude Code / Claude Desktop / Cursor / Windsurf / Cline 等任意支持 MCP 的客户端:
{
"mcpServers": {
"drama-forge": {
"command": "drama-forge-mcp",
"args": []
}
}
}接入后,你的 Agent 将自动获得 9 个 MCP 工具 + 1 个引导 Prompt (write_ai_drama):
list_modes— 查看 6 大模式与 6 款 AI 视频工具规格recommend_mode— 根据大致话题自动推荐最炸模式create_blueprint— 输出完整编剧指令、节拍预算、字数红线、JSON Schema 与脚手架(支持传入series_bible复用连载 IP 资产)lint_script— 程序化质检与 0–100 评分(校验 0 秒钩子、时间轴衔接、对口型语速 CPS、角色穿搭锚点漂移、连续重复景别、反生硬说教与 BGM 卡点)patch_shot— 定点局部改镜:修改单镜台词/动作后自动顺延后续时间轴并即时复检retime_shots— 一键重算全片连续时间轴,支持按安全语速自动拉长超字数镜头extract_series_bible— 从爆款第 1 集一键提取可复用连载圣经(供第 2–100 集保持人设与画风锁)export_script— 一键编译 7 套交付物(含纯净编剧审稿本review.md、完整剧本script.md、分平台定制prompts.txt、自动化manifest.json、CSV 分镜表、剪映 SRT 字幕、后期卡点表)generate_script— (可选)通过 OpenAI 兼容 API 直接端到端生成并自动修复
更多客户端配置示例见 examples/mcp_configs/。
方式 2:CLI 命令行(适用于 Codex / Claude Code / Aider / Shell Agent / 自动化脚本)
所有子命令均支持 --json 机器可读输出:
# 1. 查看 5 大爆款模式与工具规范
drama-forge modes
# 2. 输入大致话题,自动推荐最佳模式
drama-forge recommend --topic "打工人以为被裁员结果神反转" --json
# 3. 生成零 API Key 编剧蓝图(供当前 Agent 填充 JSON)
drama-forge blueprint --topic "打工人以为被裁员结果神反转" --tool seedance --out blueprint.json
# 4. 自动化留存率 & AI 工程体检(不通过返回退出码 1,方便 Agent 自修复循环)
drama-forge lint examples/layoff_twist_demo.json
# 5. 一键导出 7 套工业级交付物(含编剧纯净审稿本 review.md 与自动化 manifest.json)
drama-forge export examples/layoff_twist_demo.json --out ./output
# 6. 编剧审稿后局部改单镜并自动重排后续时间轴
drama-forge patch examples/layoff_twist_demo.json --shot 1 --set '{"dialogue": "小陈,这是人事部刚给我的。"}' --json
# 7. 提取连载系列圣经,供第 2 集复用角色与画风锁
drama-forge bible examples/life_sim_1977_2023_demo.json --series-name "时代人生" --out series_bible.json
drama-forge blueprint --topic "职场破局" --bible series_bible.json --json导出目录 ./output 将生成 7 套交付物:
review.md— 纯净编剧审稿本(剥离所有 AI Prompt 技术干扰,含纯台词试念稿与审稿清单)script.md— 完整可读工业级分镜剧本与资产圣经prompts.txt— 按目标平台(即梦 Seedance / 可灵 / Veo)定制的批量生图+生视频提示词manifest.json— 面向 ComfyUI / 下游自动化生片 Agent 的结构化分镜清单storyboard.csv— 可直接导入飞书多维表格 / Notion / Excel 的分镜数据表subtitles.srt— 可直接拖入剪映 / Premiere 的精准时间轴字幕edit_cues.md— 剪映后期音效、BGM 骤停/Beat Drop 卡点与花字贴片清单
方式 3:通用 Agent Skill(SKILL.md & AGENTS.md)
仓库根目录内置标准 SKILL.md 与 AGENTS.md,可直接拷贝或软链至 Antigravity / Claude Code / Codex / Cursor / Gemini CLI 的 Skills 目录,Agent 即可自动按标准 4 步工作流创作、质检并导出剧本。
方式 4:独立一键生成(支持任意 OpenAI 兼容 API)
如果不经过编码 Agent,也可以配置任意 OpenAI 兼容接口(OpenAI / DeepSeek / Gemini / OpenRouter / Ollama),一键完成「生成 → 自动 Lint 质检 → 不达标自动修复 → 导出 5 套交付物」:
export OPENAI_API_KEY="sk-..."
# 可选:切换 DeepSeek / OpenRouter / Ollama 等兼容端点
# export OPENAI_BASE_URL="https://api.deepseek.com/v1"
# export DRAMA_FORGE_MODEL="deepseek-chat"
drama-forge generate \
--topic "过年亲戚疯狂炫富结果当场社死反转" \
--mode A \
--tool seedance \
--out ./output/new_year_twist🧪 运行测试
python3 -m unittest discover -s tests -v📄 License
Available Tools
6 toolscreate_blueprintA
Generate a zero-API-key Agent-native AI short-drama screenplay blueprint, including compiled system/task rules, beat schedule, lip-sync CPS budget, JSON schema, and starter skeleton. Use this first, fill the JSON script yourself, then validate with lint_script and export with export_script.
Inputs: topic (required), mode, target_tool, aspect_ratio, +2 more.
export_scriptA
Compile a validated DramaForgeScript JSON into production deliverables: full Markdown screenplay, copy-paste batch Image/Video Prompts, CSV storyboard, CapCut/JianYing SRT subtitles, and editing cue sheet. Optionally writes all files directly to out_dir.
Inputs: script (required), format, out_dir.
generate_scriptB
Optional end-to-end generator using an OpenAI-compatible API (requires OPENAI_API_KEY or DRAMA_FORGE_API_KEY). Automatically generates, lints, repairs, and returns the script + lint report.
Inputs: topic (required), mode, target_tool, aspect_ratio, +2 more.
lint_scriptA
Programmatically audit an AI short-drama script JSON for viral retention and AI-video production readiness (0-second hook, 2-5s shot pacing, lip-sync CPS <= limit, character/scene lock consistency, AI glitch landmines, BGM climax drop). Returns a 0-100 score and exact per-shot fix suggestions.
Inputs: script (required).
list_modesA
List all 5 viral Douyin AI short-drama modes (A-E) and 6 supported AI video tools (seedance, kling, oiioii, libtv, veo, sora) with pacing, scene limits, and lip-sync CPS limits.
Inputs: no named parameters.
recommend_modeA
Recommend the best viral AI short-drama mode (A-E) and aspect/duration specs for a rough topic.
Inputs: topic (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool maps to a distinct pipeline stage (enumerate modes, recommend, scaffold blueprint, lint, export, generate), so boundaries are mostly clear. The only mild overlap is create_blueprint vs generate_script, both of which produce a script, but the descriptions explicitly distinguish zero-API scaffolding from API-backed end-to-end generation.
Every tool follows a strict verb_noun snake_case pattern: list_modes, recommend_mode, create_blueprint, lint_script, export_script, generate_script. No camelCase or stylistic mixing anywhere in the set.
Six tools is well within the ideal 3-15 range and each maps to a real step in the script production workflow. None feel redundant or padded, and the optional generate_script is clearly flagged as such.
The surface covers the full lifecycle: discover modes, get a recommendation, scaffold a blueprint, validate, and export deliverables, plus an optional generator. Minor gaps exist — there is no standalone auto-repair/fix tool (repair only happens implicitly inside generate_script) and no way to read back or list previously exported scripts, but agents can work around both.
Maintenance
Related MCP Connectors
Screenplay, film and story toolkit over MCP: PDF formatting, stats, diagnosis, video prompts.
Build editable 3D scenes, direct characters and cameras, and export AI video references with MCP.
Plan, compare, price, generate, and recover AI video from compatible MCP clients.
AI video editor for agents and humans: timeline, captions, color, audio and generation as MCP tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate professional storyboards and videos from scripts or creative descriptions via MCP-compatible clients.38 npm1MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server providing 67 tools for AI-assisted storywriting, world-building, character development, screenplay generation in industry formats (Fountain, FDX, PDF), storyboards, and production analytics.-
- AlicenseBqualityBmaintenanceEnables AI agents to take a raw script all the way to a finished, downloadable short-drama .mp4, covering AI rewrite, character consistency, storyboards, frames, video shots, TTS voiceover, and final cut with quote-before-spend billing from any MCP client.1321,647 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables any MCP-compatible AI to convert rough screenplay text into structured screenplay blocks and print-ready PDFs with layout diagnostics, supporting Chinese and English.CC BY-4.0