Antigravity Media Player
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.
Why This Exists
If you use Google Antigravity for video editing, FFmpeg pipelines, DaVinci Resolve automation, or audio mastering, you quickly hit the built-in file:/// viewer's 20 MB file size limit — plus browsers can't natively decode studio alpha codecs (qtrle, ProRes 4444, DNxHD).
Antigravity Media Player registers a native MCP App plugin (open_media_player) backed by a zero-copy loopback HTTP 206 Partial Content streaming server (127.0.0.1:47821). Even a 10 GB 4K file opens instantaneously and scrubs smoothly with zero memory bloat.
Related MCP server: @open-dreamflow/mcp-client
Features
Zero Size Limit (HTTP 206 Byte-Range): Streams
MP4,M4V,WebM,WAV,MP3,M4A,FLAC,OGG,AAC,OPUSdirectly from disk in 4 MB chunks with instant seeking.Studio Codec & Alpha Channel Support: Automatically detects
qtrle(QuickTime Animation),ProRes,DNxHD,FFV1,MKV,MXF, or unsupported 10-bit codecs and serves a fast FFmpeg H.264 preview (cached for ≤ 2 min clips, live fragmented MP4 for longer files) with 4 selectable Alpha backdrops (Dark,Checker,Warm,Light).A/B Sync Comparison: Toggle A/B and press keys
1–9to switch between multiple renders, color grades, or audio masters while preserving the exact playback timestamp.Frame-Accurate Review: Step
±1 frame(,/.) using the clip's exactffprobeframe rate (23.976,24,25,30,60 fps), seek±5s, adjust playback speed (0.25×–2×), loop, and hover-scrub with floatingMM:SS.fftimecode preview.Fullscreen + Theater Mode: Uses native browser Fullscreen API and gracefully falls back to 100% viewport Theater Mode inside restricted IDE webviews (
For double-click).Precision Studio UI: Single-file bundled UI (
OKLCHpalette, pixel-aligned32pxSVG icons, dark & light Antigravity theme sync, responsive down to narrow IDE side-panes, keyboard accessible,prefers-reduced-motionaware).Works Both Inside Antigravity & Standalone Browser: Open from agent chat / side pane via MCP, or visit
http://127.0.0.1:47821/?open=/path/to/video.mp4directly in any browser tab.
Quick Install (Google Antigravity)
Prerequisites
Node.js 20+ (recommended: Node 22+)
FFmpeg & FFprobe on
PATH(optional — only needed for metadata probe and studio codec / alpha.movtranscoding; direct MP4/WAV streaming works even without FFmpeg)
1. Clone into Antigravity's global plugins folder
Windows (PowerShell):
git clone https://github.com/chumdesign/antigravity-media-player.git "$env:USERPROFILE\.gemini\config\plugins\media-player"
cd "$env:USERPROFILE\.gemini\config\plugins\media-player"
npm installmacOS / Linux:
git clone https://github.com/chumdesign/antigravity-media-player.git ~/.gemini/config/plugins/media-player
cd ~/.gemini/config/plugins/media-player
npm install
npm installautomatically runsnpm run build:uiviapostinstallto bundledist/app.html.
2. Enable the plugin in Antigravity
Open Antigravity → Plugins Manager (or restart Antigravity so it discovers the new plugin).
Enable Media Player.
Ask the agent anything like:
"Open the rendered 4K video in Media Player"
"Load all videos from
./rendersinto Media Player so I can compare them"Or open
http://127.0.0.1:47821/directly in your browser once the MCP server is running.
Keyboard Shortcuts
Key | Action |
| Play / Pause |
| Seek |
| Step |
| Mute / Unmute |
| Toggle Loop |
| Fullscreen / Theater Mode |
| Switch playlist file (preserves timestamp when A/B is active) |
| Toggle keyboard shortcuts popover |
| Close popover / exit Theater Mode |
Architecture
flowchart LR
IDE["Antigravity IDE / Chat / Side Pane"] <-->|"MCP stdio (open_media_player)"| MCP["server.mjs (Node.js)"]
MCP -->|"Serves single-file dist/app.html"| UI["Studio Monitor UI (ui-src/app.ts)"]
UI <-->|"HTTP 206 Byte-Range (127.0.0.1:47821)"| HTTP["Embedded Loopback Server"]
HTTP -->|"Direct 4MB range chunks"| DISK["Local 4K MP4 / WAV / FLAC"]
HTTP -->|"On-demand H.264 / Alpha composite"| FF["FFmpeg / FFprobe"]Local-only security: Binds strictly to
127.0.0.1(default port47821, configurable viaAGY_MEDIA_PLAYER_PORT, auto-falls back to an ephemeral port if busy).MCP App CSP-safe: Single-file
dist/app.html(esbuildbundle) with zero external CDN dependencies and explicitresourceDomains/connectDomainsbound tosessionState.streamOrigin.
Development
# Edit UI logic in ui-src/app.ts or markup/styles in build-ui.mjs
npm run build:uiBecause server.mjs reads dist/app.html dynamically from disk on every request, rebuilding the UI updates http://127.0.0.1:47821/ immediately on browser refresh (F5) — no MCP server restart needed.
Ideas & Contributions Welcome!
PRs, issues, and ideas are very welcome! Some fun next milestones to build together:
Interactive A/B Wipe Curtain: Drag a vertical divider right across the video frame to compare two color grades / upscales simultaneously.
Audio Waveform & Loudness Meter: Real-time Web Audio API waveform + LUFS peak readout for WAV/MP3 review.
In / Out Timeline Markers: Mark
I/Opoints and copy an FFmpeg lossless trim command or export a frame PNG (S).Drag & Drop Files: Drop local folders or clips directly onto the player window.
License
MIT © 2026 ChumDesign
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Convert, probe, and split video into frames — real FFmpeg, paid per job with x402 on Base.
Run FFmpeg and FFprobe in the cloud: convert, compress, trim and analyze video and audio.
FFmpeg processing for video, audio and images via MCP with OAuth and shared account allowance.
Watch and share RAW media files, search, read transcripts, and auto-assemble edits.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables local media processing (video/audio) using FFmpeg and FFprobe, allowing frame extraction, audio conversion, and metadata retrieval through natural language.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables users to run a 12-tool media pipeline with local FFmpeg and BYOK cloud providers for keyframe bridging, audio/TTS generation, inpainting/outpainting, background removal, 4K upscaling, contact-sheet slicing, and dual-lane timeline compilation to MP4/FCPXML.MIT
- AlicenseNot gradedqualityCmaintenanceEnables remote AI agents to automate Google Flow through a signed-in Chrome session, generating images and videos, managing projects and history, and assembling ffmpeg scenes over MCP Streamable HTTP.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform guardrailed FFmpeg video editing, including trimming, merging, resizing, subtitles, audio, effects, transitions, media analysis, Hyperframes rendering, and local repurposing with preflight validation.Apache 2.0