agent-watch
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.
agent-watch
Give an AI agent a video page URL and let it sample frames just as it would from a local video. The agent can preview the video, choose which segment to inspect and at what FPS, and resample from the already captured media.
agent-watch opens supported video pages in an isolated headless Microsoft Edge instance and holds playback data in memory through Blob Downloader. Local FFmpeg reads those in-memory tracks to extract timestamped JPEG frames without first saving a full video file. The server connects to your agent over local MCP stdio, and it is currently a v0.1.0 preview released under the MIT license.
Install with an Agent
Copy this prompt into an agent that can run local commands on Windows and configure your MCP client.
Install and configure agent-watch for my MCP client from https://github.com/sleepyquq/agent-watch.
Check for Node.js 22 or later, Microsoft Edge, FFmpeg, and FFprobe.
Clone the repository, or reuse an existing local copy. Run npm ci and npm run setup in the repository.
Register a local MCP stdio server named agent-watch. Use node as the command, followed by the absolute path to src/cli.js in the repository and the argument mcp.
If FFmpeg or FFprobe is installed outside PATH, configure FFMPEG_PATH or FFPROBE_PATH with its absolute path.
Verify the configured server lists open_video and sample_frames. Tell me the installation path and the result.Related MCP server: framedeck
Manual Installation
Prerequisites
You need Node.js (>=22), Microsoft Edge, and both FFmpeg and FFprobe available on your system PATH. If FFmpeg or FFprobe is not on PATH, set the FFMPEG_PATH and FFPROBE_PATH environment variables to point to the corresponding executables.
Install Dependencies and Set Up Edge Capture
On Windows, use PowerShell 7 to clone the repository from GitHub, enter the directory, install dependencies, and initialize the extension cache. Running npm ci reproduces project dependencies from the lockfile, and npm run setup downloads, verifies, and caches Blob Downloader 0.2.0 so you do not need to install the extension manually in your regular Microsoft Edge browser.
git clone https://github.com/sleepyquq/agent-watch.git
cd agent-watch
npm ci
npm run setupConfigure Your MCP Client
Clients that support MCP stdio can connect to agent-watch through a local startup command. Replace the repository path in the following mcpServers JSON example with the absolute path on your machine.
{
"mcpServers": {
"agent-watch": {
"command": "node",
"args": ["C:/path/to/agent-watch/src/cli.js", "mcp"]
}
}
}Quick Start
Agents choose among available tools. To make frame extraction the first step, name the agent-watch MCP in your request. Replace <video-page-url> with your link in the prompt below.
Use the agent-watch MCP first to extract frames and analyze what happens on screen.
Start with an overview, then choose a time range and FPS for a closer look. Cite the frame timestamps in your analysis.
Use a browser to check page data such as likes or comments if the task calls for it.
<video-page-url>If you know the range, ask “Use the agent-watch MCP to extract frames from 26 to 29 seconds at 15 FPS.” The agent can sample the same captured media again at another FPS.
If you prefer to try frame extraction from the command line first, run the following command and replace <video-page-url> with the target page URL.
node src/cli.js extract "<video-page-url>" --start 26 --end 29 --fps 15You can specify the output directory with output_dir or the --out CLI option. By default, files go into the agent-watch folder in your system temporary directory. Each frames-* subfolder contains the JPEGs and a timeline.json manifest.
MCP Tools and Examples
Tool | Key Parameters | Purpose |
|
| Captures web video in the background and returns |
|
| Checks capture progress, available |
|
| Extracts a small set of timestamped overview frames from captured video |
|
| Samples frames for a range and FPS, returning JPEG paths, actual timestamps, and missing slots |
|
| Saves complete captured audio and video locally when explicitly requested by the user |
|
| Closes the session and releases media memory |
Sampling Frames by Segment
To preview first, pass only url to open_video, poll video_status with the returned video_id, and call video_overview once the status becomes ready.
When the target segment is already known, pass the time range directly to open_video. Capture stops as soon as the buffered data passes the coverage check for that segment. If coverage validation fails, the server retries once using the same video_id.
{"url":"<video-page-url>","start_seconds":26,"end_seconds":29}Once video_status becomes ready, pass the ID returned by open_video into sample_frames.
{"video_id":"<video_id>","start_seconds":26,"end_seconds":29,"fps":15}The sampling range includes the start time and excludes the end time. time_seconds is the actual playback time of the frame, source_pts_seconds is the source presentation timestamp of the decoded frame, and missing_slots records sampling positions that did not match a real frame. Call close_video when done.
Saving Full Audio and Video
Frame sampling outputs only JPEG frames and a timestamp manifest. When the user explicitly asks to save the full video, you can reuse a session where save_ready is true, or call open_video with for_save set to true to capture complete audio and video tracks and then call save_video once video_status becomes ready.
Tests and Verified Scope
Run the 11 tests from the repository directory.
npm testVerified on Windows with Microsoft Edge 158.0.4370.33 and Node.js 24.22.1. From an empty cache, dependency installation, extension download, and MCP frame extraction on a synthetic video all passed. A separate test on a Douyin video page extracted 45/45 frames from 26 to 29 seconds at 15 FPS with no missing frames.
For media processing, FFmpeg handles captured MP4 and WebM tracks. This tool only supports page media that plays in the isolated Edge instance and is captured by Blob Downloader, while compatibility with other websites or operating systems varies by browser and page behavior and has not been broadly verified.
Related Links
The project repository is hosted at agent-watch.
Playback data capture relies on the upstream project Blob Downloader.
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
Give your agent eyes: screenshots of any web page it can see, pages as markdown, and PDFs.
Extract still frames from video URLs every N seconds, at scene changes or at named timestamps
Extract timestamped scene frames from video for AI vision, with OCR. Runs on Apify, pay per use.
Hosted browser for agents: open pages, search the web, extract data, read PDFs and take screenshots.
Related MCP Servers
AlicenseAqualityBmaintenanceEnables AI agents to extract video frames at configurable FPS and compose them into grid sheets for multimodal LLMs, with support for video download, HLS streams, and job management via MCP tools.122Apache 2.0- AlicenseAqualityDmaintenanceEnables coding agents to turn videos from social platforms or local files into a small set of distinct frames plus a manifest, so they can answer visual questions by reading image paths. Also provides metadata lookup for captions and authors without downloading the video.2MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI vision workflows to capture fresh webpage screenshots, specific DOM elements, and timed screencasts, automatically limiting resolution and tiling full pages into 1072x1072 chunks for LLM-friendly processing.-
- FlicenseNot gradedqualityAmaintenanceEnables AI coding and vision workflows to capture full webpages, specific DOM elements, or timed visual sequences, with automatic tiling into 1072x1072 chunks and optional file output.-