Skip to main content
Glama

Manim MCP サーバー

Manim MCP デモ

概要

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

Related MCP server: MCP Prompts Server

特徴

  • 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 エコシステムにインスピレーションを受けています。

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Issues opened vs closed

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhiemj/manim-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server