comfy-ae-video-factory-mcp
Comfy AE Video Factory MCP
AIショート動画自動化パイプラインのためのMCP Server:ComfyUIの画像生成/動画生成、FFmpeg後処理、After Effectsテンプレートによるパッケージング、レビュー、およびマルチプラットフォーム公開準備を連携させます。
設計目標:Cursor / Claude Desktop / ChatGPT MCPクライアントからこれらのツールを呼び出し、「生成 → パッケージング → レビュー → エクスポート → 公開パッケージ作成」のフローを自動化します。
機能
ローカルまたはクラウドのComfyUIワークフローの呼び出し
ComfyUIタスク履歴の照会
FFprobeを使用した動画解析
FFmpegを使用したトランスコード、トリミング、フレーム抽出、結合
AE素材自動置換用JSXスクリプトの生成
aerenderを呼び出してAfter Effectsテンプレートをレンダリング
標準化された動画制作タスクmanifestの作成
TikTok / 小紅書 / Bilibili / YouTube Shorts / TikTok用公開パッケージ設定の生成
将来的なサードパーティ製審査API連携を見据えた、基本的なコンテンツ審査プレースホルダーインターフェースの提供
Related MCP server: Media-infrastructure
インストール
npm install
npm run build実行
npm startMCPクライアントでの設定
{
"mcpServers": {
"comfy-ae-video-factory": {
"command": "node",
"args": ["/absolute/path/comfy-ae-video-factory-mcp/dist/index.js"],
"env": {
"COMFY_LOCAL_URL": "http://127.0.0.1:8188",
"VIDEO_FACTORY_ROOT": "/absolute/path/workspace",
"FFMPEG_BIN": "ffmpeg",
"FFPROBE_BIN": "ffprobe",
"AERENDER_BIN": "/Applications/Adobe After Effects 2025/aerender"
}
}
}
}Windowsの例:
{
"AERENDER_BIN": "C:\\Program Files\\Adobe\\Adobe After Effects 2025\\Support Files\\aerender.exe"
}推奨ワークフロー
pipeline_create_jobで制作タスクディレクトリとmanifestを作成comfy_submit_workflowでComfyUIの動画生成ワークフローを送信comfy_get_historyで結果を照会media_probeで動画仕様をチェックffmpeg_transcodeでアスペクト比、ビットレート、フレームレートを統一ae_generate_jsxでAEテンプレート置換スクリプトを生成ae_render_templateでaerenderを呼び出し、最終的なパッケージ動画を出力review_video_packageで審査プレースホルダーを実行platform_prepare_packageで各プラットフォーム用公開パッケージを生成
AEテンプレートの連携方法
AEプロジェクト内で、あらかじめ以下のプレースホルダーレイヤーを作成しておくことを推奨します:
{{MAIN_VIDEO}}{{TITLE}}{{SUBTITLE}}{{LOGO}}{{CTA}}
その後、本プロジェクトで生成されたJSXを使用して素材とテキストを置換し、aerender経由で出力します。
セキュリティに関する注意
このMCP Serverはローカルコマンドを実行するため、デフォルトで以下の制限を設けています:
すべての入出力ファイルは
VIDEO_FACTORY_ROOTディレクトリ内にある必要がありますFFmpegのパラメータはホワイトリスト化されたカプセル化を行い、任意のシェルを直接公開することはありません
AEレンダリングは
dryRunをサポートしており、コマンドを事前にテストすることを推奨します
GitHubアップロード
git init
git add .
git commit -m "init comfy ae video factory mcp"
git branch -M main
git remote add origin git@github.com:YOUR_NAME/comfy-ae-video-factory-mcp.git
git push -u origin main備考
MCP公式のTypeScript SDKは、サーバーの作成、ツールの登録をサポートしており、stdioまたはStreamable HTTPを通じてMCPクライアントに接続します。ここではstdioを使用しており、ローカルでの自動化統合に適しています。
Maintenance
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
- AlicenseAqualityDmaintenanceEnables video generation through OpenAI's Sora 2 API, allowing users to create, monitor, and manage AI-generated videos. It also provides tools for merging video clips and creating fade animations from static images using FFmpeg.6112MIT
- AlicenseBqualityCmaintenanceMedia Execution Control Layer for AI Agents. Reserve-execute-burn/refund pattern. FFmpeg post-processing (format conversion, audio normalization) Supports Flux2 Pro, Veo 3.1, Suno V5.161MIT
- AlicenseNot gradedqualityAmaintenanceA cinema-grade video production MCP server that enables automated website recording, editing, and AI-powered narration using ffmpeg and Playwright. It provides tools for color grading, captioning, and converting videos into social media formats through natural language commands.945MIT
- FlicenseAqualityBmaintenanceEnables AI-powered video editing in IDEs through a pipeline-driven workflow, including proxy ingestion, motion graphics generation, and high-fidelity rendering.4
Related MCP Connectors
Transform video, audio and images, and generate media from prompts. FFmpeg, captions, models.
A real timeline video editor for AI agents: journaled edits, FFmpeg/MLT rendering, exports
Build and run visual creative-production workflows from your AI agent.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Eliveral/codex-mcp-comfy-ae-video-factory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server