OpenScreenShot

v2.5.2
io.github.PGHQdev/openscreenshot Checked 4 days ago Published 1 month ago

Capture website screenshots (viewport or full page) with local Chrome, or on OpenScreenShot Cloud.

Values you need

VariableWhat it is
CHROME_PATHoptional Path to a Chrome, Chromium, or Edge executable. Leave unset to auto-detect.
OPENSCREENSHOT_API_KEYoptional secret API key for OpenScreenShot Cloud, used with cloud: true. Not needed for local captures.
OPENSCREENSHOT_CLOUD_URLoptional OpenScreenShot Cloud base URL for cloud: true. Defaults to https://cloud.openscreenshot.app.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add openscreenshot -- npx -y openscreenshot@2.5.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "openscreenshot": {
      "args": [
        "-y",
        "openscreenshot@2.5.2"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "openscreenshot": {
      "args": [
        "-y",
        "openscreenshot@2.5.2"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "openscreenshot": {
      "args": [
        "-y",
        "openscreenshot@2.5.2"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.openscreenshot]
command = "npx"
args = ["-y", "openscreenshot@2.5.2"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http openscreenshot https://cloud.openscreenshot.app/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "openscreenshot": {
      "args": [
        "-y",
        "mcp-remote",
        "https://cloud.openscreenshot.app/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "openscreenshot": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://cloud.openscreenshot.app/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "openscreenshot": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://cloud.openscreenshot.app/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.openscreenshot]
command = "npx"
args = ["-y", "mcp-remote", "https://cloud.openscreenshot.app/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: capture_screenshot.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json