PluginBench
MCP Server
Maintained

io.github.KamaruSama/mcp-screenshot MCP Server

io.github.KamaruSama/mcp-screenshot

What is the io.github.KamaruSama/mcp-screenshot MCP server?

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

How to install io.github.KamaruSama/mcp-screenshot

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • 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.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-screenshot": {
      "command": "uvx",
      "args": [
        "mcp-screenshot"
      ],
      "env": {
        "WAYLAND_DISPLAY": "<YOUR_WAYLAND_DISPLAY>",
        "XDG_RUNTIME_DIR": "<YOUR_XDG_RUNTIME_DIR>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-screenshot": {
      "command": "uvx",
      "args": [
        "mcp-screenshot"
      ],
      "env": {
        "WAYLAND_DISPLAY": "<YOUR_WAYLAND_DISPLAY>",
        "XDG_RUNTIME_DIR": "<YOUR_XDG_RUNTIME_DIR>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "mcp-screenshot": {
      "command": "uvx",
      "args": [
        "mcp-screenshot"
      ],
      "env": {
        "WAYLAND_DISPLAY": "<YOUR_WAYLAND_DISPLAY>",
        "XDG_RUNTIME_DIR": "<YOUR_XDG_RUNTIME_DIR>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "mcp-screenshot": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-screenshot"
      ],
      "env": {
        "WAYLAND_DISPLAY": "<YOUR_WAYLAND_DISPLAY>",
        "XDG_RUNTIME_DIR": "<YOUR_XDG_RUNTIME_DIR>"
      }
    }
  }
}
Claude Code
claude mcp add mcp-screenshot --env WAYLAND_DISPLAY=<YOUR_WAYLAND_DISPLAY> --env XDG_RUNTIME_DIR=<YOUR_XDG_RUNTIME_DIR> -- uvx mcp-screenshot

Related MCP servers

19 tools for Google Forms: create quizzes, add questions, set answer keys, read responses.

0
Python
View repository →

Run sudo commands with a Fernet-encrypted password bound to machine-id + user.

0
Python
View repository →