manim-mcp-server

manim-mcp-server

MCP server for generating Manim animations on demand.

454
Stars
48
Forks
454
Watchers
4
Issues
Manim MCP Server allows users to execute Manim Python scripts via a standardized protocol, generating animation videos that are returned as output. It integrates with systems like Claude to dynamically render animation content from user scripts and supports configurable deployment using environment variables. The server handles management of output files and cleanup of temporary resources, designed with portability and ease of integration in mind.

Key Features

Executes Manim Python animation scripts remotely
Returns rendered animation videos as output
Supports cleanup of temporary files after execution
Allows configuration via environment variables
Portable architecture compatible with various environments
Seamless integration with Claude for dynamic rendering
Handles visible media output management
Can be launched as a standalone server for script execution
Supports automated animation workflows
Built with extendibility for future protocol updates

Use Cases

Automated generation of educational or explanatory videos from code snippets
Integration with AI assistants like Claude to render custom animations for users
Batch rendering of scripted animations for content creators
Providing animation services to web or desktop applications via standardized protocol
Facilitating remote execution of Manim animations in CI/CD pipelines
Enabling collaborative animation creation workflows with shared server backend
Prototyping and development of interactive visualizations on demand
Supporting teachers and educators with dynamic video content generation
Offering animation-as-a-service for online learning platforms
Remote execution and preview of Manim scripts without local setup

README

Manim MCP Server

Manim MCP Demo

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

sh
pip install manim

Install MCP

sh
pip install mcp

Clone the Repository

sh
git clone https://github.com/abhiemj/manim-mcp-server.git
cd manim-mcp-server

Integration with Claude

To integrate the Manim MCP server with Claude, add the following to your claude_desktop_config.json file:

json
{
  "mcpServers": {
     "manim-server": {
      "command": "/absolute/path/to/python",
      "args": [
        "/absolute/path/to/manim-mcp-server/src/manim_server.py"
      ],
      "env": {
        "MANIM_EXECUTABLE": "/Users/[Your_username]/anaconda3/envs/manim2/Scripts/manim.exe"
      }
    }
  }
}

Finding Your Python Path

To find your Python executable path, use the following command:

Windows (PowerShell):

sh
(Get-Command python).Source

Windows (Command Prompt/Terminal):

sh
where python

Linux/macOS (Terminal):

sh
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:
    sh
    git checkout -b add-feature
    
  3. Make changes and commit:
    sh
    git commit -m "Added a new feature"
    
  4. Push to your fork:
    sh
    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 abhiemj. Contributions welcome! 🚀

Listed in Awesome MCP Servers

This repository is featured in the Awesome MCP Servers repository under the Animation & Video category. Check it out along with other great MCP server implementations!

Acknowledgments

  • Thanks to the Manim Community for their amazing animation library.
  • Inspired by the open-source MCP ecosystem.

Find me at

@aiburner_official

Star History

Star History Chart

Repository Owner

abhiemj
abhiemj

User

Repository Details

Language Python
Default Branch main
Size 358 KB
Contributors 1
License MIT License
MCP Verified Sep 2, 2025

Programming Languages

Python
100%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • video-editing-mcp

    video-editing-mcp

    MCP server for uploading, editing, searching, and generating videos via Video Jungle and LLMs.

    Implements a Model Context Protocol (MCP) server for seamless video uploading, editing, searching, and generative editing workflows, powered by Video Jungle integration and LLM assistance. Provides a suite of tools for video asset management, automated video editing, and context-aware search leveraging multimedia analysis. Supports both cloud workflows through Video Jungle and local searching capabilities, such as accessing the Photos app database on MacOS. Designed for integration with clients like Claude Desktop and supports automation, debugging, and development through open protocols.

    • 207
    • MCP
    • burningion/video-editing-mcp
  • blender-mcp

    blender-mcp

    Seamless integration between Blender and Claude AI using the Model Context Protocol.

    BlenderMCP enables direct interaction between Blender and Claude AI by leveraging the Model Context Protocol (MCP). It allows users to create, manipulate, and inspect 3D scenes in Blender through natural language commands sent to Claude, which communicates with Blender via a custom socket server and an addon. The solution features two-way communication, object and material manipulation, code execution within Blender, and easy integration with tools like Cursor, Visual Studio Code, and Claude for Desktop.

    • 13,092
    • MCP
    • ahujasid/blender-mcp
  • cloudflare/mcp-server-cloudflare

    cloudflare/mcp-server-cloudflare

    Connect Cloudflare services to Model Context Protocol (MCP) clients for AI-powered management.

    Cloudflare MCP Server enables integration between Cloudflare's suite of services and clients using the Model Context Protocol (MCP). It provides multiple specialized servers that allow AI models to access, analyze, and manage configurations, logs, analytics, and other features across Cloudflare's platform. Users can leverage natural language interfaces in compatible MCP clients to read data, gain insights, and perform automated actions on their Cloudflare accounts. This project aims to streamline the orchestration of security, development, monitoring, and infrastructure tasks through standardized MCP connections.

    • 2,919
    • MCP
    • cloudflare/mcp-server-cloudflare
  • mcpmcp-server

    mcpmcp-server

    Seamlessly discover, set up, and integrate MCP servers with AI clients.

    mcpmcp-server enables users to discover, configure, and connect MCP servers with preferred clients, optimizing AI integration into daily workflows. It supports streamlined setup via JSON configuration, ensuring compatibility with various platforms such as Claude Desktop on macOS. The project simplifies the connection process between AI clients and remote Model Context Protocol servers. Users are directed to an associated homepage for further platform-specific guidance.

    • 17
    • MCP
    • glenngillen/mcpmcp-server
  • mcp-server-js

    mcp-server-js

    Enable secure, AI-driven process automation and code execution on YepCode via Model Context Protocol.

    YepCode MCP Server acts as a Model Context Protocol (MCP) server that facilitates seamless communication between AI platforms and YepCode’s workflow automation infrastructure. It allows AI assistants and clients to execute code, manage environment variables, and interact with storage through standardized tools. The server can expose YepCode processes directly as MCP tools and supports both hosted and local installations via NPX or Docker. Enterprise-grade security and real-time interaction make it suitable for integrating advanced automation into AI-powered environments.

    • 31
    • MCP
    • yepcode/mcp-server-js
  • mcp-server-templates

    mcp-server-templates

    Deploy Model Context Protocol servers instantly with zero configuration.

    MCP Server Templates enables rapid, zero-configuration deployment of production-ready Model Context Protocol (MCP) servers using Docker containers and a comprehensive CLI tool. It provides a library of ready-made templates for common integrations—including filesystems, GitHub, GitLab, and Zendesk—and features intelligent caching, smart tool discovery, and flexible configuration options via JSON, YAML, environment variables, or CLI. Perfect for AI developers, data scientists, and DevOps teams, it streamlines the process of setting up and managing MCP servers and has evolved into the MCP Platform for enhanced capabilities.

    • 5
    • MCP
    • Data-Everything/mcp-server-templates
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results