
这是一个执行 Manim 动画代码并返回生成视频的 MCP(模型上下文协议)服务器。它允许用户发送 Manim 脚本,并接收渲染后的动画。
确保已安装以下内容:
pip install manim
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 可执行文件路径,请使用以下命令:
(Get-Command python).Source
where python
which python
这确保了 Claude 可以与 Manim MCP 服务器通信,动态生成动画。
git checkout -b add-feature
git commit -m "添加了一个新功能"
git push origin add-feature
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由地使用、修改和分发该软件,但需遵守 MIT 许可证中的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
由 abhiemj 创作。欢迎贡献!🚀
此仓库被收录在 Awesome MCP 服务器 仓库中的 动画与视频 类别下。请查看其他优秀的 MCP 服务器实现!
<a href="https://www.instagram.com/aiburner_official" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/instagram.svg" alt="aiburner_official" height="30" width="40" /></a> @aiburner_official