Manim MCP Server
Executes Manim Python scripts to generate and return rendered video animations.
Manim 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/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:
{
"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):
(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 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
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
Atlassian Rovo MCP Server (Streamin HTTP)
https://mcp.atlassian.com/v1/mcp
AgentChatBus
AgentChatBus is a persistent AI communication bus that lets multiple independent AI Agents chat, collaborate, and delegate tasks — across terminals, across IDEs, and across frameworks.
APS AEC Data Model MCP (.NET)
A .NET MCP server for interacting with the Autodesk AEC Data Model API and Viewer.
MCP Server Example
An example MCP server for educational purposes, demonstrating how to build a functional server that integrates with LLM clients.
CursorRules MCP
An intelligent system for managing programming rules, supporting search, versioning, code validation, and prompt enhancement.
Claude Memory MCP Server
A persistent memory server for Large Language Models, designed to integrate with the Claude desktop application. It supports tiered memory, semantic search, and automatic memory management.
Unified MCP Client Library
A TypeScript library for integrating MCP with tools like LangChain and Zod, providing helpers for schema conversion and event streaming.
MCP Crash Course
A simple demonstration of the MCP Python SDK.
gNMIBuddy
Retrieves essential network information from devices using gNMI and OpenConfig models.
Minecraft MCP Server
A Python MCP server to control a Minecraft server via RCON using FastMCP.