LABSCO SUMMARY
It runs the code you give it, on your machine.
This is a thin execution bridge rather than an animation designer: the quality of the result is entirely the quality of the Manim script the model writes, and the server's job is to render it and hand back the file. Because it executes Python locally with your Manim install, treat it like any other code-running tool — the sandbox is your own machine.
What it is
An MCP server that executes Manim scripts and returns the generated animation. The model writes the Manim Python, the server runs it and saves the output into a visible media folder, and temporary files can be cleaned up afterwards.
What you get
- Execution of Manim Python scripts and the rendered video as the result
- Animation output written to a visible media folder rather than a temp path you have to hunt for
- A cleanup step for the temporary files an execution leaves behind
- Configuration through environment variables, so the Manim binary can live anywhere
Requirements
Python 3.8+, the community edition of Manim (pip install manim) and the mcp package. Point MANIM_EXECUTABLE at your Manim binary and launch src/animation_mcp.py from your clone of Animated_video with an absolute Python path — the README shows how to find the Python path on Windows, macOS and Linux. The README's own config names manim-mcp-server/src/manim_server.py, a file this repository does not have. Installation is a clone. MIT licensed.
Setup effort
Follow the published steps — pip install manim
USE CASES
01
Illustrating a concept you are explaining
Have the model write the Manim scene for the idea under discussion and render it to a video file you can drop into a deck.
02
Iterating on an animation
Adjust the description, re-render, and compare — without switching to an editor and re-running the CLI by hand each time.
03
Keeping the workspace tidy
Clear the temporary files an execution leaves behind once the finished video has been saved.
BEFORE YOU INSTALL
What to know first
Requires
- pip on PATH
- Python 3.8+
Where it runs
Both documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
TERMINAL
pip install manim
pip install mcp
git clone https://github.com/Gorav22/Animated_video.git
cd Animated_videoMCP Clients
Claude Desktop, Cursor
JSON
{
"mcpServers": {
"animation-server": {
"command": "<YOUR_PATH_TO_PYTHON>",
"args": [
"<YOUR_PATH_TO_ANIMATED_VIDEO>/src/animation_mcp.py"
],
"env": {
"MANIM_EXECUTABLE": "<YOUR_PATH_TO_MANIM>/Scripts/manim.exe"
}
}
}
}