SM

sethbang/mcp-screenshot-server

Browser automation

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

38 stars 15 forks 品質 87 トレンド 20Apache-2.0

sethbang/mcp-screenshot-server は [https://github.com/sethbang/mcp-screenshot-server.] からインポートされた MCP サーバーの候補です

概要

sethbang/mcp-screenshot-server は [https://github.com/sethbang/mcp-screenshot-server.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

MCP (Model Context Protocol) サーバは、ネイティブ OS ツールを使用して、Puppeteer とクロスプラットフォームのシステムスクリーンショットを介した Web ページの両方をスクリーンショット機能で AI アシスタントに提供するものです。

##特徴

  • Webページスクリーンショット — ヘッドレスクロムブラウザを使用して任意の公開URLをキャプチャ -** ネイティブOSツール(macOS screencapture])、Linux [maim]/scrot]/[[gnome-screenshot]]]]/etc.、Windows PowerShell+.NETを使用して、フルスクリーン、ウィンドウ、または領域キャプチャ -Security-First Design — SSRF 予防、パストラバーサル保護、DNS 再結合防衛、コマンド注入防止、および DOS 制限 -MCP Native — Claude Desktop、Cursor、およびMCP互換クライアントと直接統合

要件

  • Node.js >= 18.0.0 -ChromiumはPuppeteerが最初の実行時に自動的にダウンロードされます

プラットフォーム固有の要件 [[T4]

| プラットフォーム | 必須ツール | ノート | お問い合わせ | macOS** | [screencapture (作り付け) | 追加のインストールは必要ありません |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Universal Screenshot MCP

An MCP (Model Context Protocol) server that provides AI assistants with screenshot capabilities — both web page capture via Puppeteer and cross-platform system screenshots using native OS tools.

Features

  • Web Page Screenshots — Capture any public URL using a headless Chromium browser
  • Cross-Platform System Screenshots — Fullscreen, window, or region capture using native OS tools (macOS screencapture, Linux maim/scrot/gnome-screenshot/etc., Windows PowerShell+.NET)
  • Security-First Design — SSRF prevention, path traversal protection, DNS rebinding defense, command injection prevention, and DoS limiting
  • MCP Native — Integrates directly with Claude Desktop, Cursor, and any MCP-compatible client

Requirements

  • Node.js >= 18.0.0
  • Chromium is downloaded automatically by Puppeteer on first run

Platform-Specific Requirements for take_system_screenshot

Platform Required Tools Notes
macOS screencapture (built-in) No additional installation needed
Linux One of: maim, scrot, gnome-screenshot, spectacle, grim, or import (ImageMagick) maim or scrot recommended for full feature support. For window-by-name capture, also install xdotool.
Windows powershell (built-in) Uses .NET System.Drawing — no additional installation needed

Linux Installation Examples

# Ubuntu/Debian (recommended)
sudo apt install maim xdotool

# Fedora
sudo dnf install maim xdotool

# Arch Linux
sudo pacman -S maim xdotool

# Wayland (Sway, etc.)
sudo apt install grim

After installing, you can verify your setup with:

npx universal-screenshot-mcp --doctor

This probes the host and prints copy-pasteable install commands for any missing tools, tailored to your detected distro.

Quick Start

Install from npm

npm install -g universal-screenshot-mcp

Or run directly with npx:

npx universal-screenshot-mcp

Install from Source

git clone https://github.com/sethbang/mcp-screenshot-server.git
cd mcp-screenshot-server
npm install
npm run build

Configure Your MCP Client

Add the server to your MCP client configuration. For Claude Desktop, edit ~/Library/Application Support/Claude/claude_desktop_config.json:

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

Or if installed from source:

{
  "mcpServers": {
GitHub で README 全文を見る

インストール

npx -y universal-screenshot-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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