screenshot-mcp
screenshot-mcp
Un servidor MCP que captura capturas de pantalla de monitores completos y las devuelve en línea (base64) o como un archivo guardado. Compatible con macOS, Linux nativo (X11 y Wayland), Windows nativo y WSL2.
Herramientas
list_monitors
Enumera todos los monitores conectados con su índice, resolución y estado principal. Llama a esto primero para encontrar los índices de los monitores.
take_screenshot
Captura una captura de pantalla de un monitor.
Argumento | Tipo | Predeterminado | Descripción | |
| integer |
| Índice del monitor de | |
|
|
|
|
|
| string | archivo temporal | Ruta de salida. Solo se usa cuando |
Consejo: Los monitores de muy alta resolución (4K, 5K) producen grandes blobs en base64. Si alcanzas los límites de contexto, cambia a
return="path"y usa la herramientaReadpara ver el archivo.
Related MCP server: GetScreen MCP Server
Instalación
git clone https://github.com/you/screenshot-mcp
cd screenshot-mcp
npm install
npm run buildRequisitos de la plataforma
Plataforma | Requisito |
macOS | Nada adicional: utiliza |
Linux nativo / X11 |
|
Linux nativo / Wayland |
|
Windows nativo | Nada adicional: utiliza PowerShell + |
WSL2 | Nada adicional: ejecuta comandos en |
Configuración en Claude Code
claude mcp add screenshot node /absolute/path/to/screenshot-mcp/dist/index.jsConfiguración en Claude Desktop
Añadir a claude_desktop_config.json:
{
"mcpServers": {
"screenshot": {
"command": "node",
"args": ["/absolute/path/to/screenshot-mcp/dist/index.js"]
}
}
}Cómo funciona WSL2
WSL2 no tiene acceso directo a la pantalla de Windows. Este servidor detecta WSL (a través de /proc/version o WSL_DISTRO_NAME) y ejecuta comandos en powershell.exe para ejecutar un script de captura usando System.Windows.Forms.Screen y System.Drawing. El PNG se escribe en el sistema de archivos /tmp de Linux a través de la ruta UNC \\wsl.localhost\... y luego se vuelve a leer.
This server cannot be deployed
Maintenance
Related MCP Connectors
Capture website screenshots, run bulk captures, and manage screenshot schedules and history.
1Screenshot any URL/HTML as PNG/JPEG/WebP, or read it as clean Markdown/text for LLMs.
Pixel-perfect webpage screenshots rendered in a real browser, full-page or viewport, via one POST.
Clean PNG/JPEG screenshots via REST or MCP, with goal-driven multi-step navigation.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceCaptures screenshots and saves them to file paths specified by client applications, primarily designed to facilitate screenshot analysis by AI assistants running in WSL environments.1-
- AlicenseNot gradedqualityDmaintenanceEnables capturing screenshots of all connected monitors with automatic JPEG compression and multi-platform support including WSL environments. Supports quality adjustment and image resizing through simple natural language commands.1 npmISC
- AlicenseNot gradedqualityCmaintenanceEnterprise-grade screenshot capture server for AI agents with multi-format support, PII masking, multi-monitor support, and security controls for capturing full screens, specific windows, or custom regions across Linux, macOS, and Windows.114 npm2MIT
- AlicenseBqualityFmaintenanceEnables AI assistants running in WSL to capture Windows screenshots of full desktops, specific monitors, or individual windows by title or process name. It features DPI awareness, automatic path conversion between WSL and Windows, and customizable storage options.13MIT