MCP Screen Capture
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., "@MCP Screen Capture take a full-page screenshot of http://localhost:5173 and save it to ./homepage.png"
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.
MCP Screen Capture
An MCP server for capturing screenshots, recording videos, and generating animated GIFs from web pages using Playwright and ffmpeg.
Prerequisites
Node.js 18+
ffmpeg (install via
brew install ffmpegon macOS)
Related MCP server: screenshot-website-fast
Installation
cd mcp-screen-capture
npm installThis will automatically install Playwright's Chromium browser via the postinstall script.
MCP Configuration
Add to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"screen-capture": {
"command": "node",
"args": ["/path/to/mcp-screen-capture/src/index.js"]
}
}
}Available Tools
screenshot
Take a screenshot of a URL.
Parameters:
url(required): URL to captureoutputPath(required): Path to save the screenshot (.png)width: Viewport width (default: 1280)height: Viewport height (default: 720)fullPage: Capture full scrollable page (default: false)waitForSelector: Wait for a CSS selector before capturingdelay: Delay in ms before capturing (default: 0)
Example:
{
"url": "http://localhost:5173",
"outputPath": "/path/to/screenshot.png",
"fullPage": true
}record_video
Record a video of a webpage with optional auto-scrolling.
Parameters:
url(required): URL to recordoutputPath(required): Path to save the video (.webm)width: Viewport width (default: 1280)height: Viewport height (default: 720)duration: Recording duration in ms (default: 5000)scrollToBottom: Auto-scroll during recording (default: false)scrollSpeed: Pixels per scroll step (default: 100)
Example:
{
"url": "http://localhost:5173",
"outputPath": "/path/to/recording.webm",
"duration": 8000,
"scrollToBottom": true
}video_to_gif
Convert a video file to an animated GIF.
Parameters:
inputPath(required): Path to input videooutputPath(required): Path to save the GIFfps: Frames per second (default: 10)width: GIF width in pixels (default: 800)quality: Quality preset - "low", "medium", "high" (default: "medium")
Example:
{
"inputPath": "/path/to/video.webm",
"outputPath": "/path/to/output.gif",
"fps": 12,
"quality": "high"
}capture_gif
All-in-one: Record a webpage and save directly as GIF.
Parameters:
url(required): URL to recordoutputPath(required): Path to save the GIFwidth: Viewport width (default: 1280)height: Viewport height (default: 720)duration: Recording duration in ms (default: 5000)scrollToBottom: Auto-scroll during recording (default: false)fps: GIF frames per second (default: 10)gifWidth: Output GIF width (default: 800)quality: Quality preset (default: "medium")
Example:
{
"url": "http://localhost:5173",
"outputPath": "/path/to/demo.gif",
"duration": 8000,
"scrollToBottom": true,
"fps": 12,
"gifWidth": 800,
"quality": "high"
}Quality Presets
Preset | Dithering | Best For |
| None | Small file size, simple graphics |
| Bayer | Balanced quality and size |
| Sierra | Best quality, larger files |
Use Cases
Generate demo GIFs for README files
Capture screenshots for documentation
Record UI interactions for bug reports
Create visual regression test baselines
License
MIT
Available Tools
4 toolscapture_gifA
Record a webpage and save directly as an animated GIF (combines record_video and video_to_gif)
Inputs: url (required), outputPath (required), fps, width, +5 more.
record_videoC
Record a video of a webpage with optional scrolling
Inputs: url (required), outputPath (required), width, height, +3 more.
screenshotC
Take a screenshot of a URL or local file path
Inputs: url (required), outputPath (required), delay, width, +3 more.
video_to_gifB
Convert a video file to an animated GIF using ffmpeg
Inputs: inputPath (required), outputPath (required), fps, width, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
screenshot and record_video are clearly distinct (single frame vs. video), but capture_gif explicitly combines record_video and video_to_gif, creating an intentional overlap where the agent must decide between composing two tools or using the convenience shortcut. Descriptions do clarify the boundaries, but the redundancy keeps this from being fully distinct.
record_video and capture_gif follow a verb_noun pattern, but screenshot is a bare noun and video_to_gif uses a noun_to_noun conversion style. All snake_case and readable, but the verb convention is mixed rather than predictable.
Four tools is a lean but well-scoped surface for a screen-capture server. Each tool maps to a distinct output format, though capture_gif is arguably a convenience wrapper rather than an independent capability.
The set covers still images, video recording, and GIF output with both composable and shortcut paths, which is solid lifecycle coverage for the domain. Minor gaps like configurable screenshot options (full-page, viewport) aren't represented but are workable.
Maintenance
Related MCP Connectors
Screenshot any website as PNG, JPEG, WebP, PDF or scrolling MP4/GIF video, with public file links.
Screenshots of any public web page as PNG, JPEG, WebP, PDF or a scrolling video.
- RecordHTMLDeprecatedcom.recordhtml
Record web pages and HTML5 creatives to MP4, WebM or GIF in a real browser.
Capture websites as PNG, JPEG, WebP or PDF, extract their content, or analyse them with AI.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables capturing high-quality webpage screenshots, specific DOM elements, and timed screencasts, with automatic full-page tiling into 1072x1072 chunks and animated WebP export for AI vision workflows.-
- FlicenseNot gradedqualityAmaintenanceEnables AI vision workflows and coding tools to capture high-quality webpage screenshots, full-page tiled images, specific DOM elements, and timed screencasts, optionally saved as files or animated WebP.-
- FlicenseNot gradedqualityAmaintenanceEnables capturing pixel-perfect screenshots of web pages or specific DOM elements, automatically tiling full pages into 1072x1072 chunks and recording screencasts as animated WebP for AI vision workflows.-
- AlicenseNot gradedqualityAmaintenanceEnables fast, high-quality screenshot capture of web pages with automatic tiling into 1072x1072 chunks optimized for AI vision workflows. It also supports capturing specific DOM elements and recording screencasts as animated WebP files.MIT