MCP Screenshot Server
@sethbang
A MCP server for capturing screenshots
概要
What is MCP Screenshot Server?
MCP Screenshot Server is an MCP (Model Context Protocol) server implementation using Puppeteer to capture screenshots of web pages and local HTML files through a simple tool interface.
How to use MCP Screenshot Server?
Install with npm install. The server provides a take_screenshot tool that accepts a URL (http, https, or file), optional viewport dimensions (width 1–3840, height 1–2160), a fullPage boolean, and an optional custom outputPath.
Key features of MCP Screenshot Server
- Capture screenshots of any web page or local HTML file
- Configurable viewport width and height (pixels)
- Full page screenshot support
- Custom output path for saved screenshots
- Automatic screenshot directory management
Use cases of MCP Screenshot Server
- Taking screenshots of web pages via http/https URLs
- Capturing screenshots of local HTML files using file:// URLs
- Generating full-page screenshots of scrollable content
- Saving screenshots to a specific directory or file path
FAQ from MCP Screenshot Server
What URL schemes are supported?
The url parameter can use http://, https://, or file:// schemes.
What are the viewport dimension limits?
Width must be between 1 and 3840 pixels, and height between 1 and 2160 pixels.
Can I specify where the screenshot is saved?
Yes, use the optional outputPath parameter to provide a custom file path.
Does it support full-page screenshots?
Yes, set the fullPage option to true to capture the entire scrollable page.
What runtime dependencies are required?
Node.js and npm are needed. Puppeteer is installed automatically as a dependency when running npm install.