MCP ExplorerExplorer

Mcp Screenshot Server

@sethbangon 9 months ago
9 MIT
FreeCommunity
AI Systems
A MCP server for capturing screenshots

Overview

What is Mcp Screenshot Server

mcp-screenshot-server is an MCP server implementation designed for capturing screenshots of web pages and local HTML files using Puppeteer.

Use cases

Use cases for mcp-screenshot-server include automated testing of web applications, generating visual documentation, capturing website snapshots for monitoring, and creating previews of local HTML files.

How to use

To use mcp-screenshot-server, install the server using ‘npm install’, then utilize the ‘take_screenshot’ tool with options such as URL, viewport dimensions, full page capture, and custom output path.

Key features

Key features include the ability to capture screenshots of any web page or local HTML file, configurable viewport dimensions, full page screenshot support, custom output path options, and automatic screenshot directory management.

Where to use

undefined

Content

MCP Screenshot Server

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

Features

  • Capture screenshots of any web page or local HTML file
  • Configurable viewport dimensions
  • Full page screenshot support
  • Custom output path option
  • Automatic screenshot directory management

Installation

npm install

Usage

The server provides a take_screenshot tool with the following options:

{
  url: string;         // URL to capture (can be http://, https://, or file:///)
  width?: number;      // Viewport width in pixels (1-3840)
  height?: number;     // Viewport height in pixels (1-2160)
  fullPage?: boolean;  // Capture full scrollable page
  outputPath?: string; // Custom output path (optional)
}

Development

# Build the project
npm run build

# Run the MCP inspector for testing
npm run inspector

License

MIT

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers