Universal Screenshot MCP
MCP server by sethbang Community
Universal Screenshot MCP gives AI assistants tools to capture web pages and system screenshots on macOS, Linux and Windows. It is an MCP server that works with clients such as Claude Desktop, Cursor and Claude Code.
Install Universal Screenshot MCP
Built from the published package, never by AI.
claude mcp add universal-screenshot-mcp -- npx -y universal-screenshot-mcpRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Universal Screenshot MCP in Claude Code
{
"mcpServers": {
"universal-screenshot-mcp": {
"args": [
"-y",
"universal-screenshot-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Universal Screenshot MCP in Claude Desktop
{
"mcpServers": {
"universal-screenshot-mcp": {
"args": [
"-y",
"universal-screenshot-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"universal-screenshot-mcp": {
"args": [
"-y",
"universal-screenshot-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add universal-screenshot-mcp -- npx -y universal-screenshot-mcp{
"mcpServers": {
"universal-screenshot-mcp": {
"args": [
"-y",
"universal-screenshot-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Universal Screenshot MCP in Antigravity CLI
gemini mcp add universal-screenshot-mcp npx -y universal-screenshot-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install Universal Screenshot MCP in Gemini CLI
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the universal-screenshot-mcp block.
About
Universal Screenshot MCP is an MCP server that gives AI assistants screenshot capabilities. The take_screenshot tool captures a public web page with a headless Chromium browser run through Puppeteer, and can target a CSS selector or full page. The take_system_screenshot tool captures the fullscreen, a window, or a region using native OS tools on macOS, Linux and Windows.
Written from the project's README and checked against it.
Tools it gives your assistant
take_screenshotCaptures a web page or a specific element using a headless Puppeteer browser.take_system_screenshotCaptures the desktop, an application window, or a screen region using native OS tools.
What you need
- Node.js 18.0.0 or later
- Chromium, downloaded automatically by Puppeteer on first run
- macOS, Linux or Windows for system screenshots
- On Linux: maim, scrot, gnome-screenshot, spectacle, grim or ImageMagick import
- On Linux, xdotool for window capture by name
| Setting | Needed | What it is |
|---|---|---|
ALLOW_Environment variable | Optional | Set to 'true' to allow screenshots of localhost and loopback addresses (127.x.x.x, ::1). Off by default. |
SCREENSHOT_Environment variable | Optional | Default screenshot output directory, relative to the home directory. Defaults to Documents/screenshots. |
SCREENSHOT_Environment variable | Optional | Which captures return the image inline to the model: 'web' (default, also when empty), 'all' (also system screenshots, which sends desktop contents to the model provider), or 'none'. An unrecognised value acts as 'none' and logs one warning |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Take a screenshot of https://example.com at 1920x1080
- Take a system screenshot of the Safari window
- Take a fullscreen system screenshot after a 3 second delay
Good to know
- Localhost, 127.x.x.x and [::1] are blocked unless ALLOW_LOCAL is set to true.
- Custom output paths must resolve to an allowed directory.
- Window capture by name on Linux requires X11 and xdotool.
- Window capture by name on Windows is best-effort.
Security check
C- Asks for administrator rights (sudo)In
README.md:sudo
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Universal Screenshot MCP
All alternatives →Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.
Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.
Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.
SeleniumBase is a Python browser automation framework for stealth browsing, end-to-end testing and web scraping. It uses CDP Mode to work with Chromium-based browsers, and it is aimed at software teams.
Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.
Cline is an open source coding agent that edits files, runs commands, and uses the browser. It works in a terminal CLI, a macOS and Windows desktop app, VS Code, JetBrains IDEs, and an SDK for developers building their own agents.
Compare with browser-use, Pomerado or Selenide
Universal Screenshot MCP: common questions
Can the server screenshot localhost or local dev servers?
By default ALLOW_LOCAL is false, which blocks localhost, 127.x.x.x and [::1]. Setting ALLOW_LOCAL to true allows them, which the source notes is useful for local dev servers.
Where are screenshots saved?
Screenshots go to ~/Documents/screenshots by default. The SCREENSHOT_OUTPUT_DIR variable changes the default, and custom output paths must resolve to one of the allowed directories.
Does window capture work the same on every platform?
No. Capture by name works on macOS, needs X11 and xdotool on Linux, and is best-effort on Windows. The source includes a cross-platform feature support table.
How do I install Universal Screenshot MCP?
In Claude Code run claude mcp add universal-screenshot-mcp -- npx -y universal-screenshot-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Universal Screenshot MCP the official server?
Universal Screenshot MCP is a community project by sethbang, not verified by a company domain.
Is Universal Screenshot MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Universal Screenshot MCP safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to Universal Screenshot MCP?
Similar MCP servers: browser-use, Pomerado, Selenide, SeleniumBase MCP.
Does Universal Screenshot MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
