Skip to main content
Glama

take_screenshot

Capture screenshots from Windows applications while working in WSL. Target specific monitors, windows by title or process, and receive optimized images directly or save to custom paths.

Instructions

WSLSnapIt: Smart screenshot capture for WSL. Capture monitors, windows by title/process, with direct image return and auto-compression.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameNoFilename for the screenshot (default: screenshot.png). Ignored when returnDirect is true.screenshot.png
monitorNoWhich monitor to capture: "all" (default), "primary", or monitor number (1, 2, etc.)all
windowTitleNoCapture a specific window by its title (partial match supported). If multiple windows match, you'll get a list to choose from.
windowIndexNoWhen multiple windows match the title, specify which one to capture (1 for first, 2 for second, etc.). Default: 1
processNameNoCapture a specific window by process name (e.g., "notepad.exe" or just "notepad")
folderNoCustom folder path to save the screenshot (supports both WSL and Windows paths). Ignored when returnDirect is true.
returnDirectNoIf true, returns the image directly to Claude without saving to disk. Large images will be automatically resized and compressed to fit within 1MB limit.
qualityNoJPEG quality (1-100). Only applies when returnDirect is true. Default: 80. Will be automatically reduced if needed.
Install Server

Other Tools

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/peterparker57/WSLSnapit-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server