screenshot-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
screenshot-mcp
An MCP server that captures full-monitor screenshots and returns them inline (base64) or as a saved file. Supports macOS, native Linux (X11 and Wayland), native Windows, and WSL2.
Tools
list_monitors
Lists all connected monitors with their index, resolution, and primary status. Call this first to find monitor indices.
take_screenshot
Captures a screenshot of one monitor.
Argument | Type | Default | Description |
| integer |
| Monitor index from |
|
|
|
|
| string | temp file | Output path. Only used when |
Tip: Very high-res monitors (4K, 5K) produce large base64 blobs. If you hit context limits, switch to
return="path"and use theReadtool to view the file.
Related MCP server: MCP Screenshot Server
Installation
git clone https://github.com/you/screenshot-mcp
cd screenshot-mcp
npm install
npm run buildPlatform requirements
Platform | Requirement |
macOS | Nothing extra — uses |
Native Linux / X11 |
|
Native Linux / Wayland |
|
Native Windows | Nothing extra — uses PowerShell + |
WSL2 | Nothing extra — shells out to |
Configure in Claude Code
claude mcp add screenshot node /absolute/path/to/screenshot-mcp/dist/index.jsConfigure in Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"screenshot": {
"command": "node",
"args": ["/absolute/path/to/screenshot-mcp/dist/index.js"]
}
}
}How WSL2 works
WSL2 doesn't have direct access to the Windows display. This server detects WSL (via /proc/version or WSL_DISTRO_NAME) and shells out to powershell.exe to run a capture script using System.Windows.Forms.Screen and System.Drawing. The PNG is written to the Linux /tmp filesystem via the \\wsl.localhost\... UNC path and then read back.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Capture website screenshots (viewport or full page) with local Chrome, or on OpenScreenShot Cloud.
Full-page, first-screen, mobile or element screenshots of any URL as PNG, JPEG or PDF.
Capture website screenshots, run bulk captures, and manage screenshot schedules and history.
Screenshot any website as PNG, JPEG, WebP, PDF or scrolling MP4/GIF video, with public file links.
Related MCP Servers
- 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.2 npmISC
- AlicenseNot gradedqualityDmaintenanceEnterprise-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.101 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
- AlicenseAqualityDmaintenanceEnables screen capture, OCR text extraction, and automated clicking on macOS through MCP. Supports fullscreen, window, and region capture with optional text recognition and monitoring.9MIT