WebsiteScreenshot.online MCP Server
OfficialWebsiteScreenshot.online MCP サーバー
Model Context Protocol サーバーです。WebsiteScreenshot.online の REST API をラップし、MCP 互換のホスト(Claude Desktop、Claude Code、Cursor、Cline、Continue、Zed、Raycast など)から直接呼び出せる 3 つの MCP ツールとして公開します。
⚡ ほとんどのユーザーはこのパッケージを必要としません
AI アシスタントにスクリーンショットの撮影や動画の録画をさせたいだけなら、ホスト型エンドポイントを使用してください — インストール不要、JSON 1 行で完了します:
Claude Code、Claude Desktop、Cursor、Cline、Codex CLI、Gemini CLI、Continue、Windsurf、Zed 向けのホスト別設定スニペットを参照してください。
この npm パッケージが必要なのは、以下のいずれかに該当する場合のみです:
🛰️ エアギャップ環境または制限付きネットワーク — AI ホストが
websitescreenshot.onlineに直接アクセスできない場合。🏠 WebsiteScreenshot のセルフホスト — 独自インスタンスを運用しており、
SCREENSHOT_API_BASEでそれを指定する必要がある場合。🔧 サーバーを監査・変更したい場合 — これはホスト型エンドポイントが実行しているものと同じコードで、Next.js ラッパーがないだけです。
それ以外の場合はすべて、ホスト型エンドポイントの方が優れています(Node 依存なし、自動更新、メンテナンス不要)。
Related MCP server: MCP Browser Screenshot Server
1. 前提条件
Node.js ≥ 18.18(LTS 推奨)
無料または有料の WebsiteScreenshot.online アカウント
WebsiteScreenshot.online の API キー(§ 2 を参照)
2. API キーの取得
https://websitescreenshot.online にサインアップします(GitHub OAuth またはメール)。
必要に応じてロケールを切り替えます(例:
/en/dashboard/api-keys、/zh-CN/dashboard/api-keys)。ダッシュボード → API キー → 新しいキーを作成 を開きます。
キーをコピーします。
ws_で始まり、その後に 64 桁の 16 進文字が続きます(例:ws_<your-key-here>)。このキーは一度だけ表示されるため、安全な場所に保管してください。
MCP サーバーは環境変数からのみキーを読み取ります。ログに記録されることも、モデルに送信されることも、このパッケージによってディスクに書き込まれることもありません。
3. インストールとビルド
git clone https://github.com/Website-Screenshot-Online/websitescreenshot-mcp.git
cd websitescreenshot-mcp
npm install
npm run buildこれで完了です — build/index.js は自己完結型の実行可能ファイルで、任意の MCP ホストに組み込めます。
4. MCP ホストの設定
Claude Desktop — claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json(macOS)または %APPDATA%/Claude/claude_desktop_config.json(Windows):
{
"mcpServers": {
"websitescreenshot": {
"command": "node",
"args": ["/absolute/path/to/websitescreenshot-mcp/build/index.js"],
"env": {
"SCREENSHOT_API_KEY": "ws_replace_with_your_real_api_key",
"SCREENSHOT_REQUEST_TIMEOUT_MS": "60000"
}
}
}
}Claude Code — ~/.claude.json
{
"mcpServers": {
"websitescreenshot": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/websitescreenshot-mcp/build/index.js"],
"env": {
"SCREENSHOT_API_KEY": "ws_replace_with_your_real_api_key"
}
}
}
}Cursor / VS Code(.cursor/mcp.json)
{
"mcpServers": {
"websitescreenshot": {
"command": "node",
"args": ["/absolute/path/to/websitescreenshot-mcp/build/index.js"],
"env": { "SCREENSHOT_API_KEY": "ws_replace_with_your_real_api_key" }
}
}
}Cline / Continue / Zed / Raycast
いずれも同じ command + args + env 形式を受け付けます — build/index.js を指定し、env 経由で SCREENSHOT_API_KEY を渡すだけです。
設定編集後、ホストを再起動すると、3 つのツールがツールパレットに表示されます。
5. セルフホスト型 WebsiteScreenshot
独自の WebsiteScreenshot インスタンスを運用している場合は、サーバーをそのインスタンスに向けます:
"env": {
"SCREENSHOT_API_KEY": "ws_replace_with_your_real_api_key",
"SCREENSHOT_API_BASE": "https://your-self-hosted.example.com"
}6. 使用例
JSON を手動で書く必要はありません — モデルが行います。以下はモデルが実際に送信するペイロードです。
スクリーンショット — ランディングページのビューポート
take_screenshot({
url: "https://example.com",
resolution: { width: 1440, height: 900 },
format: "png",
fullSize: false,
blockAds: true,
blockCookiesGdpr: true,
delay: 1
})スクリーンショット — アーカイブ用の全ページ PDF
take_screenshot({
url: "https://news.ycombinator.com",
fullSize: true,
format: "pdf"
})同期動画(6 分以内)
record_website_video({
url: "https://stripe.com",
format: "mp4",
scrollMode: "smooth",
smoothScrollSpeed: "normal",
resolution: { width: 1280, height: 720 }
})非同期動画 + ステータスポーリング
record_website_video({ url: "https://stripe.com", async: true })
// → { "success": true, "requestId": "f7c1..." }
check_video_status({ requestId: "f7c1..." })
// → { "status": "pending", ... } // poll again
// → { "status": "completed", "videoUrl": "https://...", ... }7. ツールリファレンス
take_screenshot
フィールド | 型 | デフォルト | 備考 |
| string (URL) | — | 必須 |
|
| 1920×1080 | 任意のプリセットまたはカスタムサイズ |
| bool |
| スクロール可能なページ全体をキャプチャ |
|
|
| |
| bool |
| 先に Cookie バナーを閉じる |
| bool |
| 広告ネットワークをブロック |
| int(0〜10 秒) |
| キャプチャ前に待機する時間 |
レスポンス形式:
{
"success": true,
"imageUrl": "https://websitescreenshot.online/screenshots/abc.png",
"filename": "abc.png"
}record_website_video
上記と同じフィールドに加えて:
フィールド | 型 | デフォルト |
|
|
|
|
|
|
|
|
|
| int 100〜1000(px) |
|
| int 200〜5000(ms) |
|
| bool |
|
同期レスポンス:
{ "success": true, "videoUrl": "https://…/abc.webm", "filename": "abc.webm" }非同期レスポンス:
{ "success": true, "requestId": "f7c1…" }check_video_status
フィールド | 型 |
| string |
レスポンス:
{
"status": "completed",
"siteUrl": "https://…",
"result": { "success": true, "videoUrl": "https://…", "filename": "abc.webm" },
"updatedAt": 1730000000000
}status は pending | completed | error のいずれかです。結果は 24 時間保持された後、削除されます。
8. エラーハンドリング
すべての API エラーは、code、status、error フィールドを含む MCP の isError: true 結果にマッピングされます。一般的なコード:
コード | 意味 |
| キーが無い、または失効している |
| キー単位または IP 単位の制限に達した。後で再試行 |
| プランの割り当て量を使い切った |
| 入力が Zod バリデーションに失敗した |
| サーバー側のバグ。バックオフ付きで再試行 |
| リクエストが |
|
|
レート制限:API キーあたりスクリーンショット 10 件 / 分、動画 5 件 / 分。
9. 環境変数
変数 | 必須 | デフォルト | 目的 |
| はい | — | API に送信される Bearer トークン |
| いいえ |
| セルフホスト / ステージング用の上書き |
| いいえ |
| リクエストごとの中断タイムアウト(ms) |
10. 開発
npm run dev # tsx, hot reload stdio
npm run lint # type-check only
npm run build # emit build/index.js開発サーバーをセルフホスト型 API に向けるには:
SCREENSHOT_API_BASE=http://localhost:3000 \
SCREENSHOT_API_KEY=ws_dev_replace_me \
npm run dev11. ライセンス
MIT © Crownbyte LTD — LICENSE を参照してください。
ウェブサイト:https://websitescreenshot.online ホスト型 MCP:https://websitescreenshot.online/api/mcp ドキュメント:https://websitescreenshot.online/en/docs/mcp サポート:support@websitescreenshot.online
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceCaptures screenshots of web pages using Puppeteer, allowing AI agents to visually verify web applications and see their progress when generating web apps.557MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to capture screenshots of web pages using automated browser sessions. Supports full-page and element-specific screenshots, device simulation, and JavaScript execution for comprehensive web testing and monitoring.610MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to capture website screenshots, automate browser interactions, and manage recurring screenshot configurations across 150+ global locations. It also supports AI-powered domain research and visual change monitoring for any web page.15MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to capture screenshots of any public URL, returning images inline with page metadata. Supports full-page captures, custom wait times, and timeouts.129MIT
Related MCP Connectors
Generate images, GIFs, and PDFs from HTML, URLs, or templates — from your AI agent.
Screenshot, diff, audit and sitemap-capture any web page — 5 MCP tools for AI agents.
Read a URL as clean markdown, screenshot a website, url to PDF. Web access for agents, no signup.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Website-Screenshot-Online/websitescreenshot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server