Smart Clip MCP
An AI-powered video editing server that transforms long videos into highlight clips with intelligent editing and platform adaptation. It provides 5 tools:
smart_clip: Automatically detect and extract the most engaging moments from a long video, with controls for clip count, duration range, platform target, subtitle burn-in, and background music.repurpose: Convert long-form video into platform-optimized short clips for TikTok, YouTube Shorts, or Instagram Reels, with style preferences (informative, entertaining, emotional) and automatic aspect ratio adjustment.highlight_reel: Aggregate highlight clips from multiple videos into a single themed compilation reel with a configurable target duration.analyze_content: Get a structured analysis report (highlights, structure, sentiment) without performing any actual clipping โ useful for previewing content before editing.get_edit_plan: Generate a detailed clipping plan for human review and approval before any actual edits are executed; the approved plan can then be passed tosmart_clip.
Underneath, the server uses LLM-driven semantic analysis, Whisper-based subtitle transcription, and audio energy/silence detection to identify precise cut points.
Repurpose long videos into platform-optimized short clips for Instagram Reels, with auto-resize and formatting.
Uses OpenAI language models (e.g., GPT-4o-mini) for LLM-driven highlight detection, semantic analysis, and editing decisions.
Repurpose long videos into platform-optimized short clips for TikTok, with auto-resize and formatting.
Repurpose long videos into platform-optimized short clips for YouTube Shorts, with auto-resize and formatting.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Smart Clip MCP Extract 5 highlight clips from this 1-hour podcast video"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Smart Clip MCP
AI-powered smart video clipping MCP server. Input a long video + editing intent, output highlight short clips.
Not another FFmpeg wrapper โ it's the "editing brain". Uses subtitle semantic analysis + LLM-driven decision making to identify highlight moments, with mcp-video as the execution layer (FFmpeg fallback built-in).
Features
๐ง LLM-driven highlight detection โ analyzes subtitles to identify the most engaging moments
๐ฌ 5 MCP tools โ smart_clip, repurpose, highlight_reel, analyze_content, get_edit_plan
๐ฏ Platform-adaptive โ auto-resize and format for TikTok, YouTube Shorts, Instagram Reels
๐ Auto subtitles โ Whisper transcription + burn-in with platform-specific styling
๐ Audio analysis โ energy peaks and silence detection for precise cut points
๐ Human-in-the-loop โ preview edit plans before execution
๐ฐ Low cost โ ยฅ0.8-1.16 per hour of video (50x cheaper than cloud alternatives)
Related MCP server: short-form-video-editor-mcp
Quick Start
Prerequisites
Python 3.11+
FFmpeg installed and on PATH
mcp-video (auto-installed as dependency)
Whisper model (auto-downloaded on first use)
Install
pip install smart-clip-mcpConfigure MCP Client
Claude Code:
claude mcp add smart-clip -- uvx --from smart-clip-mcp smart-clip-mcpClaude Desktop / Cursor:
{
"mcpServers": {
"smart-clip": {
"command": "uvx",
"args": ["--from", "smart-clip-mcp", "smart-clip-mcp"],
"env": {
"OPENAI_API_KEY": "sk-..."
}
}
}
}Usage
Ask your AI agent:
"Extract 5 highlight clips from this 1-hour podcast video"
"Turn this interview into 3 TikTok-ready shorts"
"Analyze this video and tell me the most engaging moments"
MCP Tools
Tool | Description |
| Auto-detect highlights and clip them from a long video |
| Convert long video to platform-specific short clips |
| Compile highlights from multiple videos into a reel |
| Analyze video content without clipping (preview mode) |
| Generate an edit plan for human review before execution |
Architecture
Video โ [Analyzer] โ [Planner] โ [Executor] โ Clips
โ โ โ
โ Whisper โ LLM โ mcp-video
โ librosa โ Prompts โ FFmpeg
โ PySceneDetect โ Strategy โAnalyzer โ Content understanding: Whisper transcription, audio energy analysis, scene detection
Planner โ Decision making: LLM highlight detection, template matching, strategy engine
Executor โ Clip generation: trim, merge, subtitles, platform adaptation via mcp-video
Configuration
Create ~/.smart-clip/config.yaml:
analyzer:
whisper:
mode: local # local | api
model: large-v3
language: zh
audio:
energy_percentile: 90
silence_threshold: 0.3
planner:
llm:
model: gpt-4o-mini
temperature: 0
strategy:
min_score: 6.0
min_gap: 10
executor:
output:
format: mp4
quality: highDevelopment
# Clone
git clone git@github.com:Ambrose1/Smart-Clip-MCP.git
cd Smart-Clip-MCP
# Create venv
python -m venv .venv
source .venv/bin/activate
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run MCP server locally (stdio mode)
smart-clip-mcp
# Run MCP server with SSE transport (HTTP)
smart-clip-mcp --transport sse --port 8000Docker
Build & Run
# Build image
docker build -t smart-clip-mcp .
# Run with SSE transport (accessible via HTTP)
docker run -d \
-p 8000:8000 \
-e OPENAI_API_KEY=sk-... \
-v $(pwd)/videos:/workspace/videos \
-v $(pwd)/output:/workspace/output \
smart-clip-mcpDocker Compose (recommended)
# Set your API key
export OPENAI_API_KEY=sk-...
# Start
docker compose up -d
# View logs
docker compose logs -f
# Stop
docker compose downTest with MCP Inspector
Once the server is running in SSE mode:
# Install MCP Inspector
npx @modelcontextprotocol/inspector
# Connect to http://localhost:8000/sseOr test with curl:
# List available tools
curl -X POST http://localhost:8000/messages \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"0.1.0"}}}'License
Apache 2.0 โ see LICENSE.
Available Tools
5 toolsanalyze_content_toolA
ๅๆ่ง้ขๅ ๅฎน๏ผ่พๅบ็ปๆๅๆฅๅ๏ผไธๆง่กๅช่พใ็จไบ้ข่งๅๅณ็ญใ
Inputs: video_path (required), focus. Returns: object
get_edit_plan_toolA
็ๆๅช่พๆนๆกไฝไธๆง่ก๏ผ่ฟๅๆนๆกไพไบบๅทฅๅฎกๆ ธใๅฎกๆ ธ้่ฟๅ่ฐ็จ smart_clip ๆง่กใ
Inputs: video_path (required), intent, clip_count, clip_duration_min, +1 more. Returns: object
highlight_reel_toolB
ไปๅคไธช่ง้ขไธญๆๅ็ฒพๅฝฉ็ๆฎตๅๆ้้ฆ่ง้ขใๆฏๆ่ทจ่ง้ขไธป้ข่ๅใ
Inputs: video_paths (required), theme (required), target_duration. Returns: object
repurpose_toolA
ๅฐ้ฟ่ง้ข่ชๅจ้ๅถไธบ้้ ็ฎๆ ๅนณๅฐ็็ญ่ง้ขใ่ชๅจ่ฏๅซ็ฒพๅฝฉๅ ๅฎนใ่ฃๅใๅ ๅญๅนใ่ฐๆฏไพใ
Inputs: video_path (required), platform, clip_count, style. Returns: object
smart_clip_toolA
ไป้ฟ่ง้ขไธญ่ชๅจ่ฏๅซ็ฒพๅฝฉ็ๆฎตๅนถ่ฃๅ่พๅบใ้็จไบๅฃๆญใๆญๅฎขใ็ดๆญๅๆพ็ญ่ฏญ้ณ้ฉฑๅจๅ ๅฎนใ
Inputs: video_path (required), intent, clip_count, clip_duration_min, +5 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 5 tools
Each tool has a distinct role: analysis, planning, single-video clipping, multi-video compilation, and platform-specific repurposing. There is slight overlap between smart_clip_tool and repurpose_tool in basic clipping, but their descriptions clarify different use cases.
Tool names follow a consistent snake_case pattern with the _tool suffix. Most use a verb_noun structure (analyze_content, get_edit_plan, highlight_reel, repurpose), but 'smart_clip_tool' uses an adjective-noun combination, breaking the verb pattern.
With 5 tools, the server covers the essential functions of a video clipping assistant without being overwhelming. The count is well-scoped for the intended domain of automated editing and repurposing.
The tool set provides a complete workflow from analysis to planning to execution, plus specialized features like highlight reels and repurposing. Missing direct manual editing or plan modification, but these are not core to the automated focus.
Related MCP Connectors
Turns long videos into captioned vertical clips, cut at the moments that stand on their own.
Turn long videos into AI-curated short clips: caption, reframe, thumbnail, schedule, and publish.
Turn long videos into captioned, reframed short clips, thumbnails, and social posts.
Long video in, captioned vertical clips out: clip, dub, transcribe and auto edit videos
Related MCP Servers
- MIT
- FlicenseNot gradedqualityDmaintenanceTurns long-form videos into short-form clips (TikTok/Reels) by reasoning over word-timestamped transcripts, with silence-aware rendering, STT-based validation, and optional reframing/captions.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server for comprehensive video analysis โ AI-powered transcription, visual frame analysis, and metadata extraction from 1000+ platforms.1MIT
- FlicenseNot gradedqualityAmaintenanceThis MCP server enables users to turn folders of raw video clips into finished, beat-synced montage cuts through natural-language chat, automating shot selection, music matching, subtitles, transitions, picture-in-picture, and rendering.-