manim-storyboard MCP Server
Enables LLM agents to generate labeled contact sheets of Manim animations, scaffold storyboards from renders, and validate rendered steps against expected intents via MCP tools.
README
manim-storyboard
See every animation in a Manim scene as one labelled contact sheet, and check it against a storyboard you wrote.

<sup>The first 18 steps of a 97 step scene. Cyan is what rendered, amber is what you said it should do.</sup>
Why
Manim tells you a scene rendered. It does not tell you the chapter title ran off the right edge, or that a banner landed on top of the text underneath it. Those are only visible by looking, and looking means scrubbing an mp4 or guessing timestamps to pull stills from.
Guessing wastes a lot of samples. A fade between two sections is a black frame, and roughly a quarter of hand picked timestamps land in one.
There is a better source. Manim writes one clip per self.play() call into partial_movie_files/ and lists them in order. Take the last frame of each and you get one settled frame per animation, in order, with nothing wasted. That is the whole idea here.
Install
pip install manim-storyboard
Needs ffmpeg on PATH, or FFMPEG_EXECUTABLE and FFPROBE_EXECUTABLE pointing at the binaries. That is the same convention manim-mcp-server uses, so an existing setup already works.
Use
One sheet for a whole scene:
manim-storyboard sheet scene.py MyScene
97 panels -> storyboard_MyScene.png
Each panel carries the index, its start time in the final video, its duration, and the animation classes that actually ran:
#012 0:08.5 1.33s
LaggedStart[Write, FadeIn x2]
Groups get expanded one level, so you can see what is inside a LaggedStart without opening the file. self.wait() gets its own panel, because manim renders it as its own clip.
Big scenes page:
manim-storyboard sheet scene.py MyScene --range 1-40 --columns 6
Already rendered through the manim CLI and just want the sheet:
manim-storyboard sheet scene.py --from-media media/videos/scene/480p15/partial_movie_files/MyScene
Try it
examples/ has a small scene with no LaTeX and no assets, plus a finished storyboard for it:
manim-storyboard sheet examples/demo_scene.py DemoScene -s examples/storyboard.yaml
manim-storyboard check examples/demo_scene.py DemoScene -s examples/storyboard.yaml

Storyboarding
A storyboard is a YAML file saying what each step is supposed to do. Write it by hand before the scene exists, or scaffold it from a render:
manim-storyboard plan scene.py MyScene # scaffold from what rendered
manim-storyboard plan scene.py MyScene --blank 40 # 40 empty steps to fill in
scene: LarpGuide
steps:
- at: 1
section: cold open
intent: the overheard question fades up on an empty frame
expect: [FadeIn]
- at: 7
intent: the title writes on, RENT-A-GIRLFRIEND FAN
expect: [Write]
- at: 9
intent: pink flash pops on the word FAN
expect: [Flash]
- at: 11
intent: clear everything before chapter one
expect: [FadeOut]
intent is prose for you. expect is the animation type you mean to use at that step, and it is what gets verified:
manim-storyboard check scene.py MyScene -s storyboard.yaml
step 7: [drift] expected FadeIn but rendered Write
step 9: [drift] expected Circumscribe but rendered Flash
step 400: [missing] plan has step 400 but the render stopped at 97
Feed the storyboard back into sheet and every panel gets its intent printed underneath, with drifted steps outlined in red:
manim-storyboard sheet scene.py MyScene -s storyboard.yaml
Rules worth knowing
Counts are opt-in. expect: [FadeOut] means "this step fades things out" and passes for any number of them. A helper that clears the stage fades however many mobjects happen to be on it, and you should not have to update the plan every time you add one. When the exact count is the point, write expect: [FadeOut x6] and the comparison becomes strict and order sensitive.
Partial plans are fine. Only steps declaring expect are checked. A plan can cover the opening and say nothing about the rest. Pass --strict to also flag rendered steps the plan never mentions.
Prose-only plans never fail. Steps with intent and no expect are labels for the sheet, not assertions.
Group contents are ignored. expect: [LaggedStart] is satisfied by LaggedStart[Write, FadeIn x2]. Match the wrapper, not its children.
MCP
The same three tools over MCP, so an agent writing Manim can look at its own output:
pip install "manim-storyboard[mcp]"
python -m manim_storyboard.mcp_server
{
"mcpServers": {
"manim-storyboard": {
"command": "python",
"args": ["-m", "manim_storyboard.mcp_server"],
"env": {
"FFMPEG_EXECUTABLE": "C:\\ffmpeg\\bin\\ffmpeg.exe",
"FFPROBE_EXECUTABLE": "C:\\ffmpeg\\bin\\ffprobe.exe"
}
}
}
}
Exposes storyboard_sheet, storyboard_plan, storyboard_check and storyboard_from_media. To bolt them onto a manim MCP server you already run:
from manim_storyboard.mcp_server import register
register(my_fastmcp_instance)
Python
from pathlib import Path
from manim_storyboard import record, build, load, check
take = record(Path("scene.py"), "MyScene", quality="low_quality")
plan = load(Path("storyboard.yaml"))
for issue in check(plan, take.steps):
print(issue.index, issue.kind, issue.message)
build(take.steps, Path("sheet.png"), columns=6, plan=plan)
record() wraps Scene.play for the duration of one render, so the manifest lines up with the clips on disk exactly. It restores the original method afterwards, including when the render raises.
Development
pip install -e ".[dev]"
pytest
The plan matching tests need neither manim nor ffmpeg.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。