Universal Screenshot MCP
Screenshot server for web pages and desktop captures on macOS, Linux and Windows
Universal Screenshot MCP is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- macOS, Windows, Linux
- Runs
- Locally
- Version
- 1.5.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add screenshot-server -- npx -y universal-screenshot-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"screenshot-server": {
"command": "npx",
"args": [
"-y",
"universal-screenshot-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"screenshot-server": {
"command": "npx",
"args": [
"-y",
"universal-screenshot-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"screenshot-server": {
"command": "npx",
"args": [
"-y",
"universal-screenshot-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"screenshot-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"universal-screenshot-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add screenshot-server -- npx -y universal-screenshot-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.screenshot-server]
command = "npx"
args = ["-y", "universal-screenshot-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"screenshot-server": {
"command": "npx",
"args": [
"-y",
"universal-screenshot-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "screenshot-server": { "command": "npx", "args": [ "-y", "universal-screenshot-mcp" ] } } }Or run: gemini mcp add -s user screenshot-server npx -- -y universal-screenshot-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "screenshot-server": { "command": "npx", "args": [ "-y", "universal-screenshot-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "screenshot-server": { "command": "npx", "args": [ "-y", "universal-screenshot-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "screenshot-server": { "command": "npx", "args": [ "-y", "universal-screenshot-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "screenshot-server": { "command": "npx", "args": [ "-y", "universal-screenshot-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "screenshot-server": { "command": "npx", "args": [ "-y", "universal-screenshot-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "screenshot-server": { "command": "npx", "args": [ "-y", "universal-screenshot-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "screenshot-server": { "command": "npx", "args": [ "-y", "universal-screenshot-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Universal Screenshot MCP
Two tools cover two jobs. take_screenshot drives a headless Chromium through Puppeteer to capture a public http or https page, with viewport size up to 3840 by 2160, full-page capture, a CSS selector for one element, and wait options before capturing. take_system_screenshot grabs the desktop, a named window or a region using native tools: screencapture on macOS, one of maim, scrot, grim or similar on Linux, and PowerShell with .NET on Windows.
Security is a large part of the README: it describes protection against SSRF and DNS rebinding with IP pinning, path traversal and command injection, plus limits against denial of service. Localhost targets are blocked unless ALLOW_LOCAL is set to true, and output files may only be written to a short list of allowed folders, by default ~/Documents/screenshots.
It needs Node.js 18 or newer, downloads Chromium on first run, and has a --doctor flag that checks the host and prints install commands for missing Linux tools. Window-by-name capture on Linux requires X11 and xdotool.
Tools this server provides (2)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- take_screenshot
- Captures a web page or element with a headless Puppeteer browser.
- take_system_screenshot
- Captures the desktop, a window or a region using native OS tools.
What it does
- Web page capture
- Headless Chromium screenshots with viewport, full-page and element selectors.
- System screenshots
- Fullscreen, window or region capture with native OS tools.
- Wait controls
- Waits for a selector or a delay of up to 30 seconds before capture.
- SSRF protections
- Validates URLs, pins resolved IPs and blocks local addresses by default.
- Restricted output paths
- Writes only to a short list of allowed directories.
- Doctor check
- A --doctor flag probes the host and suggests missing tools.
Good for
- Capture a landing page at a specific resolution
- Screenshot a single element on a page
- Grab a desktop window for a bug report
- Check a local dev server by enabling ALLOW_LOCAL
Pricing
Open source
Universal Screenshot MCP FAQ
Which platforms does Universal Screenshot MCP support?
macOS, Linux and Windows for system screenshots; web captures work wherever Node and Chromium run.
Can Universal Screenshot MCP screenshot localhost?
Only after setting ALLOW_LOCAL=true; local addresses are blocked by default.
Where are files saved?
By default in ~/Documents/screenshots, and custom paths must resolve to an allowed directory.
What are the requirements?
Node.js 18 or newer; Linux needs a capture tool such as maim or scrot.
Is Universal Screenshot MCP free?
Yes. Universal Screenshot MCP is open source, so you can use and self-host it for free.
How do I add Universal Screenshot MCP to Claude Code?
Run this command in your terminal: claude mcp add screenshot-server -- npx -y universal-screenshot-mcp
What are the best alternatives to Universal Screenshot MCP?
The closest alternatives to Universal Screenshot MCP are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


