
abhiemj/manim-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
これはMCP(Model Context Protocol)サーバーで、Manimアニメーションコードを実行し、生成された動画を返します。ユーザーはManimスクリプトを送信し、レンダリングされたアニメーションを受け取ることができます。
概要
これはMCP(Model Context Protocol)サーバーで、Manimアニメーションコードを実行し、生成された動画を返します。ユーザーはManimスクリプトを送信し、レンダリングされたアニメーションを受け取ることができます。 - Manim Pythonスクリプトの実行。- アニメーション出力を見えるメディアフォルダに保存する。- 実行後に一時ファイルをクリーンアップできる。- 環境変数を通じてポータブルかつ設定可能。 以下のものを必ず設置してください: - Python 3.8+ - Manim(コミュニティ版) - MCP Manim MCPサーバーをClaudeと統合するには、claude_desktop_config.jsonファイルに以下を追加してください: Python実行可能パスを見つけるには、以下のコマンドを使用します: これにより、ClaudeはManim MCPサーバーと通信し、動的にアニメーションを生成できます。 1. リポジトリをフォークする。2. 新しいブランチを作成する: 3. 変更を加えてコミットする: 4. フォークにプッシュする: 5. プルリクエストを開く。
概要(AI 翻訳)
概要
これはMCP(Model Context Protocol)サーバーで、Manimアニメーションコードを実行し、生成された動画を返します。ユーザーはManimスクリプトを送信し、レンダリングされたアニメーションを受け取ることができます。
特徴
- Manim Pythonスクリプトを実行します。
- アニメーション出力を見えるメディアフォルダに保存します。
- 実行後に一時ファイルをクリーンアップできるユーザー。
- 環境変数によるポータブルかつ設定可能。
設置
前提条件
以下のものを必ず設置してください:
- Python 3.8+
- マニム(コミュニティ版)
- MCP
マニムをインストール
MCPをインストール
リポジトリのクローン
クロードとの統合
Manim MCPサーバーをClaudeと統合するには、claude_desktop_config.jsonファイルに以下を追加してください:
パイソンの道を見つける
Python実行可能パスを見つけるには、以下のコマンドを使用します:
Windows (PowerShell):
Windows(コマンドプロンプト/ターミナル):
Linux/macOS(ターミナル版):
これにより、ClaudeはManim MCPサーバーと通信し、動的にアニメーションを生成できます。
貢献
-
リポジトリをフォークする。
-
新しい分岐を作成する:
-
変更を行い、コミットすること:
-
フォークに押し込む:
-
プルリクエストを開く。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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"
}
}
}
}