Luma MCP Server
Luma AIのビデオ生成APIをModel Context Protocol (MCP)として提供するサーバー
🌟 概要
Luma MCP Serverは、Luma AIのビデオ生成機能をMCPサーバーとして提供します。テキストや画像からビデオを生成したり、既存のビデオを拡張・補間したりする機能を提供します。
🏗️ プロジェクト構造
📦 インストール
⚙️ 環境設定
- Luma APIキーの取得
- Luma AI Developer PortalからAPIキーを取得してください。
- 環境変数の設定
🛠️ 使用可能なツール
generate_video
テキストプロンプトからビデオを生成します。
generate_video_from_image
画像を開始フレームとしてビデオを生成します。
extend_video
既存のビデオを拡張します。
interpolate_videos
2つのビデオ間をスムーズに補間します。
🔧 開発者向け情報
アーキテクチャ
- 型定義 (
types/
):schemas.ts
: Zodを使用した入力バリデーションスキーマtypes.ts
: 共通の型定義とインターフェース
- ハンドラー (
handlers/
):tool-handlers.ts
: MCPツールのリクエスト処理
- クライアント (
clients/
):luma-client.ts
: Luma AI APIとの通信を担当
- ユーティリティ (
utils/
):error-handler.ts
: 統一的なエラー処理
- 設定 (
config/
):server-config.ts
: サーバー設定の一元管理
エラーハンドリング
- 統一的なエラー処理システム
- MCPエラーコードへの適切なマッピング
- 詳細なエラーメッセージとロギング
📝 注意事項
- プロンプトは英語で記述してください
- ビデオ生成には時間がかかる場合があります
- APIの利用制限に注意してください
🤝 コントリビューション
- このリポジトリをフォーク
- 新しいブランチを作成 (
git checkout -b feature/amazing-feature
) - 変更をコミット (
git commit -m '✨ feat: Add amazing feature'
) - ブランチをプッシュ (
git push origin feature/amazing-feature
) - プルリクエストを作成
📄 ライセンス
MIT License - 詳細は LICENSE ファイルを参照してください。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A server that provides Luma AI's video generation API as the Model Context Protocol (MCP)
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server implementation that enables connection between OpenAI APIs and MCP clients for coding assistance with features like CLI interaction, web API integration, and tool-based architecture.Last updated -33Python
- -securityFlicense-qualityA generic Model Context Protocol framework for building AI-powered applications that provides standardized ways to create MCP servers and clients for integrating LLMs with support for Ollama and Supabase.Last updated -TypeScript
- AsecurityFlicenseAqualityCreate videos and images using Luma AI, this MCP server handles all API functionality for Luma Dream Machine from Claude Desktop.Last updated -103Python
- AsecurityAlicenseAqualityModel Context Protocol server that enables generating videos from text prompts and/or images using AI models (Luma Ray2 Flash and Kling v1.6 Pro) with configurable parameters like aspect ratio, resolution, and duration.Last updated -23JavaScriptMIT License