# Universal Screenshot MCP

> Universal Screenshot MCP is an open-source MCP server for browser automation. Screenshot server for web pages and desktop captures on macOS, Linux and Windows. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, Windows, Linux, CLI, Self-hosted
- **Repository:** https://github.com/sethbang/mcp-screenshot-server
- **MCP Registry name:** io.github.sethbang/screenshot-server
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add screenshot-server -- npx -y universal-screenshot-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "screenshot-server": {
      "command": "npx",
      "args": [
        "-y",
        "universal-screenshot-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "screenshot-server": {
      "command": "npx",
      "args": [
        "-y",
        "universal-screenshot-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "screenshot-server": {
      "command": "npx",
      "args": [
        "-y",
        "universal-screenshot-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add screenshot-server -- npx -y universal-screenshot-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.screenshot-server]
command = "npx"
args = ["-y", "universal-screenshot-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "screenshot-server": {
      "command": "npx",
      "args": [
        "-y",
        "universal-screenshot-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "screenshot-server": {
      "command": "npx",
      "args": [
        "-y",
        "universal-screenshot-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "screenshot-server": {
      "command": "npx",
      "args": [
        "-y",
        "universal-screenshot-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "screenshot-server": {
      "command": "npx",
      "args": [
        "-y",
        "universal-screenshot-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "screenshot-server": {
      "command": "npx",
      "args": [
        "-y",
        "universal-screenshot-mcp"
      ]
    }
  }
}
```

## Tools

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.

## 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser Use is a freemium MCP server for browser automation.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/universal-screenshot-mcp
