Take Wayland screenshots via grim/slurp. Full screen, region, or interactive crop.
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.
| Tool | Purpose |
|---|---|
take_screenshot | Capture screen (full / geometry / interactive select) |
list_outputs | List available Wayland outputs / monitors |
grim — screenshot toolslurp — interactive region selectorwlr-randr (optional) — for list_outputsInstall on Arch Linux:
sudo pacman -S grim slurp wlr-randr
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
Copyright © 2026 likezara™. All rights reserved. Developed by Kamaru (pen name).
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx mcp-screenshotMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-kamarusama-mcp-screenshot": {
"command": "uvx",
"args": [
"mcp-screenshot"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencemcp-screenshotpypiio.github.KamaruSama/mcp-screenshot works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.