Animated Video MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/Gorav22/Animated_video.git
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "MANIM_EXECUTABLE=${MANIM_EXECUTABLE}" animated-video -- node "<FULL_PATH_TO_ANIMATED_VIDEO>/dist/index.js"

Replace <FULL_PATH_TO_ANIMATED_VIDEO>/dist/index.js with the actual folder you prepared in step 1.

Required:MANIM_EXECUTABLE
README.md

Executes Manim Python scripts to generate and return rendered animations.

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

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b add-feature
    
  3. Make changes and commit:
    git commit -m "Added a new feature"
    
  4. Push to your fork:
    git push origin add-feature
    
  5. 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! 🚀

Environment Variables

MANIM_EXECUTABLErequiredThe absolute path to the manim executable file

Configuration

claude_desktop_config.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"}}}}

Try it

Create a Manim animation showing a rotating 3D cube.
Generate a mathematical animation demonstrating the Pythagorean theorem.
Render a video script that visualizes a sorting algorithm.
Clean up the temporary files from the last animation execution.

Frequently Asked Questions

What are the key features of Animated Video MCP Server?

Executes Manim Python scripts for animation rendering. Saves animation output in a dedicated media folder. Provides functionality to clean up temporary execution files. Portable configuration via environment variables.

What can I use Animated Video MCP Server for?

Creating educational mathematical visualizations for lectures. Generating programmatic animations for software tutorials. Automating the production of technical video content. Visualizing complex algorithms through dynamic animation.

How do I install Animated Video MCP Server?

Install Animated Video MCP Server by running: git clone https://github.com/Gorav22/Animated_video.git

What MCP clients work with Animated Video MCP Server?

Animated Video MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Animated Video MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare