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
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.
Features
List Windows: Get all visible windows with IDs, titles, and bounds
List Displays: Get all available monitors/displays
Screenshot Window: Capture a specific window by ID or title
Screenshot Screen: Capture an entire display
Screenshot Region: Capture a specific screen region
Related MCP server: Window Screenshooter MCP Server
Installation
No installation required - use directly with npx or bunx.
Usage
Configure in Claude Code
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"]
}
}
}Run Standalone
# Using bunx (recommended)
bunx screenshot-mcp
# Using npx
npx -y screenshot-mcpMCP Tools
list_windows
List all visible windows.
// Response
[
{ "id": "1234", "title": "VS Code", "app": "Code", "bounds": { "x": 0, "y": 25, "width": 1920, "height": 1055 } }
]list_displays
List all available displays.
// Response
[
{ "id": 1, "name": "Built-in Retina Display", "primary": true, "bounds": { "x": 0, "y": 0, "width": 2560, "height": 1600 } }
]screenshot_window
Capture 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_screen
Capture the entire screen.
// Parameters (all optional)
{ "display_id": 1, "save_dir": "/path/to/screenshots" }screenshot_region
Capture 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 Support
Platform | Status | Requirements |
macOS | ✅ Supported | Screen Recording permission |
Windows | ✅ Supported | PowerShell (built-in) |
Linux (X11) | ✅ Supported |
|
Linux (Wayland) | ⚠️ Partial | GNOME Shell only, |
Configuration (Plugin Settings)
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.
Requirements
Runtime: Bun v1.0+ or Node.js 18+
macOS
Screen Recording permission (System Settings > Privacy & Security > Screen Recording)
Windows
PowerShell (built-in, no extra installation needed)
Linux (X11)
Window listing:
xdotool(recommended) orwmctrlScreenshots:
gnome-screenshot,scrot, orimport(ImageMagick)Display info:
xrandr
# Ubuntu/Debian
sudo apt install xdotool scrot
# Fedora
sudo dnf install xdotool scrot
# Arch
sudo pacman -S xdotool scrotLinux (Wayland)
Window listing: Only GNOME Shell supported (via gdbus)
Screenshots:
gnome-screenshotorgrimDisplay info:
wlr-randror falls back to xrandr
As Claude Code Plugin
Install 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-mcpThe skill provides guidance on:
Effective screenshot testing workflows
Comparison testing strategies
Multi-display testing
Electron app testing examples
License
MIT
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
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Clean PNG/JPEG screenshots via REST or MCP, with goal-driven multi-step navigation.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Screenshots, PDFs, image editing, QR codes, email validation and more through one hosted MCP server.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Windows MCP server that enables AI agents to capture screenshots of open windows or the full desktop via stdio or HTTP.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to capture targeted screenshots of specific application windows on Windows and Linux, with smart window state restoration and focus management.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI coding agents to capture screenshots of macOS windows and displays on demand, providing tools for window discovery and screen capture.11 npm2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for capturing screenshots of desktop windows on Windows. Allows AI assistants to see what's on screen for UI development, debugging, and iterating on designs.MIT