adityachauhan0/screenshot-mcp
MCP server for Linux: list windows and capture screenshots. Supports X11, Wayland, KDE Plasma. For AI agents like Claude and Cursor.
Platform-specific configuration:
{
"mcpServers": {
"screenshot-mcp": {
"command": "npx",
"args": [
"-y",
"screenshot-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
> An MCP (Model Context Protocol) server that enables AI agents to capture screenshots of running application windows on Linux systems. Supports X11 and Wayland/KDE Plasma 6.
[](https://github.com/adityachauhan0/screenshot-mcp/stargazers) [](https://github.com/adityachauhan0/screenshot-mcp/network) [](https://opensource.org/licenses/MIT)
This MCP server provides AI agents with the ability to list all running application windows and capture screenshots of specific windows. It's designed for use with Claude, Cursor, and other MCP-compatible AI assistants.
Key Features:
# Arch Linux
sudo pacman -S xdotool imagemagick
# Ubuntu/Debian
sudo apt install xdotool imagemagick
# Fedora
sudo dnf install xdotool ImageMagick# Arch Linux
sudo pacman -S grim xdotool # xdotool for fallback window listing
# Ubuntu/Debian
sudo apt install grim wl-clipboard
# Fedora
sudo dnf install grimmcp>=1.0.0)# Clone the repository
git clone https://github.com/adityachauhan0/screenshot-mcp.git
cd screenshot-mcp
# Install in development mode
pip install -e .
# Or install dependencies only
pip install -r requirements.txtAdd to your MCP client configuration (e.g., Claude Desktop, Cursor):
{
"mcpServers": {
"screenshLoading reviews...