Animated video MCP Server
Executes Manim Python animation scripts to generate and return videos.
Animated video MCP Server
Overview
This is an MCP (Model Context Protocol) server that executes Manim animation code and returns the generated video. It allows users to send Manim scripts and receive the rendered animation.
Features
- Executes Manim Python scripts.
- Saves animation output in a visible media folder.
- Allows users to clean up temporary files after execution.
- Portable and configurable via environment variables.
Installation
Prerequisites
Ensure you have the following installed:
- Python 3.8+
- Manim (Community Version)
- MCP
Install Manim
pip install manim
Install MCP
pip install mcp
Clone the Repository
git clone https://github.com/Gorav22/Animated_video.git
cd Animated_video
Integration with Claude
To integrate the Manim MCP server with Claude, add the following to your claude_desktop_config.json file:
{
"mcpServers": {
"animation-server": {
"command": "/absolute/path/to/python",
"args": [
"/absolute/path/to/manim-mcp-server/src/manim_server.py"
],
"env": {
"MANIM_EXECUTABLE": "/Path/to/manim/Scripts/manim.exe"
}
}
}
}
For cursor, Go to Cursor Settings then MCP then click new a mcp server add this script in mcp.json
{
"mcpServers": {
"animation-server": {
"command": "/absolute/path/to/python",
"args": [
"/absolute/path/to/manim-mcp-server/src/manim_server.py"
],
"env": {
"MANIM_EXECUTABLE": "/Path/to/manim/Scripts/manim.exe"
}
}
}
}
Finding Your Python Path
To find your Python executable path, use the following command:
Windows (PowerShell):
(Get-Command python).Source
Windows (Command Prompt/Terminal):
where python
Linux/macOS (Terminal):
which python
This ensures that Claude can communicate with the Manim MCP server to generate animations dynamically.
Contributing
- Fork the repository.
- Create a new branch:
git checkout -b add-feature - Make changes and commit:
git commit -m "Added a new feature" - Push to your fork:
git push origin add-feature - Open a pull request.
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Author
Created by Gorav22. Contributions welcome! 🚀
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Code Scanner Server
Scans code files for definitions, respects .gitignore, and outputs in LLM-friendly formats like XML or Markdown.
Remote MCP Server for Odoo
An example of a remote MCP server for Odoo, deployable on Cloudflare Workers without authentication.
CursorRules MCP
An intelligent system for managing programming rules, supporting search, versioning, code validation, and prompt enhancement.
AI Develop Assistant
Assists AI developers with requirement clarification, module design, and technical architecture.
Valyu
Access Valyu's knowledge retrieval and feedback APIs.
Shallow Research Code Assistant
A multi-agent AI-powered research and code assistant. Requires external API keys for LLM providers, web search, and secure code execution.
MCP Starter Server
A minimal template for building AI assistant tools using the ModelContextProtocol.
Random Number
Provides LLMs with essential random generation abilities, built entirely on Python's standard library.
Background Process MCP
A server that provides background process management capabilities, enabling LLMs to start, stop, and monitor long-running command-line processes.
Compute MCP
An MCP server for evaluating arithmetic expressions using a Pratt parser in Rust.