Skip to main content
Glama

mcp-screenshot

MCP server for taking Linux / Wayland screenshots via grim and slurp.

Exposes 2 tools to capture the full screen, a selected region, or an interactive crop — returned inline as base64 or saved to disk.

📖 อ่านภาษาไทย →


Tools

Tool

Purpose

take_screenshot

Capture screen (full / geometry / interactive select)

list_outputs

List available Wayland outputs / monitors


Related MCP server: graphics-mcp

Requirements

  • Wayland compositor (Sway, Hyprland, etc.)

  • grim — screenshot tool

  • slurp — interactive region selector

  • wlr-randr (optional) — for list_outputs

Install on Arch Linux:

sudo pacman -S grim slurp wlr-randr

Install

claude mcp add screenshot -s user \
  --env WAYLAND_DISPLAY=wayland-1 \
  --env XDG_RUNTIME_DIR=/run/user/1000 \
  -- /path/to/mcp-screenshot/.venv/bin/python /path/to/mcp-screenshot/server.py

Build the venv once:

cd /path/to/mcp-screenshot
uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python mcp

Support the project ❤


Contact


Copyright © 2026 likezara™. All rights reserved. Developed by Kamaru (pen name).

Available Tools

2 tools
list_outputsA

List available Wayland outputs (monitors).

Inputs: no named parameters. Returns: result

take_screenshotA

Take a screenshot of the Linux desktop.

Args: region: Optional region to capture. Use "select" to interactively pick a region with slurp, or pass geometry like "100,200 400x300". If omitted, captures the full screen. output_path: Optional path to save the screenshot. If omitted, saves to a temp file and returns the image as base64.

Inputs: region, output_path. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: list_outputs lists monitors, take_screenshot captures the screen. There is no overlap or ambiguity.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern in snake_case (list_outputs, take_screenshot), which is predictable and clear.

    Tool Count4/5

    With only 2 tools, the server is minimal but still reasonably scoped for basic screenshot functionality. It is slightly under the ideal 3-15 range but not problematic.

    Completeness4/5

    The server covers essential screenshot needs (full screen, region capture) and provides monitor listing. Missing advanced features like window capture or delay, but these are minor gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers