Skip to main content
Glama

Remotion Video Generator

by chrishayuk
README.md•10.3 kB
# chuk-mcp-remotion > AI-powered video generation with Remotion - A design-system-first approach to creating professional YouTube videos [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/) [![MCP](https://img.shields.io/badge/MCP-compatible-green.svg)](https://github.com/anthropics/mcp) ## Overview `chuk-mcp-remotion` is an MCP (Model Context Protocol) server that brings the power of [Remotion](https://www.remotion.dev) video generation to AI assistants like Claude. It provides a **design-system-first approach** inspired by [shadcn/ui](https://ui.shadcn.com) and [chuk-mcp-pptx](https://github.com/chrishayuk/chuk-mcp-pptx), making it easy for LLMs to create professional, animated videos optimized for YouTube. ### Key Features - **šŸŽØ Design System Approach**: Pre-built themes, components, and tokens optimized for video - **šŸŽ¬ YouTube-Optimized**: Components designed for hooks, retention, and engagement - **šŸ¤– LLM-Friendly**: Discoverable components with detailed schemas and examples - **⚔ Powered by Remotion**: Generate React-based videos programmatically - **šŸŽÆ Component Library**: 20+ ready-to-use video components (titles, overlays, charts, animations) - **šŸŽØ 7 Built-in Themes**: Tech, Finance, Education, Lifestyle, Gaming, Minimal, Business - **šŸ“Š Data Visualization**: Animated charts and counters for engaging data presentation ## Architecture ### Design System Structure ``` Design Tokens → Components → Variants → Themes ``` 1. **Design Tokens**: Core design primitives - **Colors**: 7 theme palettes (tech, finance, education, etc.) - **Typography**: Font scales optimized for 720p/1080p/4K - **Motion**: Spring configs, easings, duration presets 2. **Component Registry**: 20+ video components - **Scenes**: TitleScene, EndScreen - **Overlays**: LowerThird, TextOverlay, SubscribeButton - **Charts**: LineChart, Counter - **Animations**: Pre-built animation presets 3. **Themes**: Complete design systems - Tech, Finance, Education, Lifestyle, Gaming, Minimal, Business - Each theme combines colors, typography, and motion 4. **Variants**: Multiple styles per component (inspired by cva) - Example: LowerThird variants: minimal, standard, glass, bold, animated ## Installation ### Prerequisites - Python 3.11+ - Node.js 18+ (for Remotion) - npm or yarn ### Install Python Package ```bash # Clone the repository git clone https://github.com/chrishayuk/chuk-mcp-remotion.git cd chuk-mcp-remotion # Install dependencies pip install -e . # Or with uv (faster) uv pip install -e . ``` ### Install Remotion (Node.js) The server generates Remotion projects, so you'll need Remotion installed: ```bash # Remotion will be installed per-project # The MCP server handles this automatically ``` ## Quick Start ### 1. Start the Server **HTTP Mode** (for testing/development): ```bash python -m chuk_mcp_remotion.server http --port 8000 ``` **STDIO Mode** (for Claude Desktop): ```bash python -m chuk_mcp_remotion.server stdio ``` ### 2. Explore Available Components Use the discovery tools to explore what's available: ```python # List all components remotion_list_components() # Search for specific components remotion_search_components(query="text") # Get component schema remotion_get_component_schema(component_name="LowerThird") # List themes remotion_list_themes() ``` ### 3. Explore Design Tokens ```python # Color palettes remotion_list_color_tokens() # Typography system remotion_list_typography_tokens() # Motion design remotion_list_motion_tokens() ``` ## Component Catalog ### Scenes #### TitleScene Full-screen animated title card - **Variants**: minimal, standard, bold, kinetic - **Animations**: fade_zoom, slide_up, typewriter, blur_in, split ```python { "text": "The Future of AI", "subtitle": "Transforming Technology", "variant": "bold", "animation": "fade_zoom", "duration_seconds": 3.0 } ``` #### EndScreen YouTube end screen with CTAs - **Variants**: standard, split, carousel, minimal ### Overlays #### LowerThird Name plate overlay (TV-style graphics) - **Variants**: minimal, standard, glass, bold, animated - **Positions**: bottom_left, bottom_center, bottom_right, top_left, top_center ```python { "name": "Dr. Sarah Chen", "title": "AI Researcher, Stanford", "variant": "glass", "position": "bottom_left", "start_time": 2.0, "duration": 5.0 } ``` #### TextOverlay Animated text for emphasis - **Styles**: emphasis, caption, callout, subtitle, quote - **Animations**: blur_in, slide_up, fade, typewriter, scale_in #### SubscribeButton Animated subscribe button - **Animations**: bounce, glow, pulse, slide, wiggle ### Charts & Data #### LineChart Animated line chart - **Animations**: draw, fade_in, scale_in, points_sequence #### Counter Animated number counter for stats - **Animations**: count_up, flip, slot_machine, digital ## Themes ### Tech Theme Modern tech aesthetic with blue/cyan palette - **Use Cases**: Tech reviews, coding tutorials, software demos - **Colors**: Primary blue (#0066FF), Accent cyan (#00D9FF) - **Motion**: Smooth spring, ease-out curves ### Finance Theme Professional finance with green/gold - **Use Cases**: Stock analysis, investing advice, business news - **Colors**: Primary green (#00C853), Accent gold (#FFD600) - **Motion**: Snappy, precise animations ### Education Theme Friendly education with purple/orange - **Use Cases**: Educational content, explainers, courses - **Colors**: Primary purple (#7C4DFF), Accent orange (#FF6E40) - **Motion**: Bouncy, playful animations ### Gaming Theme High-energy gaming with neon accents - **Use Cases**: Gaming videos, esports, stream overlays - **Colors**: Neon green (#00E676), Neon purple (#E040FB) - **Motion**: Elastic, energetic animations ### Minimal Theme Clean monochrome aesthetic - **Use Cases**: Professional content, documentaries, interviews - **Colors**: Grayscale with accent colors - **Motion**: Smooth, subtle animations ### Lifestyle Theme Warm lifestyle with coral/pink - **Use Cases**: Vlogs, lifestyle, wellness, travel - **Colors**: Pink (#FF6B9D), Coral (#FFB74D) - **Motion**: Gentle, smooth animations ### Business Theme Professional business with navy/teal - **Use Cases**: Corporate videos, presentations, B2B - **Colors**: Navy (#1565C0), Teal (#00ACC1) - **Motion**: Snappy, professional animations ## MCP Tools ### Discovery Tools - `remotion_list_components(category?)` - List available components - `remotion_search_components(query)` - Search components - `remotion_get_component_schema(name)` - Get component details - `remotion_list_themes()` - List available themes - `remotion_get_theme_info(name)` - Get theme details ### Token Tools - `remotion_list_color_tokens()` - Color palettes - `remotion_list_typography_tokens()` - Typography system - `remotion_list_motion_tokens()` - Motion design ### Info Tools - `remotion_get_info()` - Server information and statistics ## Configuration for Claude Desktop Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json`): ```json { "mcpServers": { "remotion": { "command": "python", "args": ["-m", "chuk_mcp_remotion.server", "stdio"], "env": { "MCP_STDIO": "1" } } } } ``` ## Development ### Project Structure ``` chuk-mcp-remotion/ ā”œā”€ā”€ src/chuk_mcp_remotion/ │ ā”œā”€ā”€ server.py # Main MCP server │ ā”œā”€ā”€ tokens/ # Design tokens │ │ ā”œā”€ā”€ colors.py # Color palettes │ │ ā”œā”€ā”€ typography.py # Typography system │ │ └── motion.py # Motion design │ ā”œā”€ā”€ registry/ # Component registry │ │ └── components.py # Component definitions │ ā”œā”€ā”€ themes/ # Theme system │ │ └── youtube_themes.py # YouTube-optimized themes │ ā”œā”€ā”€ variants/ # Variant system (cva-style) │ ā”œā”€ā”€ generator/ # TSX generation │ ā”œā”€ā”€ renderer/ # Remotion rendering │ └── utils/ # Utilities ā”œā”€ā”€ examples/ # Example videos ā”œā”€ā”€ tests/ # Tests └── remotion-templates/ # Remotion project templates ``` ### Running Tests ```bash pytest ``` ### Code Quality ```bash # Format code ruff format . # Lint ruff check . # Type check mypy src ``` ## Roadmap ### Phase 1: Foundation (Current) - āœ… Design token system (colors, typography, motion) - āœ… Component registry with 7+ core components - āœ… 7 YouTube-optimized themes - āœ… Discovery tools for LLMs ### Phase 2: Generation (Next) - šŸ”² TSX component generation - šŸ”² Remotion project scaffolding - šŸ”² Composition builder - šŸ”² Asset management ### Phase 3: Rendering - šŸ”² Remotion render integration - šŸ”² Export to MP4/WebM - šŸ”² Thumbnail generation - šŸ”² Preview generation ### Phase 4: Advanced Features - šŸ”² Custom theme builder - šŸ”² Animation timeline editor - šŸ”² Audio sync - šŸ”² B-roll suggestions - šŸ”² Auto-captioning ## Inspiration This project is inspired by: - **[Remotion](https://www.remotion.dev)**: Programmatic video generation with React - **[shadcn/ui](https://ui.shadcn.com)**: Design system and component approach - **[chuk-mcp-pptx](https://github.com/chrishayuk/chuk-mcp-pptx)**: Design-system-first MCP server - **[chuk-mcp-server](https://github.com/chrishayuk/chuk-mcp-server)**: Zero-config MCP framework ## Contributing Contributions welcome! Please check out our [contributing guidelines](CONTRIBUTING.md). ## License MIT License - see [LICENSE](LICENSE) for details. ## Links - **GitHub**: https://github.com/chrishayuk/chuk-mcp-remotion - **Documentation**: https://github.com/chrishayuk/chuk-mcp-remotion/docs - **Related Projects**: - [chuk-mcp-server](https://github.com/chrishayuk/chuk-mcp-server) - [chuk-mcp-pptx](https://github.com/chrishayuk/chuk-mcp-pptx) - [Remotion](https://www.remotion.dev) ## Author **Chris Hay** - [@chrishayuk](https://github.com/chrishayuk) --- Built with ā¤ļø using [chuk-mcp-server](https://github.com/chrishayuk/chuk-mcp-server) and [Remotion](https://www.remotion.dev)

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/chrishayuk/chuk-mcp-remotion'

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