screenshot-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@screenshot-mcptake a screenshot of my primary monitor"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
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.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/neerajhanda/screenshot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server