Skip to main content
Glama
lumiclip

mcp-lumiclip

Official
by lumiclip

@lumiclip/mcp-server

YouTube動画をショートクリップに変換します。Claude、Cursor、またはMCPをサポートするあらゆるAIアシスタントから利用可能です。

YouTubeリンクを渡すだけで、最適な瞬間を見つけ出し、縦型動画(9:16)にリフレームし、字幕を追加して、ダウンロード可能なクリップを返します。

Lumiclip MCP server

クイックスタート

  1. app.lumiclip.ai/developers でAPIキーを取得します。

  2. 以下を実行します:

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

Related MCP server: Image Metadata AI MCP

セットアップ

Claude Desktop / Cursor

設定ファイルに追加します。Claudeの場合は claude_desktop_config.json、Cursorの場合は .cursor/mcp.json です:

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

Cursor Directory

Cursorにインストール

Smithery

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

リモート (Streamable HTTP)

n8n、カスタム統合、またはリモートMCPをサポートするクライアント向け:

  • エンドポイント: https://mcp.lumiclip.ai/mcp

  • 認証: Authorization: Bearer sk_live_...

  • トランスポート: Streamable HTTP (POST)

ツール

ツール

説明

generate_clips

YouTube URLからクリップ生成を開始します。すぐに project_id を返します。

get_project_status

進捗状況を確認し、準備ができたらクリップを取得します。クリップはスコア順(ベスト順)に並べ替えられます。

list_projects

プロジェクトのステータスとクリップ数を一覧表示します。

get_clip

単一クリップの詳細を取得します。

check_usage

プラン、残りのクレジット、使用状況を確認します。

仕組み

  1. YouTube URLを指定して generate_clips を呼び出します。

  2. すぐに project_id が返されます。

  3. 10〜15秒ごとに get_project_status をポーリングします(またはWebhook用に callback_url を渡します)。

  4. 完了すると、クリップがスコア順(ベスト順)に並べ替えられ、それぞれに download_url が付与されます。

ステータス

プロジェクト: pending → processing → completed (または completed_no_clips / failed)

処理ステップ: queued → DOWNLOADING_VIDEO → EXTRACTING_AUDIO → TRANSCRIBING → DETECTING_HIGHLIGHTS → CUTTING_CLIPS → EXPORTING_CLIPS → done

クリップ: pending → exporting → completed (または failed)。clip_status が completed のときに download_url が利用可能になります。

APIリファレンス

generate_clips

YouTube動画からクリップ生成を開始します。

フィールド

型

必須

説明

url

string

はい

YouTube動画のフルURL

start_time

number

いいえ

開始時間(秒単位、セグメントのみ処理する場合)

end_time

number

いいえ

終了時間(秒単位、セグメントのみ処理する場合)

callback_url

string

いいえ

完了時に結果を受け取るWebhook URL

{
  "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

進捗状況を確認し、クリップを取得します。

フィールド

型

必須

説明

project_id

string

はい

generate_clips からのプロジェクトID

{
  "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"
    }
  ]
}

クリップは score 順(高い順)に並べ替えられます。

list_projects

フィールド

型

必須

説明

limit

number

いいえ

返すプロジェクトの最大数。デフォルト20、最大100。

status

string

いいえ

フィルター: 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

フィールド

型

必須

説明

clip_id

string

はい

プロジェクトのクリップ配列内のクリップID

{
  "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

入力は不要です。

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

エラー

HTTPステータス

エラー

対処法

400

無効なYouTube URL

URLの形式を確認してください

401

認証失敗

APIキーを確認してください

402

クレジット不足

クレジットを追加購入するか、短い動画を使用してください

429

レート制限超過

時間を置いて再試行してください

500

サーバー内部エラー

後で再試行してください

Webhook

generate_clips を呼び出す際に callback_url を渡すと、すべてのクリップの準備ができたときにPOSTを受け取ることができます。

完了時:

{
  "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"
    }
  ]
}

失敗時:

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

クリップはスコア順(高い順)に並べ替えられます。サーバーが応答しない場合、最大3回まで再試行します。

署名検証(オプション): 各コールバックには X-Lumiclip-Signature ヘッダーが含まれます。署名キーとして SHA-256(your_api_key) を使用し、リクエストボディの HMAC-SHA256 を計算して、ヘッダー値 (sha256=<hex>) と比較してください。

n8nでの使用

オプションA — Webhook(推奨):

  1. Webhook トリガーノードを使用してワークフローを作成し、そのURLをコピーします。

  2. HTTP Request ノードを追加します: POST https://api.lumiclip.ai/api/v1/clips/generate。ヘッダー認証 (Authorization: Bearer sk_live_...) とボディを設定します:

    {
      "url": "https://www.youtube.com/watch?v=...",
      "callback_url": "https://your-n8n.com/webhook/abc123"
    }
  3. クリップの準備ができると、Webhookノードがペイロードを受け取ります。

  4. ベストクリップ: {{ $json.clips[0].download_url }}

オプションB — ポーリングループ:

  1. クリップ生成のために POST を実行します(上記と同じ、callback_url なし)。

  2. 15秒 待機 → https://api.lumiclip.ai/api/v1/projects/{{ $json.project_id }} を GET → ステータスが completed でなければ、待機に戻るループを実行します。

REST API

MCPを使用しない直接的なHTTP呼び出し用:

メソッド

エンドポイント

説明

POST

/api/v1/clips/generate

クリップ生成を開始

GET

/api/v1/projects/:id

プロジェクトのステータスとクリップを取得

GET

/api/v1/projects

プロジェクトを一覧表示

GET

/api/v1/clips/:id

単一クリップの詳細を取得

GET

/api/v1/account/usage

クレジットとプランを確認

ベースURL: https://api.lumiclip.ai — すべてのエンドポイントで Authorization: Bearer sk_live_... が必要です。

環境変数

変数

必須

デフォルト

LUMICLIP_API_KEY

はい

—

LUMICLIP_API_URL

いいえ

https://api.lumiclip.ai

リンク

ライセンス

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the description's addition of return format and usage context adds moderate value beyond structured data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the return format and followed by usage advice, with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool, the description fully covers what the agent needs: return fields and when to call it. Output schema absence is compensated by explicit field listing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With no input parameters and 100% schema coverage, the description adds no parameter info but correctly lists the return structure, fulfilling the need for parameter semantic clarity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states the tool returns a JSON object with specific fields (plan, credits_remaining, etc.), clearly distinguishing it from sibling tools like generate_clips.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description advises calling this tool before generate_clips to confirm sufficient credits, providing explicit guidance on when to use it and its relationship to a sibling tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesFull YouTube video URL (e.g. https://www.youtube.com/watch?v=...)
start_timeNoStart time in seconds to clip only a segment of the video. Omit to process the full video.
end_timeNoEnd time in seconds to clip only a segment of the video. Omit to process the full video.
callback_urlNoWebhook URL to receive a POST when processing finishes. The payload includes an array of clips sorted by score, each with a download_url.

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds context beyond annotations by detailing the return JSON structure (project_id, status, poll_url, estimated_minutes) and the async behavior with optional callback. There is no contradiction with annotations. Minor missing details like error handling or rate limits prevent a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences: first states purpose, second describes return, third explains async usage. Front-loaded with key information, no redundant phrases.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description adequately covers the return structure, async nature, and polling/callback options. Without an output schema, it provides sufficient context for an async job initiation tool. Could mention error responses or limits, but not essential.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and parameters are well-described in the schema. The description does not add significant new meaning beyond what the schema provides, so score remains at baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Start' and the resource 'AI clip generation from a YouTube video', which precisely defines the tool's action. It is easily distinguished from sibling tools like get_clip and get_project_status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly explains that processing is asynchronous and provides two methods for obtaining results: polling via get_project_status every 10-15 seconds or providing a callback_url for a webhook. This gives clear when-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
clip_idYesThe unique clip ID from a project's clips array.

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint true and destructiveHint false, making the read-only nature clear. The description adds detail about return field names and format (e.g., export_quality values 720p/1080p), but does not disclose other behavioral traits such as rate limits, authorization requirements, or error handling. Extra context is minor.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that lists all return fields efficiently, with the purpose right at the start. No repetitive or extraneous content. Slightly dense due to the long list, but still well-structured for quick scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (one required parameter, no output schema, no nested objects), the description covers the purpose and return fields adequately. It specifies certain field formats (export_quality values) which adds value. Some missing context about potential errors or the requirement that the clip exist, but overall sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description for clip_id is complete ('The unique clip ID from a project's clips array') and coverage is 100%. The description adds no further parameter semantics because the schema already provides sufficient meaning. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns a JSON object with full clip details, listing specific fields. The verb 'Returns' and resource 'clip details' indicate a retrieval operation. Sibling tools like 'generate_clips' (creation) and 'list_projects' (listing) are distinct, so this tool is unambiguously for fetching a single clip's details.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when needing full details of a specific clip, but it does not explicitly state when not to use it (e.g., for listing clips) or suggest alternatives. No guidance on prerequisites (e.g., clip must exist) or context for selection among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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'.

ParametersJSON Schema
NameRequiredDescriptionDefault
project_idYesThe project ID returned by generate_clips

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. Description adds that download_url is only available when clip_status is 'completed' and clips sorted by score, which provides useful behavioral context beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is detailed but each sentence contributes value: return structure, sorting, clip fields, download_url condition, polling advice. Could be slightly condensed but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, the description provides a comprehensive breakdown of the return object, including nested clip fields and conditional availability. Polling guidance further completes the usage context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with project_id description. Description does not add additional parameter-level meaning beyond what schema provides, but it details the return structure. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns a JSON object with project status and clips, distinguishing it from siblings like get_clip (single clip) and generate_clips (creation). Specific verb 'Returns' and resource 'project status'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance: 'Poll every 10-15 seconds until project status is completed'. This is clear context for when to call repeatedly. No explicit when-not-to-use or alternatives, but the polling advice is very helpful.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of projects to return. Defaults to 20, maximum 100.
statusNoFilter results to only projects with this status.

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, non-destructive, openWorldHint. The description adds the response structure (fields like total, offset) but does not disclose behavioral traits beyond annotations, such as pagination defaults or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: first states the return structure, second gives a usage tip. No wasted words, front-loaded with the most important information, earning its space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given two parameters, full schema coverage, and no output schema, the description adequately outlines the response shape (projects array, pagination fields, project attributes). Could mention default limit (20) and max (100) from schema, but overall complete for a list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with clear descriptions for 'limit' and 'status'. The description adds marginal value by suggesting use of status filter for completed/failed projects, but does not provide new meaning beyond the schema's enum values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly specifies it returns a JSON object with paginated list of projects and their fields (id, name, status, etc.). This distinguishes it from siblings like get_project_status (single project) or generate_clips (generation), providing a clear verb+resource scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for listing projects with optional status filtering ('Use the status filter to find only completed or failed projects') but does not explicitly state when to prefer this tool over siblings like get_project_status or check_usage, nor are there when-not-to-use guidelines.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 5 tool updatesv3.0.0
    • First observedcheck_usage
    • First observedgenerate_clips
    • First observedget_clip
    • First observedget_project_status
    • First observedlist_projects

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 issues

Related MCP Connectors

Related MCP Servers