A server-based tool that leverages Manim to generate mathematical animations from text prompts.
Working.Video.mp4
MCP Manim Server provides an interface to:
- Execute Manim code snippets programmatically
- Generate Manim code from natural language prompts
- Manage animation media files
- Clone this repository
git clone https://github.com/Avik-creator/MCP.git
cd MCP- Install dependencies
uv pip install- Set up Manim The server uses Manim to render animations. Ensure Manim is installed:
pip install manimMANIM_EXECUTABLE: Path to the Manim executable (defaults to "manim")
Run the server:
uv run main.pyThe server can run Manim code and return the path to the generated animation file.
The server can generate Manim code based on natural language prompts.
Clean up generated media files when no longer needed.
main.py: Primary server implementationmedia/: Directory where generated animations are stored