Skip to main content
Glama
mcp-lumiclip

mcp-lumiclip

Official
by lumiclip

@lumiclip/mcp-server

Verwandeln Sie YouTube-Videos in kurze Clips – direkt aus Claude, Cursor oder jedem anderen KI-Assistenten, der MCP unterstützt.

Geben Sie einfach einen YouTube-Link ein. Das Tool findet die besten Momente, passt das Format für vertikale Videos (9:16) an, fügt Untertitel hinzu und liefert downloadbereite Clips.

Lumiclip MCP server

Schnellstart

  1. Holen Sie sich einen API-Schlüssel unter app.lumiclip.ai/developers

  2. Führen Sie aus:

LUMICLIP_API_KEY=sk_live_... npx @lumiclip/mcp-server

Related MCP server: Image Metadata AI MCP

Einrichtung

Claude Desktop / Cursor

Fügen Sie dies Ihrer Konfigurationsdatei hinzu – claude_desktop_config.json für Claude, .cursor/mcp.json für Cursor:

{
  "mcpServers": {
    "lumiclip": {
      "command": "npx",
      "args": ["@lumiclip/mcp-server"],
      "env": {
        "LUMICLIP_API_KEY": "sk_live_..."
      }
    }
  }
}

Cursor-Verzeichnis

In Cursor installieren

Smithery

npx @smithery/cli mcp add lumiclip/lumiclip-mcp-server

Remote (Streamable HTTP)

Für n8n, benutzerdefinierte Integrationen oder jeden Client, der Remote-MCP unterstützt:

  • Endpunkt: https://mcp.lumiclip.ai/mcp

  • Authentifizierung: Authorization: Bearer sk_live_...

  • Transport: Streamable HTTP (POST)

Tools

Tool

Funktion

generate_clips

Startet die Clip-Generierung von einer YouTube-URL. Gibt sofort eine project_id zurück.

get_project_status

Überprüft den Fortschritt und ruft Clips ab, sobald sie fertig sind. Clips sind nach Bewertung sortiert (die besten zuerst).

list_projects

Listet Ihre Projekte mit Status und Clip-Anzahl auf.

get_clip

Ruft alle Details für einen einzelnen Clip ab.

check_usage

Zeigt Ihren Plan, verbleibende Credits und die Nutzung an.

Funktionsweise

  1. Rufen Sie generate_clips mit einer YouTube-URL auf.

  2. Erhalten Sie sofort eine project_id zurück.

  3. Fragen Sie alle 10–15 Sekunden get_project_status ab (oder geben Sie eine callback_url für Webhooks an).

  4. Sobald der Vorgang abgeschlossen ist, sind die Clips nach Bewertung sortiert (die besten zuerst), jeder mit einer download_url.

Statusmeldungen

Projekt: pending → processing → completed (oder completed_no_clips / failed)

Verarbeitungsschritte: queued → DOWNLOADING_VIDEO → EXTRACTING_AUDIO → TRANSCRIBING → DETECTING_HIGHLIGHTS → CUTTING_CLIPS → EXPORTING_CLIPS → done

Clips: pending → exporting → completed (oder failed). Die download_url ist verfügbar, wenn der clip_status auf completed steht.

API-Referenz

generate_clips

Startet die Clip-Generierung von einem YouTube-Video.

Feld

Typ

Erforderlich

Beschreibung

url

string

Ja

Vollständige YouTube-Video-URL

start_time

number

Nein

Startzeit in Sekunden (um nur ein Segment zu verarbeiten)

end_time

number

Nein

Endzeit in Sekunden (um nur ein Segment zu verarbeiten)

callback_url

string

Nein

Webhook-URL, um Ergebnisse nach Abschluss zu erhalten

{
  "project_id": "43dbe622-8ac6-4579-9625-0ad7f0f9db0b",
  "status": "processing",
  "poll_url": "/api/v1/projects/43dbe622-8ac6-4579-9625-0ad7f0f9db0b",
  "estimated_minutes": 5,
  "message": "Processing started. Poll with get_project_status every 10-15 seconds until status is 'completed'."
}

get_project_status

Überprüft den Fortschritt und ruft Clips ab.

Feld

Typ

Erforderlich

Beschreibung

project_id

string

Ja

Die Projekt-ID von generate_clips

{
  "id": "43dbe622-...",
  "name": "Video Title",
  "status": "completed",
  "step": "done",
  "error": null,
  "expected_clips": 9,
  "duration": 639,
  "created_at": "2026-03-15T02:21:46.226Z",
  "clips": [
    {
      "id": "32538b9c-...",
      "title": "One Dating Theory Leads to Chaos",
      "duration": 41.83,
      "score": 90,
      "reason": "Sharp universal joke that hooks instantly with strong reactions.",
      "clip_status": "completed",
      "download_url": "https://cdn.lumiclip.ai/exports/premium/.../clip-32538b9c-....mp4",
      "quality": "1080p",
      "thumbnail_url": "https://cdn.lumiclip.ai/exports/premium/.../clip-32538b9c-...-thumb.jpg",
      "created_at": "2026-03-15T02:29:10.954Z",
      "updated_at": "2026-03-15T02:30:43.907Z"
    }
  ]
}

Clips sind nach score (höchste zuerst) sortiert.

list_projects

Feld

Typ

Erforderlich

Beschreibung

limit

number

Nein

Maximale Anzahl der zurückzugebenden Projekte. Standard 20, maximal 100.

status

string

Nein

Filter: pending, processing, completed, completed_no_clips, failed

{
  "projects": [
    {
      "id": "43dbe622-...",
      "name": "Video Title",
      "status": "completed",
      "step": "done",
      "expected_clips": 9,
      "clips_count": 8,
      "duration": 639,
      "created_at": "2026-03-15T02:21:46.226Z"
    }
  ],
  "total": 1,
  "limit": 20,
  "offset": 0
}

get_clip

Feld

Typ

Erforderlich

Beschreibung

clip_id

string

Ja

Die Clip-ID aus dem Clips-Array eines Projekts

{
  "id": "32538b9c-...",
  "project_id": "43dbe622-...",
  "title": "One Dating Theory Leads to Chaos",
  "duration": 41.83,
  "score": 90,
  "reason": "Sharp universal joke that hooks instantly.",
  "export_status": "completed",
  "export_quality": "1080p",
  "is_exported": true,
  "video_url": "https://cdn.lumiclip.ai/...",
  "video_url_720p": "https://cdn.lumiclip.ai/...",
  "video_url_1080p": "https://cdn.lumiclip.ai/...",
  "thumbnail_url": "https://cdn.lumiclip.ai/...",
  "created_at": "2026-03-15T02:29:10.954Z",
  "updated_at": "2026-03-15T02:30:43.907Z"
}

check_usage

Keine Eingabe erforderlich.

{
  "plan": "pro",
  "credits_remaining": 450,
  "credits_total": 500,
  "period_start": "2026-03-01T00:00:00.000Z",
  "period_end": "2026-04-01T00:00:00.000Z"
}

Fehler

HTTP-Status

Fehler

Was ist zu tun

400

Ungültige YouTube-URL

Überprüfen Sie das URL-Format

401

Nicht autorisiert

Überprüfen Sie Ihren API-Schlüssel

402

Unzureichende Credits

Kaufen Sie mehr Credits oder verwenden Sie ein kürzeres Video

429

Ratenlimit überschritten

Warten Sie und versuchen Sie es erneut

500

Interner Serverfehler

Versuchen Sie es später erneut

Webhooks

Geben Sie beim Aufruf von generate_clips eine callback_url an, um einen POST-Request zu erhalten, sobald alle Clips fertig sind.

Abgeschlossen:

{
  "event": "project.completed",
  "project_id": "43dbe622-...",
  "status": "completed",
  "source_url": "https://www.youtube.com/watch?v=H51iLa1leOU",
  "clips": [
    {
      "id": "32538b9c-...",
      "title": "One Dating Theory Leads to Chaos",
      "duration": 41.83,
      "score": 90,
      "download_url": "https://cdn.lumiclip.ai/exports/premium/.../clip-32538b9c-....mp4",
      "thumbnail_url": "https://cdn.lumiclip.ai/exports/premium/.../clip-32538b9c-...-thumb.jpg",
      "quality": "1080p"
    }
  ]
}

Fehlgeschlagen:

{
  "event": "project.failed",
  "project_id": "43dbe622-...",
  "status": "failed",
  "error": "YouTube video is unavailable",
  "clips": []
}

Clips sind nach Bewertung sortiert (die besten zuerst). Wir versuchen es bis zu 3 Mal erneut, falls Ihr Server nicht antwortet.

Signaturüberprüfung (optional): Jeder Callback enthält einen X-Lumiclip-Signature-Header. Berechnen Sie den HMAC-SHA256 des Request-Bodys unter Verwendung von SHA-256(your_api_key) als Signaturschlüssel. Vergleichen Sie diesen mit dem Header-Wert (sha256=<hex>).

Verwendung mit n8n

Option A – Webhook (empfohlen):

  1. Erstellen Sie einen Workflow mit einem Webhook-Trigger-Node. Kopieren Sie dessen URL.

  2. Fügen Sie einen HTTP Request-Node hinzu: POST https://api.lumiclip.ai/api/v1/clips/generate mit Header-Authentifizierung (Authorization: Bearer sk_live_...) und Body:

    {
      "url": "https://www.youtube.com/watch?v=...",
      "callback_url": "https://your-n8n.com/webhook/abc123"
    }
  3. Wenn die Clips fertig sind, empfängt der Webhook-Node das Payload.

  4. Bester Clip: {{ $json.clips[0].download_url }}

Option B – Polling-Schleife:

  1. POST zum Generieren der Clips (wie oben, ohne callback_url).

  2. Warten Sie 15 Sekunden → GET https://api.lumiclip.ai/api/v1/projects/{{ $json.project_id }} → WENN der Status nicht completed ist, kehren Sie zum Warten zurück.

REST-API

Für direkte HTTP-Aufrufe ohne MCP:

Methode

Endpunkt

Beschreibung

POST

/api/v1/clips/generate

Startet die Clip-Generierung

GET

/api/v1/projects/:id

Ruft Projektstatus und Clips ab

GET

/api/v1/projects

Listet Projekte auf

GET

/api/v1/clips/:id

Ruft Details eines einzelnen Clips ab

GET

/api/v1/account/usage

Überprüft Credits und Plan

Basis-URL: https://api.lumiclip.ai — Alle Endpunkte erfordern Authorization: Bearer sk_live_...

Umgebungsvariablen

Variable

Erforderlich

Standard

LUMICLIP_API_KEY

Ja

—

LUMICLIP_API_URL

Nein

https://api.lumiclip.ai

Lizenz

MIT

Available Tools

5 tools
check_usageA
Read-onlyIdempotent

Returns a JSON object with plan (string), credits_remaining (number), credits_total (number), period_start (ISO date), and period_end (ISO date). Call this before generate_clips to confirm the user has enough credits.

Inputs: no named parameters.

generate_clipsA

Start AI clip generation from a YouTube video. Returns a JSON object with project_id (string), status ('processing'), poll_url (string), and estimated_minutes (number). Processing is async -- use get_project_status to poll every 10-15 seconds, or provide a callback_url to receive a webhook POST when all clips are exported with download URLs.

Inputs: url (required), start_time, end_time, callback_url.

get_clipA
Read-onlyIdempotent

Returns a JSON object with full clip details: id, project_id, title, duration, score, reason, export_status, export_quality (720p/1080p), is_exported, video_url, video_url_720p, video_url_1080p, thumbnail_url, created_at, updated_at.

Inputs: clip_id (required).

get_project_statusA
Read-onlyIdempotent

Returns a JSON object with id, name, status (pending/processing/completed/completed_no_clips/failed), step, error, expected_clips, duration, created_at, and a clips array. Clips are sorted by score (highest first). Each clip has: id, title, duration, score, reason, clip_status (pending/exporting/completed/failed), download_url (string or null), quality, thumbnail_url, created_at, updated_at. The download_url is only available when clip_status is 'completed'. Poll every 10-15 seconds until project status is 'completed'.

Inputs: project_id (required).

list_projectsA
Read-onlyIdempotent

Returns a JSON object with projects (array), total, limit, and offset. Each project has: id, name, status, step, expected_clips, clips_count, duration, created_at. Use the status filter to find only completed or failed projects.

Inputs: limit, status.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a distinct purpose: check_usage for credits, generate_clips for initiating generation, get_clip for retrieving a specific clip, get_project_status for polling progress, and list_projects for enumerating projects. No functional overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (e.g., generate_clips, get_project_status), making them predictable and intuitive.

    Tool Count5/5

    Five tools is well-scoped for the server's purpose: credit checking, generation initiation, status polling, single clip retrieval, and project listing. Each tool serves a necessary function without excess.

    Completeness4/5

    Core workflow (check credits, generate, poll results, retrieve clips) is covered. Minor gaps like missing cancel operation or webhook management are present but not critical for basic usage.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers