
mrbuslov/capcut-ai-editor
API developmentこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
mrbuslov/capcut-ai-editorは、https://github.com/mrbuslov/capcut-ai-editor.からインポートされたMCPサーバー候補です。
概要
mrbuslov/capcut-ai-editorは、https://github.com/mrbuslov/capcut-ai-editor.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
自動「トーキングヘッド」動画編集のためのMCPサーバー。CapCutの自動生成字幕を読み取り、沈黙や重複テイクを見つけて削除します — CapCutプロジェクト内で直接行います。
仕組み
- 動画を録画し、CapCutにインポートします
- CapCutで字幕を生成する(テキスト→自動字幕)
- CapCutを閉じる
- クロードに聞く:「スマートに私の『ポッドキャストエピソード5』プロジェクトをカットした」
- CapCutで再開し、カットを確認します
SmartCutはCapCutの字幕を読み取り、音声の位置を把握します。字幕間の空白>1秒はカットされます。話者がフレーズを繰り返した場合(重複テイク)、以前の試みは削除され、最後のバージョンが残されます。
APIキー不要 — ヒューリスティック解析はローカルで動作します。GPTによる重複検出のためにオプションでOPENAI_API_KEYを設定してください。
要件
- Python 3.10+
- CapCut(編集および字幕生成用)
設置
オプションのOpenAI強化重複検出について:
Claude Code / Claude デスクトップセットアップ
MCP設定に追加:
GPT強化複製のためのオプション環境:
使用法
プロジェクトリスト:
プロジェクトを検査する:
スマートカット(メイン機能):
OpenAIの強化を含んで:
警告: スマートカットはプロジェクトをその場で修正します(バックアップなし)。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
SmartCut MCP Server
MCP server for automated “talking head” video editing. Reads CapCut’s auto-generated subtitles to find and remove silences and duplicate takes — directly in the CapCut project.
How it works
- Record your video, import into CapCut
- Generate subtitles in CapCut (Text → Auto Captions)
- Close CapCut
- Ask Claude: “Smart cut my ‘Podcast Episode 5’ project”
- Reopen in CapCut, review the cuts
SmartCut reads CapCut’s subtitles to understand where speech is. Gaps between subtitles > 1 second are cut. If the speaker repeats a phrase (duplicate take), earlier attempts are removed and the last version is kept.
No API keys required — heuristic analysis works locally. Optionally set OPENAI_API_KEY for GPT-enhanced duplicate detection.
Requirements
- Python 3.10+
- CapCut (for editing and subtitle generation)
Installation
cd capcut-ai-editor
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -e .
For optional OpenAI-enhanced duplicate detection:
pip install -e ".[openai]"
Claude Code / Claude Desktop Setup
Add to MCP config:
{
"mcpServers": {
"smartcut": {
"command": "/path/to/capcut-ai-editor/venv/bin/python",
"args": ["-m", "smartcut.server"]
}
}
}
Optional env for GPT-enhanced duplicates:
"env": {
"OPENAI_API_KEY": "sk-..."
}
Usage
List projects:
Show me my CapCut projects
Inspect a project:
Open CapCut project "My Vlog"
Smart cut (main function):
Smart cut my "Podcast Episode 5" project
With OpenAI enhancement:
Smart cut "My Video" with use_openai=true
Warning: Smart cut modifies the project in place (no backup). Make a copy in CapCut first if you want to keep the original.
Environment Variables
| Variable | Required | Description |
|---|---|---|
| OPENAI_API_KEY | No | OpenAI API key (for GPT-enhanced duplicate detection) |
| CAPCUT_DRAFTS_DIR | No | Path to CapCut drafts folder (auto-detected) |
Troubleshooting
“No auto-generated subtitles found” Open the project in CapCut, select the video track, use Text → Auto Captions, save, then try again.
CapCut doesn’t see changes Restart CapCut. It monitors the drafts folder but sometimes needs a restart.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"smartcut": {
"command": "/path/to/capcut-ai-editor/venv/bin/python",
"args": ["-m", "smartcut.server"]
}
}
}