GetScreen MCP Server

GetScreen MCP Server

Enables capturing screenshots of all connected monitors with automatic JPEG compression and multi-platform support including WSL environments. Supports quality adjustment and image resizing through simple natural language commands.

Category
Visit Server

README

GetScreen MCP Server

A lightweight Model Context Protocol (MCP) Server for rapid capture of screenshots from all available monitors with automatic compression.

Features

  • Multi-Monitor Support: Automatically captures all connected displays
  • WSL Support: Works seamlessly in Windows WSL through PowerShell integration
  • Fast Compression: Utilizes Sharp for optimal JPEG compression
  • Simple Integration: Single tool with optional parameters
  • Lightweight: Minimal dependencies, maximum performance
  • Cross-Platform: Linux, macOS, and Windows (including WSL)

New Features

Enhanced WSL Support

WSL support has been improved with automatic detection and PowerShell integration. The tool now works seamlessly whether you use the wsl command approach or the simpler Node-based direct execution method.

Key Features:

  • Automatic WSL detection via /proc/version environment inspection
  • Seamless PowerShell integration for capturing Windows host displays
  • Support for both direct Node execution and WSL command wrapper
  • No additional configuration needed for WSL environment detection

How It Works: When running in WSL, the tool automatically detects the environment and leverages PowerShell on the Windows host to capture screenshots. This approach ensures access to all display information from the Windows side while maintaining full compatibility with WSL-based tools.

Installation

git clone https://github.com/Kirchlive/getscreen_mcp.git
cd getscreen_mcp
npm install
npm run build

Configuration

Claude Code

Add the following to your Claude configuration:

macOS: ~/Users/USERNAME/.claude.json Windows: C:\Users\USERNAME\.claude.json Linux/WSL: ~/home/USERNAME/.claude.json

{
  "mcpServers": {
    "getscreen": {
      "command": "node",
      "args": ["/ABSOLUT/PATH/TO/getscreen_mcp/build/index.js"]
    }
  }
}

Usage

Screenshot Tool

The screenshot tool captures all available monitors and returns the compressed images.

Parameters (all optional):

  • quality (number, 1-100): JPEG quality. Default: 80
  • maxWidth (number): Maximum width in pixels. Images are resized proportionally.

Examples:

Take a screenshot
Take a screenshot with high quality (quality: 95)
Take a screenshot and resize it to max. 1920px width (maxWidth: 1920)

Technical Details

Platform Detection

The tool automatically detects the environment and selects the optimal method:

  • WSL: Uses PowerShell on the Windows host via powershell.exe
  • Linux/macOS: Uses screenshot-desktop for native capture

Components

  • WSL Capture: PowerShell System.Windows.Forms and System.Drawing
  • Native Capture: screenshot-desktop for Linux/macOS
  • Compression: sharp for fast image processing and JPEG compression
  • Format: Images are returned as base64-encoded JPEGs
  • Performance: Parallel capture of all monitors for maximum speed

WSL Implementation

In WSL environments:

  1. Detection via /proc/version (checks for "microsoft" or "WSL")
  2. PowerShell script is executed on Windows host
  3. All monitors are captured via System.Windows.Forms.Screen::AllScreens
  4. Screenshots captured as PNG, then compressed to JPEG with desired quality
  5. Base64-encoded transmission back to WSL

License

MIT

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