MCP スクリーンショットサーバー
Puppeteerを使用したスクリーンショット機能を提供するMCPサーバー実装。このサーバーでは、シンプルなMCPツールインターフェースを介して、WebページやローカルHTMLファイルのスクリーンショットをキャプチャできます。
特徴
任意のWebページまたはローカルHTMLファイルのスクリーンショットをキャプチャします
設定可能なビューポート寸法
全ページスクリーンショットのサポート
カスタム出力パスオプション
スクリーンショットディレクトリの自動管理
Related MCP server: Webpage Screenshot MCP Server
インストール
npm install
使用法
サーバーは、次のオプションを持つtake_screenshotツールを提供します。
{
url: string; // URL to capture (can be http://, https://, or file:///)
width?: number; // Viewport width in pixels (1-3840)
height?: number; // Viewport height in pixels (1-2160)
fullPage?: boolean; // Capture full scrollable page
outputPath?: string; // Custom output path (optional)
}
発達
# Build the project
npm run build
# Run the MCP inspector for testing
npm run inspector
ライセンス
マサチューセッツ工科大学