MCP Manim Server
A server-based tool that leverages Manim to generate mathematical animations from text prompts.
Working Video:
Description
MCP Manim Server provides an interface to:
- Execute Manim code snippets programmatically
- Generate Manim code from natural language prompts
- Manage animation media files
Installation
- Clone this repository
Copy
- Install dependencies
Copy
- Set up Manim The server uses Manim to render animations. Ensure Manim is installed:
Copy
Environment Variables
MANIM_EXECUTABLE
: Path to the Manim executable (defaults to "manim")
Usage
Run the server:
Copy
Features
Execute Manim Code
The server can run Manim code and return the path to the generated animation file.
Generate Manim Code from Prompts
The server can generate Manim code based on natural language prompts.
Clean Media Directory
Clean up generated media files when no longer needed.
Project Structure
main.py
: Primary server implementationmedia/
: Directory where generated animations are stored
License
This server cannot be installed
A server-based tool that enables the generation of mathematical animations from natural language prompts by leveraging Manim.