MCP Screenshot Server logo

MCP Screenshot Server

by MCP-Mirror

An MCP server implementation that provides screenshot functionality using Puppeteer. It allows capturing screenshots of web pages and local HTML files through a simple MCP tool interface.

View on GitHub

Last updated: N/A

What is MCP Screenshot Server?

This is an MCP server that utilizes Puppeteer to capture screenshots of web pages and local HTML files. It provides a simple interface through an MCP tool for taking screenshots.

How to use MCP Screenshot Server?

Install the server using npm install. The server provides a take_screenshot tool that accepts a URL (http://, https://, or file:///) along with optional parameters for width, height, full page capture, and a custom output path.

Key features of MCP Screenshot Server

  • Capture screenshots of web pages and local HTML files

  • Configurable viewport dimensions

  • Full page screenshot support

  • Custom output path option

Use cases of MCP Screenshot Server

  • Automated website testing

  • Generating thumbnails of web pages

  • Archiving web content

  • Creating visual documentation

  • Monitoring website appearance

FAQ from MCP Screenshot Server

What is Puppeteer?

Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. It can be used to automate browser tasks, including taking screenshots.

What types of URLs can I capture?

You can capture screenshots of URLs using the http://, https://, or file:// protocols.

Can I specify the dimensions of the screenshot?

Yes, you can specify the width and height of the viewport using the width and height options.

How do I capture the entire scrollable page?

Set the fullPage option to true to capture the entire scrollable page.

Where are the screenshots saved?

Screenshots are saved in a default directory managed by the server, unless a custom outputPath is provided.