
Screenplaywriter Mcp
io.github.mrfentmen由 GitHub 账号 mrfentmen 发布v1.0.3更新于 Nov 5, 2026
Read, write, and analyze screenplays in Fountain format.
概览
读取、编写、编辑并分析 Fountain 格式剧本,支持场景编辑、角色统计、制作分解与时长估算。
- 可以做什么
- 解析与载入剧本:把 Fountain 文本或 .fountain 文件解析为结构化 AST,并按场号获取单个场景。
- 编写与编辑场景:新建剧本,插入、替换或删除场景,并把改动保存回磁盘。
- 分析剧本:按角色统计场景数、对白数与词数,并按场景生成包含地点、角色与行数的制作分解。
- 估算时长:统计总页数、分钟数,以及日/夜、内景/外景的比例。
- 导出:把已存储的剧本重新保存为 .fountain 文件。
- 适用场景
- 适合让助手协助起草、修改或分析 Fountain 格式剧本,例如在指定位置新增一场戏、生成角色报告,或在开机或剧本围读前核对页数与预估时长。
- 运行要求
- 作为本地进程在用户机器上运行,通过 npm 包安装,用 npx 或 node 启动,需要在桌面客户端中配置。未声明任何认证、环境变量或请求头。会读写本地磁盘上的 .fountain 文件。
安装
在 SourceWeft 中
- 打开 控制台中的 Screenplaywriter Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ScreenplayWriter MCP
An MCP server for reading, writing, and analyzing screenplays in Fountain format. Parse screenplays into structured data, query character stats, generate production breakdowns, and write proper Fountain syntax.
What it does
Parse Fountain files into a queryable AST. Edit scenes while preserving formatting. Generate character reports and production breakdowns. Write new screenplays in proper industry format.
Tools
- parse_screenplay. Parse Fountain text into a structured AST.
- load_screenplay_file. Load a .fountain file from disk.
- write_screenplay. Write a new screenplay in Fountain format to disk.
- get_scene. Get a specific scene by number.
- edit_scene. Replace a scene and save to disk.
- add_scene. Insert a scene at a position and save to disk.
- remove_scene. Delete a scene and save to disk.
- character_report. Per character stats including scenes, dialogue count, and word count.
- scene_breakdown. Production breakdown per scene with locations, characters, and line counts.
- runtime_estimate. Total pages, minutes, day or night split, interior or exterior split.
- export_fountain. Save stored screenplay back to a .fountain file.
Install
Claude Desktop setup
Add this to your claude_desktop_config.json:
Or use npx:
Example usage
Ask Claude:
"Write a three scene screenplay about a detective who discovers the murder weapon is a keyboard"
"Parse my screenplay and give me a character report"
"How many day scenes versus night scenes do I have?"
"Add a new scene after scene 3 where the protagonist confronts the villain"
"Generate a production breakdown for my script"
"What is the estimated runtime?"
Fountain format
Fountain is a plain text format for screenwriting. Example:
The server understands all standard Fountain elements. Scene headings, character cues, dialogue, parentheticals, transitions, action lines, section headings, and notes.
Runtime estimate
The server estimates runtime based on the standard rule of 1 page equals 1 minute of screen time. Page count is calculated from action and dialogue lines.
License
MIT
来源:README.md,提交 b534723
工具
0版本历史
2- v1.0.3最新Sep 22, 2026
- v1.0.1Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。