screenshot-mcp
screenshot-mcp
MCP-сервер, который делает скриншоты всего монитора и возвращает их в виде встроенного изображения (base64) или сохраненного файла. Поддерживает macOS, нативный Linux (X11 и Wayland), нативную Windows и WSL2.
Инструменты
list_monitors
Выводит список всех подключенных мониторов с их индексом, разрешением и статусом основного монитора. Вызывайте этот инструмент первым, чтобы узнать индексы мониторов.
take_screenshot
Делает скриншот одного монитора.
Аргумент | Тип | По умолчанию | Описание | |
| integer |
| Индекс монитора из | |
|
|
|
|
|
| string | временный файл | Путь для сохранения. Используется только если |
Совет: Мониторы с очень высоким разрешением (4K, 5K) создают большие base64-блоки. Если вы достигли лимитов контекста, переключитесь на
return="path"и используйте инструментReadдля просмотра файла.
Related MCP server: GetScreen MCP Server
Установка
git clone https://github.com/you/screenshot-mcp
cd screenshot-mcp
npm install
npm run buildСистемные требования
Платформа | Требование |
macOS | Ничего дополнительного — использует |
Нативный Linux / X11 |
|
Нативный Linux / Wayland |
|
Нативная Windows | Ничего дополнительного — использует PowerShell + |
WSL2 | Ничего дополнительного — вызывает |
Настройка в Claude Code
claude mcp add screenshot node /absolute/path/to/screenshot-mcp/dist/index.jsНастройка в Claude Desktop
Добавьте в claude_desktop_config.json:
{
"mcpServers": {
"screenshot": {
"command": "node",
"args": ["/absolute/path/to/screenshot-mcp/dist/index.js"]
}
}
}Как работает WSL2
WSL2 не имеет прямого доступа к дисплею Windows. Этот сервер определяет WSL (через /proc/version или WSL_DISTRO_NAME) и вызывает powershell.exe для запуска скрипта захвата с использованием System.Windows.Forms.Screen и System.Drawing. PNG записывается в файловую систему Linux /tmp через UNC-путь \wsl.localhost..., а затем считывается обратно.
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