AM

abhiemj/manim-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

655 stars 96 forks 품질 69 트렌드 22MIT

이 서버는 Manim 애니메이션 코드를 실행하고 생성된 비디오를 반환하는 MCP(Model Context Protocol) 서버입니다. 사용자가 Manim 스크립트를 보내고 렌더링된 애니메이션을 받을 수 있게 해줍니다.

개요

이 서버는 Manim 애니메이션 코드를 실행하고 생성된 비디오를 반환하는 MCP(Model Context Protocol) 서버입니다. 사용자가 Manim 스크립트를 보내고 렌더링된 애니메이션을 받을 수 있게 해줍니다. - Manim Python 스크립트 실행 - 애니메이션 출력을 보이는 미디어 폴더에 저장 - 실행 후 임시 파일을 정리할 수 있게 합니다. - 환경 변수를 통해 이동 가능하고 구성 가능합니다. 다음 설치 사항을 반드시 확인하세요: - 파이썬 3.8+ - Manim (커뮤니티 버전) - MCP Manim MCP 서버를 Claude와 통합하려면 claude_desktop_config.json 파일에 다음 내용을 추가하세요: Python 실행 경로를 찾으려면 다음 명령을 사용하세요: 이로 인해 Claude는 Manim MCP 서버와 통신하여 동적으로 애니메이션을 생성할 수 있습니다. 1. 저장소를 포크합니다. 2. 새 브랜치 생성: 3. 변경 및 커밋: 4. 포크로 푸시하기: 5. 풀 리퀘스트를 엽니다.

개요(AI 번역)

개요

이 서버는 Manim 애니메이션 코드를 실행하고 생성된 비디오를 반환하는 MCP(Model Context Protocol) 서버입니다. 사용자가 Manim 스크립트를 보내고 렌더링된 애니메이션을 받을 수 있게 해줍니다.

특징

  • Manim Python 스크립트를 실행합니다.
  • 애니메이션 출력을 보이는 미디어 폴더에 저장합니다.
  • 실행 후 임시 파일을 정리할 수 있게 합니다.
  • 환경 변수를 통해 포터블 및 구성 가능합니다.

설치

전제 조건

다음 설치 사항을 반드시 확인하세요:

  • 파이썬 3.8+
  • 마님 (커뮤니티 버전)
  • MCP

마님 설치

MCP 설치

저장소 복제

클로드와의 통합

Manim MCP 서버를 Claude와 통합하려면 claude_desktop_config.json 파일에 다음 내용을 추가하세요:

당신의 파이썬 길을 찾기

Python 실행 경로를 찾으려면 다음 명령을 사용하세요:

Windows (PowerShell):

윈도우 (명령 프롬프트/터미널):

Linux/macOS (터미널):

이로 인해 Claude는 Manim MCP 서버와 통신하여 동적으로 애니메이션을 생성할 수 있습니다.

기여

  1. 저장소를 포크합니다.

  2. 새 지점 생성:

  3. 변경 및 커밋:

  4. 포크로 밀기:

  5. 풀 리퀘스트를 엽니다.

이 페이지는 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

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b add-feature
    
  3. Make changes and commit:
    git commit -m "Added a new feature"
    
  4. Push to your fork:
    git push origin add-feature
    
  5. 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

GitHub에서 전체 README 보기

설치

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