MCP server
MCP Screenshot
Take Wayland screenshots via grim/slurp. Full screen, region, or interactive crop.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 5 days ago
About MCP Screenshot
MCP Screenshot is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mcp-screenshot --env WAYLAND_DISPLAY='<WAYLAND_DISPLAY>' --env XDG_RUNTIME_DIR='<XDG_RUNTIME_DIR>' -- uvx mcp-screenshotAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-screenshot": {
"command": "uvx",
"args": [
"mcp-screenshot"
],
"env": {
"WAYLAND_DISPLAY": "<WAYLAND_DISPLAY>",
"XDG_RUNTIME_DIR": "<XDG_RUNTIME_DIR>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-screenshot": {
"command": "uvx",
"args": [
"mcp-screenshot"
],
"env": {
"WAYLAND_DISPLAY": "<WAYLAND_DISPLAY>",
"XDG_RUNTIME_DIR": "<XDG_RUNTIME_DIR>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-screenshot": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-screenshot"
],
"env": {
"WAYLAND_DISPLAY": "<WAYLAND_DISPLAY>",
"XDG_RUNTIME_DIR": "<XDG_RUNTIME_DIR>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-screenshot": {
"command": "uvx",
"args": [
"mcp-screenshot"
],
"env": {
"WAYLAND_DISPLAY": "<WAYLAND_DISPLAY>",
"XDG_RUNTIME_DIR": "<XDG_RUNTIME_DIR>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-screenshot": {
"command": "uvx",
"args": [
"mcp-screenshot"
],
"env": {
"WAYLAND_DISPLAY": "<WAYLAND_DISPLAY>",
"XDG_RUNTIME_DIR": "<XDG_RUNTIME_DIR>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
WAYLAND_DISPLAYWayland display identifier (e.g. wayland-1). Required for grim to find the compositor.RequiredXDG_RUNTIME_DIRWayland runtime directory (e.g. /run/user/1000). Required for socket lookup.Required
Pricing
Open source
MCP Screenshot FAQ
Is MCP Screenshot free?
Yes. MCP Screenshot is open source, so you can use and self-host it for free.
How do I add MCP Screenshot to Claude Code?
Run this command in your terminal: claude mcp add mcp-screenshot --env WAYLAND_DISPLAY='<WAYLAND_DISPLAY>' --env XDG_RUNTIME_DIR='<XDG_RUNTIME_DIR>' -- uvx mcp-screenshot
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.