io.github.KamaruSama/mcp-screenshot icon

mcp-screenshot

by KamaruSama

io.github.KamaruSama/mcp-screenshot

Take Wayland screenshots via grim/slurp. Full screen, region, or interactive crop.

Version 1.0.1
Local
View source

mcp-screenshot · v1.0.1

by KamaruSama

58

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

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).