
abhiemj/manim-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Это сервер MCP (Model Context Protocol), который выполняет код анимации Manim и возвращает сгенерированное видео. Он позволяет пользователям отправлять скрипты Manim и получать отрисованную анимацию.
Обзор
Это сервер MCP (Model Context Protocol), который выполняет код анимации Manim и возвращает сгенерированное видео. Он позволяет пользователям отправлять скрипты Manim и получать отрисованную анимацию. - Выполняет скрипты на Manim Python. - Сохраняет выход анимации в видимой медиа-папке. - Позволяет пользователям очищать временные файлы после выполнения. - Портативно и настраиваемо через переменные среды. Убедитесь, что у вас установлены следующие: - Python 3.8+ - Manim (Community Version) - MCP Чтобы интегрировать сервер Manim MCP с Claude, добавьте в ваш claude_desktop_config.json файл следующее: Чтобы найти ваш исполняемый путь на Python, используйте следующую команду: Это гарантирует, что Клод может взаимодействовать с сервером Manim MCP для динамической генерации анимий. 1. Форк репозитория. 2. Создание новой ветки: 3. Внесение изменений и коммит: 4. Push на форк: 5. Открыть pull request.
Обзор (машинный перевод)
Обзор
Это сервер MCP (Model Context Protocol), который выполняет код анимации Manim и возвращает сгенерированное видео. Он позволяет пользователям отправлять скрипты Manim и получать отрисованную анимацию.
Особенности
- Выполняет скрипты на Manim Python.
- Сохраняет выход анимации в видимой папке медиа.
- Позволяет пользователям очищать временные файлы после выполнения.
- Портативная и настраиваемая через переменные среды.
Установка
Требования
Убедитесь, что у вас установлены следующие:
- Python 3.8+
- Manim (Общественная версия)
- MCP
Установить Маним
Установить MCP
Клонировать Хранилище
Интеграция с Клодом
Чтобы интегрировать сервер Manim MCP с Claude, добавьте следующее в ваш файл claude_desktop_config.json:
Поиск своего Python-пути
Чтобы найти ваш исполняемый путь на Python, используйте следующую команду:
Windows (PowerShell):
Windows (Командная строка/Терминал):
Linux/macOS (Терминал):
Это гарантирует, что Клод может взаимодействовать с сервером Manim MCP для динамической генерации анимий.
Вклад
-
Форк на репозиторий.
-
Создайте новую ветку:
-
Внесите изменения и коммитт:
-
Нажмите на вилку:
-
Откройте pull request.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
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
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"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"
}
}
}
}