Screenshot MCP

v1.0.0Browser Automationstable

An MCP server that enables capturing website screenshots with full-page, element-specific, and device-responsive capabilities through natural language commands.

screenshot-mcpmcpai-integration
Share:
38
Stars
0
Downloads
0
Weekly
0/5

What is Screenshot MCP?

Screenshot MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that enables capturing website screenshots with full-page, element-specific, and device-responsive capabilities through natural language commands.

An MCP server that enables capturing website screenshots with full-page, element-specific, and device-responsive capabilities through natural language commands.

This server falls under the Browser Automation category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An MCP server that enables capturing website screenshots wit

Use Cases

Capture full-page website screenshots, element-specific captures, and responsive device views through natural language.
upnorthmedia

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx screenshot-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Screenshot MCP

Screenshot MCP is a locally-hosted MCP server that enables AI assistants to capture website screenshots through natural language commands. It exposes three tools: capture_screenshot for full-page or viewport screenshots, capture_element for targeting specific DOM elements via CSS selectors, and list_device_presets for discovering available responsive device profiles. The server uses Playwright under the hood and is fully configurable via environment variables for headless mode, timeouts, concurrent limits, and viewport dimensions.

Prerequisites

  • Node.js 16+ and npm installed
  • An MCP-compatible client such as Claude Desktop
  • Internet access for the server to load target URLs
  • No external API keys required
1

Clone the repository

Clone the ScreenshotMCP repository to a local directory.

git clone https://github.com/upnorthmedia/ScreenshotMCP
cd ScreenshotMCP
2

Configure environment variables

Copy the example env file and adjust settings as needed. The defaults work for most use cases — set BROWSER_HEADLESS=true for background operation.

cp .env.example .env
3

Install dependencies

Install Node.js dependencies including Playwright and the MCP server framework.

npm install
4

Install Playwright browser binaries

Download the Chromium browser binary that Playwright uses for screenshot capture.

npx playwright install chromium
5

Start the MCP server

Start the server with npm start. It will listen for MCP connections from your configured client.

npm start
6

Configure Claude Desktop to connect

Add the ScreenshotMCP server to your Claude Desktop configuration. Since this server is started separately, configure it as a running process or wrap it in a script. Alternatively run it as a long-lived background service.

Screenshot MCP Examples

Client configuration

Claude Desktop configuration to launch ScreenshotMCP directly. Replace the path with your actual clone location.

{
  "mcpServers": {
    "screenshot-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/ScreenshotMCP/src/index.js"],
      "env": {
        "BROWSER_HEADLESS": "true",
        "DEFAULT_VIEWPORT_WIDTH": "1920",
        "DEFAULT_VIEWPORT_HEIGHT": "1080",
        "BROWSER_TIMEOUT": "30000"
      }
    }
  }
}

Prompts to try

Example natural language prompts to capture screenshots via the MCP tools.

- "Take a screenshot of https://example.com"
- "Capture a mobile screenshot of https://myapp.com"
- "Screenshot https://docs.github.com at 1024x768 resolution"
- "Capture just the navigation element on https://example.com using CSS selector nav"
- "List the available device presets for responsive screenshots"

Troubleshooting Screenshot MCP

Playwright executable not found or browser launch fails

Run npx playwright install chromium inside the ScreenshotMCP directory to download the required browser binary. If on Linux, you may also need system dependencies: npx playwright install-deps

Screenshots are blank or show an error page

Increase BROWSER_TIMEOUT and DEFAULT_WAIT_TIMEOUT in your .env file for slow-loading sites. Also check that the target URL is publicly accessible from your machine — authenticated or firewall-protected sites will not render correctly.

Too many concurrent requests causing failures

Lower MAX_CONCURRENT_SCREENSHOTS in .env (default is 5). This limits how many Playwright browser instances run simultaneously, which can prevent memory exhaustion on machines with limited RAM.

Frequently Asked Questions about Screenshot MCP

What is Screenshot MCP?

Screenshot MCP is a Model Context Protocol (MCP) server that mcp server that enables capturing website screenshots with full-page, element-specific, and device-responsive capabilities through natural language commands. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Screenshot MCP?

Follow the installation instructions on the Screenshot MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Screenshot MCP?

Screenshot MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Screenshot MCP free to use?

Yes, Screenshot MCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Browser Automation MCP Servers

Explore all browser automation servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "screenshot-mcp": { "command": "npx", "args": ["-y", "screenshot-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Screenshot MCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides