Skip to main content
Glama

manim-mcp-server

Manim MCP 服务器

Manim MCP 演示

概述

这是一个 MCP(模型上下文协议)服务器,用于执行 Manim 动画代码并返回生成的视频。它允许用户发送 Manim 脚本并接收渲染后的动画。

特征

  • 执行 Manim Python 脚本。
  • 将动画输出保存在可见的媒体文件夹中。
  • 允许用户在执行后清理临时文件。
  • 可通过环境变量进行移植和配置。

安装

先决条件

确保已安装以下软件:

  • Python 3.8+
  • Manim(社区版)
  • 微胶囊钙

安装 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. 推送到你的 fork:
    git push origin add-feature
  5. 打开拉取请求。

执照

此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。

作者

**abhiemj**创建。欢迎贡献!🚀

列入 Awesome MCP 服务器

此仓库位于“Awesome MCP Servers”仓库的**“动画与视频”**类别下。您可以查看它以及其他优秀的 MCP 服务器实现!

致谢

  • 感谢Manim 社区提供的出色的动画库。
  • 受到开源 MCP 生态系统的启发。
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

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

使用单个提示生成类似 3blue1brown 的动画。

  1. 概述
    1. 特征
      1. 安装
        1. 先决条件
        2. 安装 Manim
        3. 安装 MCP
        4. 克隆存储库
      2. 与克劳德的整合
        1. 查找你的 Python 路径
      3. 贡献
        1. 执照
          1. 作者
            1. 列入 Awesome MCP 服务器
          2. 致谢

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              Enables users to generate images from text prompts using Replicate's model, with configurable parameters and full MCP protocol compliance.
              Last updated -
              1
              126
              TypeScript
            • A
              security
              F
              license
              A
              quality
              Enables creation, management, and templating of prompts through a simplified SOLID architecture, allowing users to organize prompts by category and fill in templates at runtime.
              Last updated -
              6
              0
              65
              TypeScript
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              Provides image generation capabilities using the Flux Schnell model on Replicate, allowing users to create images from text prompts.
              Last updated -
              1
              JavaScript
              MIT License
            • -
              security
              A
              license
              -
              quality
              Allows creating and modifying wireframes in Frame0 (a Balsamiq-alternative wireframe tool) by using natural language prompts, supporting operations like creating screens, editing elements, and managing pages.
              Last updated -
              595
              35
              JavaScript
              MIT License

            View all related MCP servers

            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