AG

atx-guy/capcut-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

82 stars 20 forks 品質 62 トレンド 15

ビデオ編集のオートメーションのための専門のモデルコンテキスト プロトコル(MCP)サーバー。 このサーバーは、AIアシスタントとアプリケーションが、CapCutの...

概要

ビデオ編集のオートメーションのための専門のモデルコンテキスト プロトコル(MCP)サーバー。 このサーバーは、AI アシスタントとアプリケーションが CapCut の強力な編集機能を通じて、プログラム的にビデオを作成および編集できるようにします。 - : ドラフトを作成し、ビデオ、オーディオ、テキスト、画像、エフェクトなどを追加します。 : 11 ビデオ制作ワークフローの専門ツール - : 信頼性と優れたIDEサポートのためのTypeScriptで構築 - : stdio(ローカル)とHTTP(リモート)の両方の接続をサポート - : 包括的な 便利なエラーメッセージを持つゾドスキーマ - : マシンのJSON、人間のためのマークダウン この MCP サーバーを使用する前に、 (CapCut API サーバー) を実行する必要があります。 2. : サーバはデフォルトで[http://localhost:9001]から起動します。 : ~/Library/Application Support/Claude/claude desktop config.json : %APPDATA%\Claude\claude desktop config.json サーバは2つのトランスポートモードをサポートしています。 カスタム寸法とフレームレートで新しいビデオ編集プロジェクトを作成します.

概要(AI 翻訳)

CapCut Proビデオ編集自動化用のプロフェッショナルなモデルコンテキストプロトコル(MCP)サーバー。 このサーバーは、AI アシスタントとアプリケーションが CapCut の強力な編集機能を通じて、プログラム的にビデオを作成および編集できるようにします。

✔ 機能

-Complete Video Editing Suite: ドラフトの作成、ビデオの追加、オーディオ、テキスト、画像、エフェクト、その他 -プロフェッショナルツール:ビデオ制作ワークフローに特化した11ツール

  • タイプ安全: 信頼性と優れたIDEサポートのためのTypeScriptで構築 -フレキシブルトランスポート:stdio(ローカル)とHTTP(リモート)の両方の接続をサポート
  • 入力検証: ソリューション Zod スキーマと便利なエラーメッセージ
  • デュアル出力フォーマット:機械、人間のためのMarkdownのためのJSON

受託者

このMCPサーバーを使用する前に、VectCutAPI(CapCut APIサーバー)を実行する必要があります。

  1. ** VectCutAPI をインストールします。**:

2.** API Server の起動**:

サーバはデフォルトで[http://localhost:9001]を開始します。

OST インストール

Option 1: npm からインストール (once が公開)

##Option 2: ソースからビルドする

##**** 設定

##Claudeデスクトップ用

Claudeデスクトップ設定ファイルに追加します

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

CapCut MCP Server

A professional Model Context Protocol (MCP) server for CapCut Pro video editing automation. This server enables AI assistants and applications to create and edit videos programmatically through CapCut’s powerful editing capabilities.

🎬 Features

  • Complete Video Editing Suite: Create drafts, add videos, audio, text, images, effects, and more
  • Professional Tools: 11 specialized tools for video production workflows
  • Type-Safe: Built with TypeScript for reliability and excellent IDE support
  • Flexible Transport: Supports both stdio (local) and HTTP (remote) connections
  • Input Validation: Comprehensive Zod schemas with helpful error messages
  • Dual Output Formats: JSON for machines, Markdown for humans

📋 Prerequisites

Before using this MCP server, you need to have the VectCutAPI (CapCut API server) running:

  1. Install VectCutAPI:

    git clone https://github.com/sun-guannan/VectCutAPI.git
    cd VectCutAPI
    pip install -r requirements.txt
    
  2. Start the API Server:

    python capcut_server.py
    

    The server will start on http://localhost:9001 by default.

🚀 Installation

Option 1: Install from npm (once published)

npm install -g capcut-mcp-server

Option 2: Build from Source

# Clone this repository
git clone 
cd capcut-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

# Test the server
npm start

🔧 Configuration

For Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "capcut": {
      "command": "node",
      "args": ["/absolute/path/to/capcut-mcp-server/dist/index.js"],
      "env": {
        "CAPCUT_API_URL": "http://localhost:9001"
      }
    }
  }
}

For Other MCP Clients

The server supports two transport modes:

Stdio Mode (Default - Local Integration)

node dist/index.js

HTTP Mode (Remote Access)

TRANSPORT=http PORT=3000 node dist/index.js

🛠️ Available Tools

1. capcut_create_draft

Create a new video editing project with custom dimensions and frame rate.

Example:

{
  "width": 1920,
  "height": 1080,
  "fps": 30
}

2. capcut_add_video

Add video clips with transitions, speed control, and volume adjustments.

Example:

{
  "draft_id": "abc123",
  "video_url": "https://example.com/video.mp4",
  "start": 0,
  "end": 10,
  "volume": 0.8,
  "transition": "fade_in",
  "speed": 1.0
}

3. capcut_add_audio

Add background music or sound effects with fade in/out.

Example:

{
  "draft_id": "abc123",
  "audio_url": "https://example.com/music.mp3",
  "start": 0,
  "end": 30,
  "volume": 0.5,
  "fade_in": 2,
  "fade_out": 2
}

4. capcut_add_text

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "capcut": { "command": "node", "args": ["/absolute/path/to/capcut-mcp-server/dist/index.js"], "env": { "CAPCUT_API_URL": "http://localhost:9001" } } } }