Screenshot capture with PII masking and cross-platform support for AI agents
mcp screenshot MCP Server
Published by KamaruSamaTake Wayland screenshots via grim/slurp. Full screen, region, or interactive crop.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 1.0.1
- SOURCE CHECKED
- Nov 30, 2026
Quick answers
How do I add mcp screenshot MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'WAYLAND_DISPLAY=<your-wayland-display>' --env 'XDG_RUNTIME_DIR=<your-xdg-runtime-dir>' --transport stdio screenshot -- uvx mcp-screenshotReplace the <your-…> placeholder with your own WAYLAND_DISPLAY and XDG_RUNTIME_DIR.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"screenshot": {
"command": "uvx",
"args": [
"mcp-screenshot"
],
"env": {
"WAYLAND_DISPLAY": "<your-wayland-display>",
"XDG_RUNTIME_DIR": "<your-xdg-runtime-dir>"
}
}
}
}Replace the <your-…> placeholder with your own WAYLAND_DISPLAY and XDG_RUNTIME_DIR.
CodexCommand
Run this in your terminal:
codex mcp add screenshot --env 'WAYLAND_DISPLAY=<your-wayland-display>' --env 'XDG_RUNTIME_DIR=<your-xdg-runtime-dir>' -- uvx mcp-screenshotReplace the <your-…> placeholder with your own WAYLAND_DISPLAY and XDG_RUNTIME_DIR.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"screenshot": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-screenshot"
],
"env": {
"WAYLAND_DISPLAY": "<your-wayland-display>",
"XDG_RUNTIME_DIR": "<your-xdg-runtime-dir>"
}
}
}
}Replace the <your-…> placeholder with your own WAYLAND_DISPLAY and XDG_RUNTIME_DIR.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"screenshot": {
"command": "uvx",
"args": [
"mcp-screenshot"
],
"env": {
"WAYLAND_DISPLAY": "<your-wayland-display>",
"XDG_RUNTIME_DIR": "<your-xdg-runtime-dir>"
}
}
}
}Replace the <your-…> placeholder with your own WAYLAND_DISPLAY and XDG_RUNTIME_DIR.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use mcp screenshot MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does mcp screenshot MCP Server need an API key?
To run it on your computer, set WAYLAND_DISPLAY and XDG_RUNTIME_DIR first, with values from the publisher.
Is mcp screenshot MCP Server official?
It's published by KamaruSama. The Official MCP Registry accepts names under io.github.KamaruSama only from the GitHub account or organisation KamaruSama. We last checked its listing on Nov 30, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
pypi · mcp-screenshot@1.0.1