take_screenshotLABSCO SUMMARY
The compression is the part that makes it work at all.
A screenshot from a modern monitor is far too large to hand to a model directly. This one steps the image down progressively — 1920px, then 1280px, then 800px — until it fits under 1MB, adjusting quality along the way, which is why a full-desktop capture returns rather than failing. If a capture still will not come back, lowering the quality parameter is the documented first move. Everything is processed locally with no network transmission.
What it is
A capture bridge for developers working in WSL against a Windows desktop. It drives PowerShell to grab monitors, windows or the clipboard, then processes the image so it can actually be returned to a model.
What you get
take_screenshotcaptures all monitors, the primary monitor, or a specific monitor by number- The same tool targets a window by title with partial matching, or by process name, with
windowIndexpicking between several matches returnDirectchooses between handing the image straight to the assistant and saving it, withfilename,folderand aqualitysetting that defaults to 80read_clipboardauto-detects whether the clipboard holds text or an image, withformatto force one- Multi-monitor setups with different scaling factors are handled correctly
- Paths work in both WSL and Windows form
Requirements
Windows 10 or 11 with WSL2, Node.js 18.0.0 or higher, and PowerShell, which ships with Windows. Clone and install; the client launches it through wsl --cd pointed at the install directory. Published as wslsnapit-mcp, version 2.2.0.
Setup effort
Build from source — git clone https://github.com/peterparker57/WSLSnapit-MCP.git
USE CASES
Showing the assistant what your app looks like
Capture the window by title and hand the image straight over, without saving a file first.
Capturing one screen out of several
Name the monitor by number instead of grabbing the whole desktop and cropping.
Getting a copied error into the conversation
Read the clipboard and let it work out whether it is text or an image.
Keeping a record of a UI state
Save the capture to a folder with the name you want rather than returning it inline.
2 tools
Listed in project docs. Your client may show a different list.
read_clipboardBEFORE YOU INSTALL
What to know first
Tools you get
2 tools named in the project's documentation.
Requires
- wsl on PATH
- Node.js 18.0.0 or later
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
This one is built from source rather than installed with a single command.
Server setup
git clone https://github.com/peterparker57/WSLSnapit-MCP.git
cd WSLSnapit-MCP
npm installMCP Clients
Claude Desktop
{
"mcpServers": {
"wslsnapit": {
"command": "wsl",
"args": [
"--cd",
"/mnt/h/dev/mcp/wslsnapit-mcp",
"node",
"index.js"
]
}
}
}Clone and install inside WSL. /mnt/h/dev/mcp/wslsnapit-mcp is the author's folder; yours is the WSL path of the folder git clone created. The path in the block is the author's own.