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. - 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. Ensure you
Add this skill
npx mdskills install abhiemj/manim-mcp-serverEnables AI agents to generate mathematical animations via Manim with clear setup instructions
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.
Ensure you have the following installed:
pip install manim
pip install mcp
git clone https://github.com/abhiemj/manim-mcp-server.git
cd manim-mcp-server
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"
}
}
}
}
To find your Python executable path, use the following command:
(Get-Command python).Source
where python
which python
This ensures that Claude can communicate with the Manim MCP server to generate animations dynamically.
git checkout -b add-feature
git commit -m "Added a new feature"
git push origin add-feature
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.
Created by abhiemj. Contributions welcome! ๐
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!
Install via CLI
npx mdskills install abhiemj/manim-mcp-serverManim MCP Server is a free, open-source AI agent skill. 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. - 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. Ensure you
Install Manim MCP Server with a single command:
npx mdskills install abhiemj/manim-mcp-serverThis downloads the skill files into your project and your AI agent picks them up automatically.
Manim MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.