A local MCP server that generates animations using Manim.
The Manim MCP Server bridges the gap between Large Language Models (LLMs) and dynamic mathematical visualizations. By leveraging the Model Context Protocol (MCP), this server empowers LLMs to seamlessly generate and execute Manim animation code, delivering rich, interactive visual content. This document provides a comprehensive guide to the server's features, installation, integration, and contribution guidelines.
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
To enable Claude's access to the Manim MCP server, incorporate the following configuration into 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" } } } }
The correct Python executable path is crucial for seamless integration. Use the following commands based on your operating system:
(Get-Command python).Source
where python
which python
Fork the Repository: Create a personal copy of the project.
Create a New Branch:
git checkout -b feature/new-feature
Implement Changes and Commit:
git commit -m "feat: Add new feature"
Push to Your Fork:
git push origin feature/new-feature
Submit a Pull Request: Propose your changes for review and integration.
This repository is proudly listed in the Awesome MCP Servers repository under the Animation & Video category.
๐ A simple TypeScript library for creating MCP servers.
#๏ธโฃ ๐ A C# SDK for building MCP servers on .NET 9 with NativeAOT compatibility โก ๐
โ Java SDK for building MCP servers using Quarkus.
๐ Provides MCP tool calling support in LangChain, allowing for the integration of MCP tools into LangChain workflows.