Skip to main content
Glama
ivalenzuela

remotion-mcp-server

by ivalenzuela

Remotion Video Production MCP Server

License: MIT MCP Protocol

A world-class Model Context Protocol (MCP) server that acts as an intelligent bridge for AI agents to analyze audio beats, synthesize voices with Google Gemini TTS, and programmatically construct and render professional videos using Remotion (v4.0+) and React.


๐Ÿš€ Key Features

  • ๐ŸŽฌ Programmatic Scaffolding: Create zero-config React/Remotion video projects with built-in aspect ratios: TikTok/Reels (tiktok-916), YouTube (youtube-169), and Social (social-11).

  • ๐ŸŽ™๏ธ Gemini 3.1 Flash TTS integration: Generate high-fidelity voiced scene dialogues with regional accents, and produce word-level timecodes for kinetic subtitles.

  • ๐ŸŽต Librosa Audio Beat Sync: Analyze background music to extract BPM, beat boundaries, RMS energy drops/rises, and recommend frame-accurate scene cuts.

  • ๐Ÿ“ธ Visual Preview Snapshots: Instantly render frame snapshots (PNG/JPEG/WebP) at any frame index for AI visual verification.

  • โšก Headless Rendering: Programmatically compile high-quality MP4/WebM videos with multi-core concurrency control and progress tracking.


Related MCP server: Eversince MCP Server

๐Ÿ› ๏ธ Prerequisites

To run this MCP server and render videos, the host environment requires:

  1. Node.js (v18.0.0 or higher) and npm.

  2. Python 3 (v3.10+ recommended) with the following packages installed:

    pip install librosa numpy scipy google-genai
  3. Remotion Browser Dependencies: Launching Chrome headless requires Chromium. Install it via CLI:

    npx remotion browser ensure

Copy and paste a single command into your terminal. If Git, Node.js, npm, or Python are missing, the script will automatically install them for you!

๐ŸŽ macOS / Linux (Terminal)

curl -fsSL https://raw.githubusercontent.com/ivalenzuela/remotion-mcp-server/main/autoinstall.sh | bash

๐ŸชŸ Windows (PowerShell)

iwr -useb https://raw.githubusercontent.com/ivalenzuela/remotion-mcp-server/main/autoinstall.ps1 | iex

Zero Manual Intervention: The script automatically detects missing prerequisites (Git, Node.js, npm, Python 3) and installs them via Homebrew / Winget / Chocolatey. It then scans all Antigravity (.gemini/, .antigravity-ide/, .antigravity/), Claude Desktop, and system paths, installs Python audio dependencies, ensures Chromium is ready, and links the SKILL and MCP server seamlessly.


๐Ÿ› ๏ธ Manual Installation (Alternative)

  1. Compile the Server:

    git clone https://github.com/ivalenzuela/remotion-mcp-server.git
    cd remotion-mcp-server
    node install.js

2. Register with your AI Client

Add the server configuration to your MCP settings file (e.g. claude_desktop_config.json, antigravity.json, or .mcp.json):

{
  "mcpServers": {
    "remotion": {
      "command": "node",
      "args": ["/path/to/remotion-mcp-server/dist/index.js"],
      "env": {
        "GEMINI_API_KEY": "YOUR_GEMINI_API_KEY_HERE"
      }
    }
  }
}

๐Ÿค– Available MCP Tools

1. remotion_scaffold_project

Scaffolds a complete React/Remotion project with prebuilt templates, standard layout components, and automatically installs npm dependencies.

  • Arguments:

    • projectName (string, required): Folder name of the target project.

    • template (enum: tiktok-916, youtube-169, social-11, required): Aspect ratio.

    • targetDir (string, required): Parent directory path.

2. remotion_analyze_audio

Performs signal processing on audio files using Python Librosa to return BPM, beat frames, energy profiles, recommended scene cut frame numbers, and aligns SRT subtitles.

  • Arguments:

    • audioPath (string, required): Path to input audio track.

    • srtPath (string, optional): Path to SRT subtitles file.

    • outputPath (string, optional): Path to save the output JSON analysis.

    • fps (number, default 30): Target composition frame rate.

    • minSceneDuration (number, default 3.5): Minimum seconds between scene cuts.

3. remotion_generate_tts

Synthesizes speech using Google Gemini 3.1 Flash TTS (gemini-3.1-flash-tts-preview) and outputs character-weighted word timecodes. Automatically falls back to clean synthetic audio if GEMINI_API_KEY is not present.

  • Arguments:

    • text (string, required): Dialogue text to synthesize.

    • outputPath (string, required): Path to save generated .wav file.

    • voice (string, default "Puck"): Gemini prebuilt voice name.

    • accent (string, optional): Optional regional accent instruction.

    • fps (number, default 30): Frame rate.

4. remotion_preview_frame

Renders a still snapshot image (PNG/JPEG/WebP) of a specific frame in the composition using Remotion's CLI.

  • Arguments:

    • projectDir (string, required): Path to Remotion project.

    • compositionId (string, required): Target Composition ID.

    • frame (number, default 0): Frame index to capture.

    • imageFormat (enum: png, jpeg, webp, default png): Format.

    • props (object, optional): Input React props.

5. remotion_render_video

Compiles a composition into a production-grade video (MP4/WebM).

  • Arguments:

    • projectDir (string, required): Path to Remotion project.

    • compositionId (string, required): Target Composition ID.

    • outputPath (string, optional): Output video path.

    • concurrency (number/string, default "auto"): CPU threads to utilize.

    • codec (string, default "h264"): Target codec.

    • props (object, optional): Input React props.


๐ŸŽจ Prebuilt React Components

Scaffolded projects include these production-ready layout components:

  1. SubtitleOverlay: Word-by-word active scaling and custom text shadow glows ("Efecto Lupa PRO") for dual-language subtitles.

  2. KenBurnsImage: Clean interpolation-based image scaling and translation without CSS animations.

  3. AudioSpectrum: Sound frequency spectrum visualizer bars reactively synchronized with the soundtrack.

  4. LowerThird: Elegant lower-third pop-ups for social media profiles or name cards.


๐Ÿงช Testing & Verification

Run the full E2E test suite to verify tool execution, path resolution, and CLI rendering:

npm test

๐Ÿ“„ License

This project is licensed under the MIT License.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Agentic video editing on real footage: cut, caption, reframe, score, and export at full quality.

  • Create and track AI music videos and audio-reactive visuals from songs.

  • Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.

View all MCP Connectors

Latest Blog Posts

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/ivalenzuela/remotion-mcp-server'

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