LumaMCP
LumaMCP
Un servidor del Protocolo de Contexto de Modelo (MCP) para la generación de vídeo con IA utilizando Luma Dream Machine a través de la API de AceDataCloud.
Genera vídeos con IA directamente desde Claude, VS Code o cualquier cliente compatible con MCP.
Características
Texto a vídeo - Crea vídeos generados por IA a partir de prompts de texto
Imagen a vídeo - Anima imágenes con control de fotogramas inicial/final
Extensión de vídeo - Extiende vídeos existentes con contenido adicional
Múltiples relaciones de aspecto - Soporte para 16:9, 9:16, 1:1 y más
Vídeos en bucle - Crea animaciones en bucle sin interrupciones
Mejora de claridad - Mejora opcional de la calidad del vídeo
Seguimiento de tareas - Monitorea el progreso de la generación y recupera resultados
Related MCP server: SoraMCP
Referencia de herramientas
Herramienta | Descripción |
| Genera vídeo con IA a partir de un prompt de texto usando Luma Dream Machine. |
| Genera vídeo con IA usando imágenes de referencia como fotogramas iniciales y/o finales. |
| Extiende un vídeo existente con contenido adicional. |
| Extiende un vídeo existente usando su URL. |
| Consulta el estado y el resultado de una tarea de generación de vídeo. |
| Consulta múltiples tareas de generación de vídeo a la vez. |
| Lista todas las relaciones de aspecto disponibles para la generación de vídeo de Luma. |
| Lista todas las acciones de la API de Luma disponibles y sus herramientas correspondientes. |
Inicio rápido
1. Obtén tu token de API
Regístrate en la Plataforma AceDataCloud
Haz clic en "Acquire" para obtener tu token de API
Copia el token para usarlo a continuación
2. Usa el servidor alojado (Recomendado)
AceDataCloud aloja un servidor MCP gestionado — no requiere instalación local.
Endpoint: https://luma.mcp.acedata.cloud/mcp
Todas las solicitudes requieren un token Bearer. Usa el token de API del paso 1.
Claude.ai
Conéctate directamente en Claude.ai con OAuth — no se necesita token de API:
Ve a Settings → Integrations → Add More en Claude.ai
Introduce la URL del servidor:
https://luma.mcp.acedata.cloud/mcpCompleta el flujo de inicio de sesión OAuth
Empieza a usar las herramientas en tu conversación
Claude Desktop
Añádelo a tu configuración (~/Library/Application Support/Claude/claude_desktop_config.json en macOS):
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cursor / Windsurf
Añádelo a tu configuración de MCP (.cursor/mcp.json o .windsurf/mcp.json):
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}VS Code (Copilot)
Añádelo a tu configuración de MCP de VS Code (.vscode/mcp.json):
{
"servers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}O instala la extensión Ace Data Cloud MCP para VS Code, que agrupa los 15 servidores MCP con una configuración de un solo clic.
IDEs de JetBrains
Ve a Settings → Tools → AI Assistant → Model Context Protocol (MCP)
Haz clic en Add → HTTP
Pega:
{
"mcpServers": {
"luma": {
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Claude Code
Claude Code admite servidores MCP de forma nativa:
claude mcp add luma --transport http https://luma.mcp.acedata.cloud/mcp \
-h "Authorization: Bearer YOUR_API_TOKEN"O añádelo al archivo .mcp.json de tu proyecto:
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cline
Añádelo a la configuración de MCP de Cline (.cline/mcp_settings.json):
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Amazon Q Developer
Añádelo a tu configuración de MCP:
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Roo Code
Añádelo a la configuración de MCP de Roo Code:
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Continue.dev
Añádelo a .continue/config.yaml:
mcpServers:
- name: luma
type: streamable-http
url: https://luma.mcp.acedata.cloud/mcp
headers:
Authorization: "Bearer YOUR_API_TOKEN"Zed
Añádelo a la configuración de Zed (~/.config/zed/settings.json):
{
"language_models": {
"mcp_servers": {
"luma": {
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
}Prueba con cURL
# Health check (no auth required)
curl https://luma.mcp.acedata.cloud/health
# MCP initialize
curl -X POST https://luma.mcp.acedata.cloud/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'3. O ejecútalo localmente (Alternativa)
Si prefieres ejecutar el servidor en tu propia máquina:
# Install from PyPI
pip install mcp-luma
# or
uvx mcp-luma
# Set your API token
export ACEDATACLOUD_API_TOKEN="your_token_here"
# Run (stdio mode for Claude Desktop / local clients)
mcp-luma
# Run (HTTP mode for remote access)
mcp-luma --transport http --port 8000Claude Desktop (Local)
{
"mcpServers": {
"luma": {
"command": "uvx",
"args": ["mcp-luma"],
"env": {
"ACEDATACLOUD_API_TOKEN": "your_token_here"
}
}
}
}Docker (Autoalojamiento)
docker pull ghcr.io/acedatacloud/mcp-luma:latest
docker run -p 8000:8000 ghcr.io/acedatacloud/mcp-luma:latestLos clientes se conectan con su propio token Bearer: el servidor extrae el token de la cabecera Authorization de cada solicitud.
Herramientas disponibles
Generación de vídeo
Herramienta | Descripción |
| Genera vídeo a partir de un prompt de texto |
| Genera vídeo usando imágenes de referencia |
| Extiende un vídeo existente por ID |
| Extiende un vídeo existente por URL |
Tareas
Herramienta | Descripción |
| Consulta el estado de una sola tarea |
| Consulta múltiples tareas a la vez |
Información
Herramienta | Descripción |
| Lista las relaciones de aspecto disponibles |
| Lista las acciones de API disponibles |
Ejemplos de uso
Generar vídeo a partir de un prompt
User: Create a video of waves on a beach
Claude: I'll generate a beach wave video for you.
[Calls luma_generate_video with prompt="Ocean waves gently crashing on sandy beach, sunset"]Animar una imagen
User: Animate this image: https://example.com/image.jpg
Claude: I'll create a video from your image.
[Calls luma_generate_video_from_image with start_image_url and appropriate prompt]Extender un vídeo
User: Continue this video with more action
Claude: I'll extend the video with additional content.
[Calls luma_extend_video with video_id and new prompt]Relaciones de aspecto disponibles
Relación de aspecto | Descripción | Caso de uso |
| Paisaje (predeterminado) | YouTube, TV, presentaciones |
| Retrato | TikTok, Instagram Reels |
| Cuadrado | Publicaciones de Instagram |
| Tradicional | Formato de vídeo clásico |
| Retrato tradicional | Contenido en retrato |
| Ultrawide | Contenido cinematográfico |
| Ultrawide vertical | Pantallas verticales especiales |
Configuración
Variables de entorno
Variable | Descripción | Predeterminado |
| Token de API de AceDataCloud | Requerido |
| URL base de la API |
|
| ID de cliente OAuth (modo alojado) | — |
| URL base de la plataforma |
|
| Relación de aspecto predeterminada |
|
| Tiempo de espera de solicitud en segundos |
|
| Nivel de registro |
|
Opciones de línea de comandos
mcp-luma --help
Options:
--version Show version
--transport Transport mode: stdio (default) or http
--port Port for HTTP transport (default: 8000)Desarrollo
Configurar el entorno de desarrollo
# Clone repository
git clone https://github.com/AceDataCloud/LumaMCP.git
cd LumaMCP
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # or `.venv\Scripts\activate` on Windows
# Install with dev dependencies
pip install -e ".[dev,test]"Ejecutar pruebas
# Run unit tests
pytest
# Run with coverage
pytest --cov=core --cov=tools
# Run integration tests (requires API token)
pytest tests/test_integration.py -m integrationCalidad del código
# Format code
ruff format .
# Lint code
ruff check .
# Type check
mypy core toolsConstruir y publicar
# Install build dependencies
pip install -e ".[release]"
# Build package
python -m build
# Upload to PyPI
twine upload dist/*Estructura del proyecto
LumaMCP/
├── core/ # Core modules
│ ├── __init__.py
│ ├── client.py # HTTP client for Luma API
│ ├── config.py # Configuration management
│ ├── exceptions.py # Custom exceptions
│ ├── server.py # MCP server initialization
│ ├── types.py # Type definitions
│ └── utils.py # Utility functions
├── tools/ # MCP tool definitions
│ ├── __init__.py
│ ├── video_tools.py # Video generation tools
│ ├── task_tools.py # Task query tools
│ └── info_tools.py # Information tools
├── prompts/ # MCP prompts
│ └── __init__.py # Prompt templates
├── tests/ # Test suite
│ ├── conftest.py
│ ├── test_client.py
│ ├── test_config.py
│ ├── test_integration.py
│ └── test_utils.py
├── deploy/ # Deployment configs
│ └── production/
│ ├── deployment.yaml
│ ├── ingress.yaml
│ └── service.yaml
├── .env.example # Environment template
├── .gitignore
├── CHANGELOG.md
├── Dockerfile # Docker image for HTTP mode
├── docker-compose.yaml # Docker Compose config
├── LICENSE
├── main.py # Entry point
├── pyproject.toml # Project configuration
└── README.mdReferencia de la API
Este servidor envuelve la API de Luma de AceDataCloud:
API de vídeos de Luma - Generación de vídeo
API de tareas de Luma - Consultas de tareas
Contribución
¡Las contribuciones son bienvenidas! Por favor:
Haz un fork del repositorio
Crea una rama de características (
git checkout -b feature/amazing)Confirma tus cambios (
git commit -m 'Add amazing feature')Envía a la rama (
git push origin feature/amazing)Abre una Pull Request
Licencia
Licencia MIT - consulta LICENSE para más detalles.
Enlaces
Hecho con amor por AceDataCloud
Available Tools
8 toolsluma_extend_videoAInspect
Extend an existing video with additional content.
This allows you to continue a previously generated video, adding more motion
and content after the original video ends.
Use this when:
- A generated video is too short and you want to add more
- You want to continue the story or motion from a previous video
- You're building a longer video piece by piece
Returns:
Task ID and the extended video information.
Inputs: prompt (required), video_id (required), callback_url, end_image_url. Returns: result
luma_extend_video_from_urlAInspect
Extend an existing video using its URL.
Similar to luma_extend_video, but uses the video URL instead of video ID.
This is useful when you have the video URL but not the original video ID.
Use this when:
- You have the video URL from a previous generation
- You want to extend a video but don't have the video_id
Returns:
Task ID and the extended video information.
Inputs: prompt (required), video_url (required), callback_url, end_image_url. Returns: result
luma_generate_videoAInspect
Generate AI video from a text prompt using Luma Dream Machine.
This is the simplest way to create video - just describe what you want and Luma
will generate a high-quality AI video.
Use this when:
- You want to create a video from a text description
- You don't have reference images
- You want quick video generation
For using reference images (start/end frames), use luma_generate_video_from_image instead.
Returns:
Task ID and generated video information including URLs, dimensions, and thumbnail.
Inputs: prompt (required), loop, timeout, enhancement, +2 more. Returns: result
luma_generate_video_from_imageAInspect
Generate AI video using reference images as start and/or end frames.
This allows you to control the video by specifying what the first frame
and/or last frame should look like. Luma will generate smooth motion between them.
Use this when:
- You have a specific image you want to animate
- You want to create a video transition between two images
- You need precise control over the video's visual content
At least one of start_image_url or end_image_url must be provided.
Returns:
Task ID and generated video information including URLs, dimensions, and thumbnail.
Inputs: prompt (required), loop, timeout, enhancement, +4 more. Returns: result
luma_get_taskAInspect
Query the status and result of a video generation task.
Use this to check if a generation is complete and retrieve the resulting
video URLs, thumbnails, and other metadata.
Use this when:
- You want to check if a generation has completed
- You need to retrieve video URLs from a previous generation
- You want to get the full details of a generated video
Task states:
- 'pending': Generation is still in progress
- 'completed': Generation finished successfully
- 'failed': Generation failed (check error message)
Returns:
Task status and generated video information including URLs, dimensions, and thumbnail.
Inputs: task_id (required). Returns: result
luma_get_tasks_batchAInspect
Query multiple video generation tasks at once.
Efficiently check the status of multiple tasks in a single request.
More efficient than calling luma_get_task multiple times.
Use this when:
- You have multiple pending generations to check
- You want to get status of several videos at once
- You're tracking a batch of generations
Returns:
Status and video information for all queried tasks.
Inputs: task_ids (required). Returns: result
luma_list_actionsAInspect
List all available Luma API actions and corresponding tools.
Reference guide for what each action does and which tool to use.
Helpful for understanding the full capabilities of the Luma MCP.
Returns:
Categorized list of all actions and their corresponding tools.
Inputs: no named parameters. Returns: result
luma_list_aspect_ratiosAInspect
List all available aspect ratios for Luma video generation.
Shows all available aspect ratio options with their use cases.
Use this to understand which aspect ratio to choose for your video.
Returns:
Table of all aspect ratios with their descriptions and use cases.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools are clearly distinct: generation, image-based generation, status checks, and aspect ratio listing are unambiguous. The only potential confusion is luma_extend_video vs luma_extend_video_from_url, which perform the same operation but differ by input identifier; descriptions help but the overlap could still cause misselection.
All tools follow a consistent luma_<verb>_<object> snake_case pattern. Verbs are predictable (list, get, generate, extend) and names clearly map to their actions, making the set easy to navigate.
Eight tools is well-scoped for a video generation MCP server. Each tool earns its place, covering discovery, generation, extension, and status retrieval without unnecessary redundancy or bloat.
The core video generation lifecycle is covered: generate text-to-video, generate from images, extend videos, and query task status individually or in batch. Minor gaps exist, such as no cancellation or listing of all past tasks, but these are not critical to the primary workflow.
Maintenance
Related MCP Connectors
AI image, video & music generation. Flux, Veo 3.1, Suno V5. Free tier included.
Runway video and images on your own plan: video-to-video, character animation, lip-sync, 4K upscale
AI image, video, music and speech generation: text-to-video, image-to-video, effects and upscaling.
AI video, images, music & SFX: Seedance 2.5, Veo 3.1, Kling 3.0, Nano Banana Pro, 20+ models.
Related MCP Servers
- AlicenseAqualityBmaintenanceByteDance Seedance AI video generation with text-to-video, image-to-video, multiple models (1.5 Pro/1.0 Pro/Lite), synchronized audio, and flexible resolutions up to 1080p.7343 PyPI25MIT
- AlicenseAqualityBmaintenanceOpenAI Sora AI video generation with text-to-video, image-to-video, character reuse across scenes, and async webhook callbacks.1046 PyPIMIT
- AlicenseAqualityBmaintenanceGoogle Veo AI video generation with text-to-video, image-to-video, multi-image fusion, 1080p upscaling, and multiple quality/speed models.83MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for 4K video generation using Google VEO 3.1 — text-to-video, image-to-video, video extension, and frame interpolation.4MIT