PM

paulnegz/manim-mcp

Developer tools

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

22 stars 7 forks 품질 60 트렌드 0MIT

Manim을 통해 Text-to-video 애니메이션. 텍스트 → 코드 → 비디오. CLI, 에이전트 모드 및 MCP 서버

개요

Manimgl(3Blue1Brown's library) 및 멀티 시약 LLM 파이프라인에 의해 구동되는 Text-to-video 애니메이션. 당신이보고 싶은 것을 설명하고, 렌더링 된 애니메이션을 다시 얻을. , , 또는 Claude 같은 AI 조수와 통합을 위해 작동합니다. - - 고품질 코드 생성을 위한 5,300+ 색인 문서 사용: - 3,140 3Blue1 브라운 씬 예제 - 정확한 매개 변수와 1,652 manimgl API 서명 - 101 애니메이션 패턴 템플릿 (Riemann sums, transforms, physics, etc.) - 470 라이브러리 문서 파일 - 일반적인 실수에 대한 16 + 오류 패턴 - - Probe를 사용하여 선택 AST-aware semantic 코드 검색 : - 트리 - 시터 기반 코드 파싱 (Pinthon Structure) - 하이브리드 BM25 + TF-IDF 등급 - 더 나은 키워드 매칭을위한 완벽한 코드 검색 - Probe를 사용하여 전체 코드 검색 - ncentation 및 Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics - Google Analytics.

개요(AI 번역)

Manimgl(3Blue1Brown’s library) 및 멀티 시약 LLM 파이프라인에 의해 구동되는 Text-to-video 애니메이션. 당신이보고 싶은 것을 설명하고, 렌더링 된 애니메이션을 다시 얻을.

CLI 도구, an LLM-powered Agent, 또는 MCP 서버 Claude와 같은 AI 조수와 통합.

예제

| 3D 회전 큐브 |---------------------------|-----------------| | manim-mcp gen "Transform a blue circle into a red square" | manim-mcp gen "A 3D cube rotating. Use ThreeDScene." | 인포메이션

**Watch 20 + YouTube에서 애니메이션 **

특징

  • RAG 전원 코드 생성 - 고품질 코드 생성을 위한 5,300+ 인덱스 문서 사용:
  • 3,140 3블루1 갈색 장면 예제
  • 정확한 매개 변수를 가진 1,652 manimgl API 서명
  • 101 애니메이션 패턴 템플릿 (Riemann sums, 변형, 물리 등)
  • 470 라이브러리 문서 파일
  • 일반적인 실수를 위한 16+ 오류 패턴
  • ** Probe 통합 ** - Probe를 사용하여 옵션 AST-aware semantic 코드 검색 :
  • Tree-sitter 기반 코드 파싱 (Pinthon Structure)
  • 하이브리드 BM25 + TF-IDF 순위 더 나은 키워드 일치
  • 완전한 부호 구획 적출 (truncation 없음)

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

README

원문 README의 일부입니다. 원문 보기.

manim-mcp

Text-to-video animation powered by manimgl (3Blue1Brown’s library) and a multi-agent LLM pipeline. Describe what you want to see, and get a rendered animation back.

Works as a CLI tool, an LLM-powered agent, or an MCP server for integration with AI assistants like Claude.

Examples

Circle to Square Transform 3D Rotating Cube
manim-mcp gen "Transform a blue circle into a red square" manim-mcp gen "A 3D cube rotating. Use ThreeDScene."

Watch 20+ example animations on YouTube

Features

  • RAG-powered code generation - Uses 5,300+ indexed documents for high-quality code generation:
    • 3,140 3Blue1Brown scene examples
    • 1,652 manimgl API signatures with exact parameters
    • 101 animation pattern templates (Riemann sums, transforms, physics, etc.)
    • 470 library documentation files
    • 16+ error patterns for common mistakes
  • Probe integration - Optional AST-aware semantic code search using Probe:
    • Tree-sitter based code parsing (understands Python structure)
    • Hybrid BM25 + TF-IDF ranking for better keyword matching
    • Complete code block extraction (no truncation)
  • Multi-animation videos - Each video uses 2+ animation patterns for professional quality
  • Multi-agent pipeline - Concept analysis, scene planning, code generation, and code review
  • Self-learning - Stores error patterns and fixes for continuous improvement
  • Multi-provider LLM - Supports Google Gemini, Anthropic Claude, and DeepSeek
  • Audio narration - Parallel audio generation with automatic sync:
    • Video code generated first (no narration constraint)
    • TTS runs in parallel with video rendering
    • Audio automatically paced to match video duration
  • Parameter validation - API signatures prevent invalid method calls

Quick Start

pip install -e ".[rag]"

Prerequisites

  • Python 3.11+
  • manimgl installed: pip install manimgl
  • A Google Gemini API key set as MANIM_MCP_GEMINI_API_KEY
  • Optional: ChromaDB (for RAG), ffmpeg (for audio mixing), LaTeX (for math text), S3/MinIO (for cloud storage)
  • Optional: Probe for AST-aware code search (install via cargo install probe-search)

Environment Variables

Copy .env.example to .env and fill in your values:

# LLM Provider
MANIM_MCP_GEMINI_API_KEY=your-gemini-api-key
MANIM_MCP_GEMINI_MODEL=gemini-3-flash-preview  # default

# Alternative: Claude
# MANIM_MCP_LLM_PROVIDER=claude
# MANIM_MCP_CLAUDE_API_KEY=your-claude-api-key
# MANIM_MCP_CLAUDE_MODEL=claude-sonnet-4-20250514

# Alternative: DeepSeek
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →