SR

stephengpope/remotion-media-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

34 stars 16 forks 质量 61 趋势 12

stephengpope/remotion-media-mcp 是从 https://github.com/stephengpope/remotion-media-mcp. 导入的 MCP 服务器候选

概览

stephengpope/remotion-media-mcp 是从 https://github.com/stephengpope/remotion-media-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

一个用于AI驱动媒体生成的MCP(模型上下文协议)服务器。直接从Claude或任何兼容MCP的客户端生成图像、视频、音乐、音效、语音和字幕。

所有生成文件保存到public/——准备用于Remotion的staticFile()或其他用途。

快速启动

全局安装

添加到克劳德代码

如果是全局安装或通过npx安装:

如果克隆并本地构建:

可选的Airtable资产追踪功能:

默认情况下,这会在用户范围(-s user)添加。添加-s project以仅限于当前项目。

添加到Claude桌面

添加到 ~/Library/Application Support/Claude/claude_desktop_config.json(macOS):

添加到.mcp.json

API密钥

从 kie.ai 获取一个KIE_API_KEY——注册后从仪表盘获取你的钥匙。

工具

generate_image

通过Nano Banana Pro生成AI图像。

参数 类型 必需 描述
prompt 字符串 是的 图片文本描述
output_name 字符串 是的 输出文件名(无扩展名)
aspect_ratio 枚举 否 1:1,2:3,3:2,3:4,4:3,4:5,5:4,9:16,16:9,21:9,自动

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Remotion Media MCP

An MCP (Model Context Protocol) server for AI-powered media generation. Generate images, videos, music, sound effects, speech, and subtitles directly from Claude or any MCP-compatible client.

All generated files save to public/ — ready for Remotion’s staticFile() or any other use.

Quick Start

Install globally

npm install -g remotion-media-mcp

Add to Claude Code

If installed globally or via npx:

claude mcp add remotion-media \
  -e KIE_API_KEY=your-api-key \
  -- npx remotion-media-mcp

If cloned and built locally:

claude mcp add remotion-media \
  -e KIE_API_KEY=your-api-key \
  -- node /path/to/remotion-media-mcp/dist/index.js

With optional Airtable asset tracking:

claude mcp add remotion-media \
  -e KIE_API_KEY=your-api-key \
  -e AIRTABLE_API_KEY=your-airtable-pat \
  -e AIRTABLE_BASE_ID=appXXX \
  -e AIRTABLE_TABLE_NAME=Assets \
  -- npx remotion-media-mcp

By default this adds at user scope (-s user). Add -s project to scope it to the current project only.

Add to Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "remotion-media": {
      "command": "npx",
      "args": ["remotion-media-mcp"],
      "env": {
        "KIE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Add to .mcp.json

{
  "mcpServers": {
    "remotion-media": {
      "command": "npx",
      "args": ["remotion-media-mcp"],
      "env": {
        "KIE_API_KEY": "your-api-key-here"
      }
    }
  }
}

API Key

Get a KIE_API_KEY from kie.ai — sign up and grab your key from the dashboard.

Tools

generate_image

Generate AI images via Nano Banana Pro.

Parameter Type Required Description
prompt string Yes Text description of the image
output_name string Yes Output filename (without extension)
aspect_ratio enum No 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, auto
resolution enum No 1K, 2K, 4K (default: 1K)
image_urls string[] No Reference images (up to 8)

generate_video_from_text

Text-to-video via Veo 3.1. Creates ~8 second clips.

Parameter Type Required Description
prompt string Yes Text description of the video
output_name string Yes Output filename (without extension)
model enum No veo3 (quality) or veo3_fast (speed, default)
aspect_ratio enum No 16:9 (default), 9:16, Auto

generate_video_from_image

Animate a still image or transition between two images via Veo 3.1.

Parameter Type Required Description
prompt string Yes Description of the animation
image_urls string[] Yes 1-2 image URLs
在 GitHub 查看完整 README

安装

npx remotion-media-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "remotion-media": { "command": "npx", "args": ["remotion-media-mcp"], "env": { "KIE_API_KEY": "your-api-key-here" } } } }