io.github.KamaruSama/mcp-screenshot

Official registry Other

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

PYPI package mcp-screenshot
Claude Code
claude mcp add mcp-screenshot -e 'WAYLAND_DISPLAY=<WAYLAND_DISPLAY>' -e 'XDG_RUNTIME_DIR=<XDG_RUNTIME_DIR>' -- uvx mcp-screenshot==1.0.1
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mcp-screenshot": {
            "command": "uvx",
            "args": [
                "mcp-screenshot==1.0.1"
            ],
            "env": {
                "WAYLAND_DISPLAY": "<WAYLAND_DISPLAY>",
                "XDG_RUNTIME_DIR": "<XDG_RUNTIME_DIR>"
            }
        }
    }
}

Environment variables

  • WAYLAND_DISPLAY required Wayland display identifier (e.g. wayland-1). Required for grim to find the compositor.
  • XDG_RUNTIME_DIR required Wayland runtime directory (e.g. /run/user/1000). Required for socket lookup.

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. mcp-screenshot
  2. Tools
  3. Requirements
  4. Install
  5. Support the project ❤
  6. Contact

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

ToolPurpose
take_screenshotCapture screen (full / geometry / interactive select)
list_outputsList 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

  • Portfolio / general: k.kamarux@gmail.com
  • Commercial / licensing: contact@likezara.com

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

Frequently asked questions

What is io.github.KamaruSama/mcp-screenshot?

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

How do I install io.github.KamaruSama/mcp-screenshot?

It runs on your machine. In Claude Code: claude mcp add mcp-screenshot -e 'WAYLAND_DISPLAY=<WAYLAND_DISPLAY>' -e 'XDG_RUNTIME_DIR=<XDG_RUNTIME_DIR>' -- uvx mcp-screenshot==1.0.1. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.KamaruSama/mcp-screenshot need an API key?

Yes. It expects WAYLAND_DISPLAY, XDG_RUNTIME_DIR, which you set in its configuration.

Is io.github.KamaruSama/mcp-screenshot open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains io.github.KamaruSama/mcp-screenshot?

It is published by KamaruSama. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.