manim-mcp-server

by abhiemj
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Hosts the repository and enables collaboration through forking, branching, and pull requests for contributing to the MCP server.

  • Executes Manim Python scripts to generate mathematical animations, allowing for dynamic creation and rendering of visual content.

Manim MCP サーバー

概要

これは、Manimアニメーションコードを実行し、生成されたビデオを返すMCP(Model Context Protocol)サーバーです。ユーザーはManimスクリプトを送信し、レンダリングされたアニメーションを受け取ることができます。

特徴

  • Manim Python スクリプトを実行します。
  • アニメーション出力を表示されているメディア フォルダーに保存します。
  • 実行後にユーザーが一時ファイルをクリーンアップできるようにします。
  • 移植可能で、環境変数を介して構成可能です。

インストール

前提条件

以下がインストールされていることを確認してください。

  • Python 3.8以上
  • マニム(コミュニティ版)
  • MCP

Manimをインストールする

pip install manim

MCPをインストールする

pip install mcp

リポジトリのクローンを作成する

git clone https://github.com/abhiemj/manim-mcp-server.git cd manim-mcp-server

クロードとの統合

Manim MCP サーバーを Claude と統合するには、 claude_desktop_config.jsonファイルに以下を追加します。

{ "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" } } } }

Pythonのパスを見つける

Python 実行可能パスを見つけるには、次のコマンドを使用します。

Windows (PowerShell):

(Get-Command python).Source

Windows (コマンドプロンプト/ターミナル):

where python

Linux/macOS (ターミナル):

which python

これにより、Claude は Manim MCP サーバーと通信してアニメーションを動的に生成できるようになります。

貢献

  1. リポジトリをフォークします。
  2. 新しいブランチを作成します。
    git checkout -b add-feature
  3. 変更を加えてコミットします。
    git commit -m "Added a new feature"
  4. フォークにプッシュします:
    git push origin add-feature
  5. プルリクエストを開きます。

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

著者

**abhiemj**が作成しました。貢献を歓迎します!🚀

素晴らしいMCPサーバーに掲載

このリポジトリは、「Awesome MCP Servers」リポジトリの**「Animation & Video」**カテゴリに掲載されています。他の優れたMCPサーバー実装と合わせて、ぜひご覧ください。

謝辞

  • 素晴らしいアニメーション ライブラリを提供してくれたManim コミュニティに感謝します。
  • オープンソースの MCP エコシステムにインスピレーションを受けています。
-
security - not tested
A
license - permissive license
-
quality - not tested

単一のプロンプトを使用して 3blue1brown のようなアニメーションを生成します。

  1. Overview
    1. Features
      1. Installation
        1. Prerequisites
        2. Install Manim
        3. Install MCP
        4. Clone the Repository
      2. Integration with Claude
        1. Finding Your Python Path
      3. Contributing
        1. License
          1. Author
            1. Listed in Awesome MCP Servers
          2. Acknowledgments
            ID: zujdaij12j