screenshot-mcp

screenshot-mcp

Captures full-monitor screenshots and returns them as base64 inline or saved file. Supports macOS, Linux, Windows, and WSL2.

Category
Visit Server

README

screenshot-mcp

An MCP server that captures full-monitor screenshots and returns them inline (base64) or as a saved file. Supports macOS, native Linux (X11 and Wayland), native Windows, and WSL2.

Tools

list_monitors

Lists all connected monitors with their index, resolution, and primary status. Call this first to find monitor indices.

take_screenshot

Captures a screenshot of one monitor.

Argument Type Default Description
monitor integer 0 Monitor index from list_monitors
return "inline" | "path" "inline" inline = base64 PNG in response (Claude sees it); path = save to disk, return the file path
path string temp file Output path. Only used when return="path"

Tip: Very high-res monitors (4K, 5K) produce large base64 blobs. If you hit context limits, switch to return="path" and use the Read tool to view the file.

Installation

git clone https://github.com/you/screenshot-mcp
cd screenshot-mcp
npm install
npm run build

Platform requirements

Platform Requirement
macOS Nothing extra — uses screencapture and system_profiler (built in)
Native Linux / X11 scrot or imagemagick: sudo apt install scrot
Native Linux / Wayland grim + wlr-randr: sudo apt install grim wlr-randr
Native Windows Nothing extra — uses PowerShell + System.Drawing
WSL2 Nothing extra — shells out to powershell.exe on the Windows side

Configure in Claude Code

claude mcp add screenshot node /absolute/path/to/screenshot-mcp/dist/index.js

Configure in Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "screenshot": {
      "command": "node",
      "args": ["/absolute/path/to/screenshot-mcp/dist/index.js"]
    }
  }
}

How WSL2 works

WSL2 doesn't have direct access to the Windows display. This server detects WSL (via /proc/version or WSL_DISTRO_NAME) and shells out to powershell.exe to run a capture script using System.Windows.Forms.Screen and System.Drawing. The PNG is written to the Linux /tmp filesystem via the \\wsl.localhost\... UNC path and then read back.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured