LumaMCP
LumaMCP
Ein Model Context Protocol (MCP)-Server für KI-Videogenerierung mit Luma Dream Machine über die AceDataCloud API.
Generieren Sie KI-Videos direkt aus Claude, VS Code oder einem beliebigen MCP-kompatiblen Client.
Funktionen
Text zu Video - Erstellen Sie KI-generierte Videos aus Text-Prompts
Bild zu Video - Animieren Sie Bilder mit Kontrolle über Start-/End-Frames
Videoerweiterung - Erweitern Sie bestehende Videos mit zusätzlichen Inhalten
Mehrere Seitenverhältnisse - Unterstützung für 16:9, 9:16, 1:1 und mehr
Loop-Videos - Erstellen Sie nahtlos wiederholende Animationen
Verbesserung der Klarheit - Optionale Verbesserung der Videoqualität
Aufgabenverfolgung - Überwachen Sie den Fortschritt der Generierung und rufen Sie Ergebnisse ab
Related MCP server: SoraMCP
Tool-Referenz
Tool | Beschreibung |
| Generiert ein KI-Video aus einem Text-Prompt mit Luma Dream Machine. |
| Generiert ein KI-Video unter Verwendung von Referenzbildern als Start- und/oder End-Frames. |
| Erweitert ein bestehendes Video mit zusätzlichen Inhalten. |
| Erweitert ein bestehendes Video unter Verwendung seiner URL. |
| Fragt den Status und das Ergebnis einer Videogenerierungsaufgabe ab. |
| Fragt mehrere Videogenerierungsaufgaben gleichzeitig ab. |
| Listet alle verfügbaren Seitenverhältnisse für die Luma-Videogenerierung auf. |
| Listet alle verfügbaren Luma-API-Aktionen und die entsprechenden Tools auf. |
Schnellstart
1. Holen Sie sich Ihren API-Token
Registrieren Sie sich auf der AceDataCloud-Plattform
Gehen Sie zur API-Dokumentationsseite
Klicken Sie auf "Acquire", um Ihren API-Token zu erhalten
Kopieren Sie den Token für die untenstehende Verwendung
2. Verwenden Sie den gehosteten Server (Empfohlen)
AceDataCloud hostet einen verwalteten MCP-Server — keine lokale Installation erforderlich.
Endpunkt: https://luma.mcp.acedata.cloud/mcp
Alle Anfragen erfordern einen Bearer-Token. Verwenden Sie den API-Token aus Schritt 1.
Claude.ai
Verbinden Sie sich direkt auf Claude.ai mit OAuth — kein API-Token erforderlich:
Gehen Sie zu Claude.ai Einstellungen → Integrationen → Mehr hinzufügen
Geben Sie die Server-URL ein:
https://luma.mcp.acedata.cloud/mcpSchließen Sie den OAuth-Login-Prozess ab
Beginnen Sie mit der Nutzung der Tools in Ihrer Konversation
Claude Desktop
Fügen Sie dies zu Ihrer Konfiguration hinzu (~/Library/Application Support/Claude/claude_desktop_config.json unter macOS):
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cursor / Windsurf
Fügen Sie dies zu Ihrer MCP-Konfiguration hinzu (.cursor/mcp.json oder .windsurf/mcp.json):
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}VS Code (Copilot)
Fügen Sie dies zu Ihrer VS Code MCP-Konfiguration hinzu (.vscode/mcp.json):
{
"servers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Oder installieren Sie die Ace Data Cloud MCP-Erweiterung für VS Code, die alle 15 MCP-Server mit einer Ein-Klick-Einrichtung bündelt.
JetBrains IDEs
Gehen Sie zu Einstellungen → Tools → AI Assistant → Model Context Protocol (MCP)
Klicken Sie auf Hinzufügen → HTTP
Einfügen:
{
"mcpServers": {
"luma": {
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Claude Code
Claude Code unterstützt MCP-Server nativ:
claude mcp add luma --transport http https://luma.mcp.acedata.cloud/mcp \
-h "Authorization: Bearer YOUR_API_TOKEN"Oder fügen Sie es zur .mcp.json Ihres Projekts hinzu:
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cline
Fügen Sie dies zu den MCP-Einstellungen von Cline hinzu (.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
Fügen Sie dies zu Ihrer MCP-Konfiguration hinzu:
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Roo Code
Fügen Sie dies zu den Roo Code MCP-Einstellungen hinzu:
{
"mcpServers": {
"luma": {
"type": "streamable-http",
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Continue.dev
Fügen Sie dies zu .continue/config.yaml hinzu:
mcpServers:
- name: luma
type: streamable-http
url: https://luma.mcp.acedata.cloud/mcp
headers:
Authorization: "Bearer YOUR_API_TOKEN"Zed
Fügen Sie dies zu den Einstellungen von Zed hinzu (~/.config/zed/settings.json):
{
"language_models": {
"mcp_servers": {
"luma": {
"url": "https://luma.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
}cURL-Test
# 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. Oder lokal ausführen (Alternative)
Wenn Sie den Server lieber auf Ihrem eigenen Rechner ausführen möchten:
# 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 (Lokal)
{
"mcpServers": {
"luma": {
"command": "uvx",
"args": ["mcp-luma"],
"env": {
"ACEDATACLOUD_API_TOKEN": "your_token_here"
}
}
}
}Docker (Self-Hosting)
docker pull ghcr.io/acedatacloud/mcp-luma:latest
docker run -p 8000:8000 ghcr.io/acedatacloud/mcp-luma:latestClients verbinden sich mit ihrem eigenen Bearer-Token — der Server extrahiert den Token aus dem Authorization-Header jeder Anfrage.
Verfügbare Tools
Videogenerierung
Tool | Beschreibung |
| Generiert Video aus einem Text-Prompt |
| Generiert Video unter Verwendung von Referenzbildern |
| Erweitert ein bestehendes Video per ID |
| Erweitert ein bestehendes Video per URL |
Aufgaben
Tool | Beschreibung |
| Fragt einen einzelnen Aufgabenstatus ab |
| Fragt mehrere Aufgaben gleichzeitig ab |
Informationen
Tool | Beschreibung |
| Listet verfügbare Seitenverhältnisse auf |
| Listet verfügbare API-Aktionen auf |
Anwendungsbeispiele
Video aus Prompt generieren
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"]Ein Bild animieren
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]Ein Video erweitern
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]Verfügbare Seitenverhältnisse
Seitenverhältnis | Beschreibung | Anwendungsfall |
| Querformat (Standard) | YouTube, TV, Präsentationen |
| Hochformat | TikTok, Instagram Reels |
| Quadratisch | Instagram-Posts |
| Traditionell | Klassisches Videoformat |
| Traditionelles Hochformat | Hochformat-Inhalte |
| Ultrawide | Kinematografische Inhalte |
| Hohes Ultrawide | Spezielle vertikale Displays |
Konfiguration
Umgebungsvariablen
Variable | Beschreibung | Standard |
| API-Token von AceDataCloud | Erforderlich |
| API-Basis-URL |
|
| OAuth-Client-ID (gehosteter Modus) | — |
| Plattform-Basis-URL |
|
| Standard-Seitenverhältnis |
|
| Anfrage-Timeout in Sekunden |
|
| Logging-Level |
|
Befehlszeilenoptionen
mcp-luma --help
Options:
--version Show version
--transport Transport mode: stdio (default) or http
--port Port for HTTP transport (default: 8000)Entwicklung
Entwicklungsumgebung einrichten
# 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]"Tests ausführen
# Run unit tests
pytest
# Run with coverage
pytest --cov=core --cov=tools
# Run integration tests (requires API token)
pytest tests/test_integration.py -m integrationCode-Qualität
# Format code
ruff format .
# Lint code
ruff check .
# Type check
mypy core toolsBuild & Veröffentlichen
# Install build dependencies
pip install -e ".[release]"
# Build package
python -m build
# Upload to PyPI
twine upload dist/*Projektstruktur
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.mdAPI-Referenz
Dieser Server umschließt die AceDataCloud Luma API:
Luma Videos API - Videogenerierung
Luma Tasks API - Aufgabenabfragen
Mitwirken
Beiträge sind willkommen! Bitte:
Forken Sie das Repository
Erstellen Sie einen Feature-Branch (
git checkout -b feature/amazing)Committen Sie Ihre Änderungen (
git commit -m 'Add amazing feature')Pushen Sie auf den Branch (
git push origin feature/amazing)Öffnen Sie einen Pull Request
Lizenz
MIT-Lizenz - siehe LICENSE für Details.
Links
Mit Liebe gemacht von 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