retention
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
š„ Video Editing for the Agent Era
Inspired by the programmatic, code-first vision of Remotion, Retention brings video creation and retention engineering directly into the AI agent age.
Turn raw, unedited creator recordings into a publish-ready video with millisecond-accurate cuts, 2.5D Ken Burns B-roll cutaways, dynamic zoom animations, PiP demonstrative workspaces, content-aware motion graphics, karaoke captions, and high-CTR thumbnail covers ā completely agentically and 100% locally:
Edit agentically: Hand your RAW footage over to your AI coding agent (Claude Code, Antigravity, Codex, Cursor) and let it cut, animate, add B-roll, caption, and render automatically.
100% Native RetentionVolt Intelligence: Includes the entire RetentionVolt database embedded natively in
data/ā 85 viral reference videos (13,487 shot/cut events), 49 analyzed high-CTR thumbnails, 15 motion graphics patterns (MG-001..MG-015), and 5 multi-shot retention flows. Zero external cloud dependencies, zero API keys, zero login prompts.Edit deterministically: Whisper speech analysis and HyperFrames headless browser composition guarantee millisecond-accurate sync. No timeline dragging, no Premiere, no DaVinci.
Related MCP server: ViralSpin MCP
ā” 100% Native RetentionVolt Intelligence
Retention embeds the complete RetentionVolt dataset directly inside the repository (data/):
data/retentionvolt_videos.json(85 Viral Videos ⢠13,487 Cut/Shot Events): Frame-accurate breakdowns of top creators (MrBeast, Marques Brownlee, Ali Abdaal, Fireship, Alex Hormozi, Cleo Abram, Veritasium, Johnny Harris, etc.) acrossb_roll(4,789 events),camera_angle_switch(4,081),motion_graphic(1,733),punch_zoom(1,689),slow_push_in(1,110), andtalking_headhooks.data/retentionvolt_thumbnails.json(49 High-CTR Thumbnails): Complete CTR estimates, facial emotion analysis, color palettes, composition types, and Midjourney/Flux prompt recipes.data/retentionvolt_motion_graphics.json(15 Motion Graphics Specs):MG-001throughMG-015with trigger rules, durations, GSAP easing curves, and glassmorphic CSS specs.data/retentionvolt_flows.json(5 Multi-Shot Retention Flows): Proven sequence templates (hook_0_15s,problem_setup,interactive_demo,sponsor_segue,outro_loop).
Every video edited with Retention automatically runs native similarity matching and applies B-roll cutaways, zoom animations, PiP demonstrations, and motion graphics.
š§ Architecture & Pipeline
flowchart TD
Raw["1. RAW Footage"] --> Ingest["Import & Metadata Ingest"]
Ingest --> Transcribe["2. Local Whisper Transcription"]
Transcribe --> Analyze["3. Narrative Analysis: Hook, Fillers, Cutaway Proposals"]
Analyze --> RV["3b. Native RetentionVolt DB Match (85 Videos, 13,487 Cuts)"]
RV --> Broll["3c. 2.5D Ken Burns B-Roll Cutaway Generation"]
Broll --> Plan["4. Action Plan v1.3 (Cuts + B-Roll + Zooms + PiP Shots + Motion Graphics + Karaoke)"]
Plan --> Render["5. HyperFrames MP4 Render"]
Plan --> Thumb["5b. High-CTR Thumbnail Generation"]
Render --> Review["6. Frame-by-Frame Verification Gate"]
Thumb --> Review
Review --> Delivery["7. Publish-Ready Delivery"]š Quickstart
Prerequisites
Node.js: ā„ 20 (Node 22 recommended)
FFmpeg: Available in system
PATHPython: 3.9+ (for
faster-whisper)
Installation
# Clone the repository
git clone https://github.com/Andrea13235/Retention.git
cd Retention
# Install dependencies
npm install
# Run one-time Whisper automated setup
node scripts/setup-whisper.js
# Verify environment readiness
npm run setup-check
# Compile TypeScript
npm run build
# Run comprehensive test suite (50/50 tests passing)
npm testConfigure with your AI Agent (MCP Configuration)
Add to your client configuration (claude_desktop_config.json, Cursor MCP, Codex, or Antigravity):
{
"mcpServers": {
"retention": {
"command": "node",
"args": ["/absolute/path/to/retention/dist/server.js"]
}
}
}Install as an AI Skill (/Retention.editing & /Retention)
From inside your cloned Retention directory, run:
npm run install-skillš ļø MCP Tools
Tool | Phase | Purpose |
| Step 1 | Register RAW footage and extract resolution, duration, fps, and audio streams |
| Step 2 | Local Whisper transcription with millisecond word timecodes (~100 languages) |
| Step 3 | Narrative analysis: hook, sections, filler words, cut candidates, and cut-safe B-roll cutaway proposals |
| Step 3b | Query the 100% native RetentionVolt database (85 viral videos, 13,487 cuts) for the closest reference blueprint |
| Step 3b | Direct query into the native RetentionVolt database by topic, niche, and format |
| Step 3c | Generate 2.5D Ken Burns B-roll cutaway visuals with camera drift vectors |
| Step 4 | Generate Action Plan v1.3 with cuts, B-roll cutaways, zoom animations, PiP shots, motion graphics, and karaoke captions |
| Step 4b | Extract hook base frame and export high-CTR companion metadata (title, badge, style) |
| Step 5 | Build HyperFrames composition and render final MP4 ( |
| Step 6 | Mandatory Frame-by-Frame Quality Gate: extract screenshots across key beats & audit sync/safety |
š¦ Repository Layout
Retention/
āāā SKILL.md # Agent workflow: native RetentionVolt pipeline
āāā data/
ā āāā retentionvolt_videos.json # 85 analyzed viral videos (13,487 shot/cut events)
ā āāā retentionvolt_thumbnails.json # 49 analyzed high-CTR thumbnails
ā āāā retentionvolt_motion_graphics.json# 15 motion graphics patterns (MG-001..MG-015)
ā āāā retentionvolt_flows.json # 5 multi-shot retention flows
āāā docs/
ā āāā analysis-guide.md # Editor craft: cut rules, attention curve, EditPlan reference
āāā src/
ā āāā server.ts # MCP server (stdio transport)
ā āāā retentionvolt_client.ts # 100% Native RetentionVolt database engine
ā āāā tools_ingest.ts # Step 1: RAW import + ffprobe metadata
ā āāā tools_transcribe.ts # Step 2: local Whisper, word timecodes, language detect
ā āāā tools_analyze.ts # Step 3: hook, sections, fillers, cut-safe cutaway proposals
ā āāā tools_image.ts # Step 3c: 2.5D Ken Burns B-roll image & SVG visual synthesis
ā āāā tools_plan.ts # Step 4: Action Plan v1.3 (always-on RetentionVolt, B-roll, animations, graphics)
ā āāā tools_render.ts # Step 5+6: HyperFrames render, thumbnail generator & frame verifier
ā āāā types.ts # TypeScript contracts & schemas
āāā tests/ # 50/50 passing tests (unit, pipeline, native DB, e2e)This server cannot be deployed
Maintenance
Related MCP Connectors
The agentic video editor for ChatGPT and Claude. Ask in your chat and it cuts, captions, adds music, titles and motion graphics on a real timeline you can open and adjust.
AI video editor for agents: cut footage, add captions and motion graphics, export editable edits.
Edit video by talking to your AI ā search footage, cut timelines, apply effects, add captions.
AI video editor for agents and humans: timeline, captions, color, audio and generation as MCP tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to edit videos through natural language, providing tools for timeline editing, audio management, rendering, and more.2MIT
- AlicenseAqualityDmaintenanceEnables AI agents to edit video assemblies from A-roll and B-roll, add captions, and publish to social media platforms.2768 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to autonomously edit videos into publish-ready vertical short-form content, including silence removal, subtitle generation, voiceover synthesis, color grading, and composite pipeline creation.MIT
- FlicenseNot gradedqualityAmaintenanceEnables users to turn raw clips into finished, beat-synced montage videos through natural-language chat, including shot selection, music matching, subtitles, transitions, and picture-in-picture. It lets agents analyze footage, plan and review cuts before rendering, and export final edits without a GPU or timeline editor.-