MC

mrbuslov/capcut-ai-editor

API development

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

129 stars 27 forks 품질 80 트렌드 8MIT

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 프로젝트에서 자동 생성된 자막을 읽어 침묵과 중복 테이크를 찾아내고 삭제합니다.

작동 방식

  1. 영상을 녹화하고 CapCut로 가져오기
  2. CapCut에서 자막 생성 (텍스트 → 자동 자막)
  3. CapCut 닫기
  4. 클로드에게 묻기: “스마트 컷, 내 ‘팟캐스트 에피소드 5’ 프로젝트를 잘라냈다”
  5. CapCut에서 다시 열고, 컷을 검토합니다

SmartCut은 CapCut의 자막을 읽어 대사가 어디에 있는지 파악합니다. 자막 사이의 공백> 1초를 잘라냅니다. 화자가 문구를 반복하면(중복 테이크), 이전 시도는 삭제되고 마지막 버전은 유지됩니다.

API 키가 필요 없어요 — 휴리스틱 분석은 로컬에서 작동합니다. 선택적으로 GPT 강화 중복 탐지를 위해 OPENAI_API_KEY로 설정하세요.

요구 사항

  • 파이썬 3.10+
  • CapCut (편집 및 자막 생성용)

설치

선택적으로 OpenAI 강화된 중복 감지 기능:

클로드 코드 / 클로드 데스크탑 설정

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

  1. Record your video, import into CapCut
  2. Generate subtitles in CapCut (Text → Auto Captions)
  3. Close CapCut
  4. Ask Claude: “Smart cut my ‘Podcast Episode 5’ project”
  5. 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.

GitHub에서 전체 README 보기

설치

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