
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 分
請在儲存庫或註冊中心條目中宣告授權條款。