
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
screenshot-mcp
Advanced tools
A cross-platform MCP (Model Context Protocol) server for capturing screenshots. Designed for agent-based native application testing.
Also available as a Claude Code plugin with screenshot testing guidance.
No installation required - use directly with npx or bunx.
Add to your MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"screenshot": {
"command": "bunx",
"args": ["screenshot-mcp"]
}
}
}
Or with npx:
{
"mcpServers": {
"screenshot": {
"command": "npx",
"args": ["-y", "screenshot-mcp"]
}
}
}
# Using bunx (recommended)
bunx screenshot-mcp
# Using npx
npx -y screenshot-mcp
list_windowsList all visible windows.
// Response
[
{ "id": "1234", "title": "VS Code", "app": "Code", "bounds": { "x": 0, "y": 25, "width": 1920, "height": 1055 } }
]
list_displaysList all available displays.
// Response
[
{ "id": 1, "name": "Built-in Retina Display", "primary": true, "bounds": { "x": 0, "y": 0, "width": 2560, "height": 1600 } }
]
screenshot_windowCapture a specific window.
// Parameters
{ "window_id": "1234" }
// or
{ "window_title": "VS Code" }
// optional: save to file
{ "window_id": "1234", "save_dir": "/path/to/screenshots" }
screenshot_screenCapture the entire screen.
// Parameters (all optional)
{ "display_id": 1, "save_dir": "/path/to/screenshots" }
screenshot_regionCapture a specific region.
// Parameters
{ "x": 100, "y": 100, "width": 800, "height": 600 }
// optional: save to file
{ "x": 100, "y": 100, "width": 800, "height": 600, "save_dir": "/path/to/screenshots" }
| Platform | Status | Requirements |
|---|---|---|
| macOS | ✅ Supported | Screen Recording permission |
| Windows | ✅ Supported | PowerShell (built-in) |
| Linux (X11) | ✅ Supported | xdotool or wmctrl for windows, gnome-screenshot/scrot/import for capture |
| Linux (Wayland) | ⚠️ Partial | GNOME Shell only, grim for screenshots |
Create .claude/screenshot.local.md in your project to set a default save directory:
---
default_save_dir: /Users/yourname/Desktop/screenshots
---
When this file exists, Claude will automatically use this directory for saving screenshots.
Note: Add .claude/*.local.md to your .gitignore.
xdotool (recommended) or wmctrlgnome-screenshot, scrot, or import (ImageMagick)xrandr# Ubuntu/Debian
sudo apt install xdotool scrot
# Fedora
sudo dnf install xdotool scrot
# Arch
sudo pacman -S xdotool scrot
gnome-screenshot or grimwlr-randr or falls back to xrandrInstall as a plugin to get the screenshot-testing skill:
# Install from npm
npm install -g screenshot-mcp
claude plugin add screenshot-mcp
# Or use local development
claude --plugin-dir /path/to/screenshot-mcp
The skill provides guidance on:
MIT
FAQs
Cross-platform MCP server for capturing window/screen screenshots
The npm package screenshot-mcp receives a total of 48 weekly downloads. As such, screenshot-mcp popularity was classified as not popular.
We found that screenshot-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.