media-studio-toolkit
v1.0.0
Published
Zero-dependency media toolkit for AI agents: WebM/MP4 duration header patching, lossless stream-copy trimming, audio RMS silence removal, and text-driven video editing.
Maintainers
Readme
Media Studio Toolkit — AI Agent Plugin & MCP Server
Zero-dependency media toolkit for AI agents and LLMs:
- Instant WebM & MP4 duration repair (<5ms binary patching, zero re-encoding)
- Zero-FFmpeg lossless keyframe trimming
- Smart RMS energy audio silence removal (with 0.20s voice cadence safety padding)
- Text-driven video editing & meeting notes generation (.vtt / .srt parsing)
Works across Antigravity, Claude Desktop / Claude Code, Cursor, Windsurf, and any Model Context Protocol (MCP) compatible agent.
Quickstart via npx (Claude Desktop / Cursor / Antigravity)
Add to your mcp_config.json or claude_desktop_config.json:
{
"mcpServers": {
"media-studio-toolkit": {
"command": "npx",
"args": ["-y", "media-studio-toolkit"]
}
}
}Installation in Antigravity
Install directly from GitHub into your global or project agent environment:
agy plugin install https://github.com/<your-username>/media-studio-toolkitOr copy the folder into .agents/plugins/media-studio-toolkit in your workspace.
Available MCP Tools
| Tool | Parameters | Description |
| :--- | :--- | :--- |
| patch_media_duration | { filePath, durationMs?, outputPath? } | Repairs WebM EBML duration or MP4 mvhd boxes so Chromium recordings can be scrubbed. |
| parse_media_duration | { filePath } | Reads container format, duration in seconds, and file size in <5ms. |
| lossless_trim_video | { inputPath, outputPath, segments: [{start, end}] } | Slices and stitches WebM or MP4 segments at keyframes with rewritten timestamps. |
| detect_audio_silences | { filePath, thresholdDb?, minSilenceDurationSec? } | Analyzes audio energy to find dead air (< -40dB) and returns kept segments with safety padding. |
| process_subtitles | { filePath?, rawText?, action, filterWords? } | Parses subtitles, extracts cues, filters filler words, and generates Meeting-Notes.md. |
Agent Skills Included
video-silence-remover: Procedural guide for auto-cutting pauses and dead air from videos.browser-recording-repair: Procedural guide for fixing broken or zero-duration Playwright/Puppeteer/MediaRecorder WebM videos.text-driven-video-editor: Procedural guide for executing cuts based on spoken words and transcript cues.
License
MIT
