Luma MCP Server
Servidor MCP de Luma
Un servidor que proporciona la API de generación de video de Luma AI como Protocolo de contexto de modelo (MCP)
🌟 Descripción general
Luma MCP Server proporciona las capacidades de generación de video de Luma AI como un servidor MCP. Proporciona la capacidad de generar vídeo a partir de texto e imágenes, así como aumentar e interpolar vídeo existente.
Related MCP server: AI Video Generator MCP Server
🏗️ Estructura del proyecto
src/
├── types/ - 型定義
│ ├── schemas.ts - 入力スキーマ
│ └── types.ts - 共通型定義
├── services/ - ビジネスロジック
├── handlers/ - リクエストハンドラー
│ └── tool-handlers.ts
├── clients/ - 外部APIクライアント
│ └── luma-client.ts
├── utils/ - ユーティリティ
│ └── error-handler.ts
├── config/ - 設定
│ └── server-config.ts
└── index.ts - エントリーポイント📦 Instalación
npm install @sunwood-ai-labs/luma-mcp-server⚙️ Preferencias
Obtener una clave API de Luma
Obtén tu clave API desde el Portal para desarrolladores de Luma AI .
Configuración de variables de entorno
export LUMA_API_KEY=your_api_key_here
🛠️ Herramientas disponibles
generar_video
Generar vídeos a partir de indicaciones de texto.
{
name: 'generate_video',
arguments: {
prompt: "A teddy bear in sunglasses playing electric guitar and dancing",
loop: true, // オプション
callback_url: "https://your-callback-url.com" // オプション
}
}generar_vídeo_a_partir_de_imagen
Generar un vídeo utilizando la imagen como cuadro inicial.
{
name: 'generate_video_from_image',
arguments: {
prompt: "Low-angle shot of a majestic tiger prowling through a snowy landscape",
image_url: "https://your-image-url.com/start-frame.jpg",
loop: true, // オプション
callback_url: "https://your-callback-url.com" // オプション
}
}extender_video
Ampliar un vídeo existente.
{
name: 'extend_video',
arguments: {
prompt: "Continue the dance sequence",
source_generation_id: "existing-video-generation-id",
loop: true, // オプション
callback_url: "https://your-callback-url.com" // オプション
}
}interpolar_vídeos
Interpola suavemente entre dos vídeos.
{
name: 'interpolate_videos',
arguments: {
prompt: "Create a smooth transition between the videos",
start_generation_id: "first-video-generation-id",
end_generation_id: "second-video-generation-id",
callback_url: "https://your-callback-url.com" // オプション
}
}🔧 Información para desarrolladores
arquitectura
Definición de tipo (
types/) :schemas.ts: Esquema de validación de entrada usando Zodtypes.ts: Definiciones de tipos e interfaces comunes
handlers/:tool-handlers.ts: Manejo de solicitudes de herramientas MCP
Clientes (
clients/) :luma-client.ts: Responsable de la comunicación con la API de IA de Luma
Utilidades (
utils/) :error-handler.ts: Manejo unificado de errores
Configuración (
config/) :server-config.ts: Configuración centralizada del servidor
Manejo de errores
Sistema unificado de gestión de errores
Asignación adecuada a los códigos de error de MCP
Mensajes de error detallados y registro
📝 Notas
Por favor escribe tus indicaciones en inglés.
La generación de video puede tardar algún tiempo
Tenga en cuenta las restricciones de uso de la API
🤝 Contribuciones
Bifurcar este repositorio
Crea una nueva rama (
git checkout -b feature/amazing-feature)Confirmar los cambios (
git commit -m '✨ feat: Add amazing feature')Empujar la rama (
git push origin feature/amazing-feature)Crear una solicitud de extracción
📄 Licencia
Licencia MIT: consulte el archivo LICENCIA para obtener más detalles.
This server cannot be installed
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
- FlicenseCqualityCmaintenanceCreate videos and images using Luma AI, this MCP server handles all API functionality for Luma Dream Machine from Claude Desktop.107
- AlicenseBqualityFmaintenanceModel 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.23MIT
- AlicenseBqualityDmaintenanceMCP server that exposes Google's Veo2 video generation capabilities, allowing clients to generate videos from text prompts or images.732MIT
- AlicenseNot gradedqualityDmaintenanceAn async video generation MCP server with multi-provider support. Currently in skeleton phase with stub implementations, it will eventually enable video generation through providers like Veo 3.1, Grok Imagine Video, and Sora 2 Pro.MIT
Related MCP Connectors
MCP server for Luma Dream Machine AI video generation
MCP server for Google Veo AI video generation
MCP server for Hailuo (MiniMax) AI video generation
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/Sunwood-ai-labs/luma-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server