mcp-screenshot
Click on "Deploy 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., "@mcp-screenshot take a screenshot of my screen, the layout looks off"
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.
mcp-screenshot
A Model Context Protocol (MCP) server that provides screen capture capabilities on macOS. Enables AI assistants like Claude to take screenshots of your display for visual debugging, UI verification, and more.
Features
Full screen capture (single or multi-monitor)
Region capture by pixel coordinates
Returns images as base64-encoded PNG
Zero external dependencies beyond macOS built-in
screencaptureLightweight stdio transport
Related MCP server: Screen View MCP
Prerequisites
macOS (uses the native
screencaptureCLI)Node.js >= 18
Screen Recording permission granted to your terminal or IDE
Quick Start
1. Clone and install
git clone https://github.com/zhandos717/mcp-screenshot.git
cd mcp-screenshot
npm install2. Add to your MCP client
Add the following to your MCP configuration file (e.g. ~/.mcp.json for Claude Code):
{
"mcpServers": {
"screenshot": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/mcp-screenshot/src/index.ts"]
}
}
}3. Grant screen recording permission
Go to System Settings > Privacy & Security > Screen Recording and enable access for your terminal app (Terminal, iTerm2, Warp, etc.) or IDE.
4. Restart your MCP client
Restart Claude Code (or your MCP host) to pick up the new server.
Available Tools
Tool | Description | Parameters |
| Capture the entire screen as PNG |
|
| Capture a rectangular region as PNG |
|
Example usage with Claude Code
You: "Look at my screen, something looks off with the layout"
Claude: [calls screenshot_fullscreen] I can see the issue — the sidebar is overlapping...
You: "Capture the top-left 500x500 area"
Claude: [calls screenshot_region with x=0, y=0, width=500, height=500]Configuration
Multi-monitor setup
Pass the display parameter to screenshot_fullscreen:
1— main display (default)2,3, ... — additional displays
Alternative: run with compiled JS
npm run buildThen update your MCP config:
{
"mcpServers": {
"screenshot": {
"command": "node",
"args": ["/absolute/path/to/mcp-screenshot/dist/index.js"]
}
}
}How It Works
MCP Client (Claude Code)
│
│ stdio (JSON-RPC)
▼
mcp-screenshot server
│
│ execFile("screencapture", [...args, tmpFile])
▼
macOS screencapture CLI
│
│ PNG file → read → base64 → cleanup
▼
Image returned to clientThe server uses macOS native screencapture with the -x flag (silent, no shutter sound) and writes to a temp file that is immediately read and deleted.
Limitations
macOS only — relies on the native
screencapturecommandScreen Recording permission must be granted before first use
Large screenshots (e.g. Retina 5K displays) produce ~5-10MB base64 payloads
Contributing
See CONTRIBUTING.md for development setup and guidelines.
License
Available Tools
2 toolsscreenshot_fullscreenA
Capture the entire screen as a PNG image. Returns the screenshot encoded in base64. Requires macOS Screen Recording permission.
Inputs: display.
screenshot_regionA
Capture a specific rectangular region of the screen as a PNG image. Coordinates are in pixels from the top-left corner of the display.
Inputs: x (required), y (required), width (required), height (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools target clearly distinct scopes: the whole screen versus a rectangular sub-region. There is no overlap in purpose, and the descriptions make the boundary explicit (full display vs. pixel-coordinate region).
Both names follow the same predictable pattern: the shared prefix 'screenshot_' plus a scope qualifier ('fullscreen', 'region'). The convention is uniform snake_case and immediately readable.
Two tools is a narrow surface, but it accurately matches the tightly scoped purpose of a screenshot server. It is on the thin side of the typical 3-15 range, but no tool is redundant or wasted.
The core capture workflows (full screen and region) are covered, so there are no dead ends for the primary use case. Minor gaps exist, such as capturing a single window, choosing a specific display, or writing directly to a file path instead of base64 only.
Maintenance
Related MCP Connectors
Give your agent eyes: screenshots of any web page it can see, pages as markdown, and PDFs.
Let your AI agent see any public web page: one screenshot tool, returns the page as an image.
Generate images, GIFs, videos, and PDFs from HTML, URLs, or templates — from your AI agent.
Screenshot, PDF and Open Graph image API for AI agents: capture pages, render PDFs, make OG images.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to capture and analyze screen content across multi-monitor setups with smart image optimization. Provides screenshot capabilities and detailed monitor information for visual debugging, UI analysis, and desktop assistance.-
- AlicenseDqualityDmaintenanceEnables AI assistants to capture and analyze screenshots using Claude Vision API, providing AI-powered insights about desktop interface content, UI elements, and visual layouts.246 npm2MIT
- AlicenseAqualityDmaintenanceEnables AI agents to capture and analyze screenshots of macOS applications, windows, or the entire screen using local (Ollama) or cloud-based AI vision models, with non-intrusive, fast screen capture via Apple's ScreenCaptureKit.35 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to capture screen regions by defining a visual overlay or arbitrary coordinates, returning base64 PNG images.MIT