Skip to main content
Glama

Site-Shot MCP サーバー

Claude、Cursor、および他のAIエージェントに任意のWebページを見る能力を提供します — Site-Shot を Model Context Protocol 経由でウェブサイトのスクリーンショットを撮ります。

実際のChromiumレンダリング・全ページキャプチャ・国別プロキシ・自動広告・Cookieバナー除去(よりクリーンな画像、より少ないビジョントークン)。

クイックスタート (Claude Desktop)

  1. Site-Shot APIキーを https://www.site-shot.com/start/ で取得します。

  2. これをClaude Desktopの設定(claude_desktop_config.json)に追加します:

{
  "mcpServers": {
    "site-shot": {
      "command": "npx",
      "args": ["-y", "site-shot-mcp"],
      "env": { "SITESHOT_API_KEY": "YOUR_API_KEY" }
    }
  }
}
  1. Claude Desktopを再起動します。"https://news.ycombinator.com の全ページスクリーンショットを撮って" と依頼すると、サーバーを呼び出して画像を表示します。

他のMCPクライアント(Cursor、Cline、VS Code、LangChain、CrewAI)でも同様に動作します — 環境変数に SITESHOT_API_KEY を設定し、クライアントを npx -y site-shot-mcp に向けます。

Related MCP server: MCP Browser Screenshot Server

ツール

capture_screenshot

Webページのスクリーンショットを撮ります(デフォルトはビューポート)。

パラメータ

型

デフォルト

備考

url

string (必須)

—

キャプチャするページ

full_page

boolean

false

スクロール可能なページ全体をキャプチャ

width / height

number

APIデフォルト

ビューポート/デバイスサイズ

format

"png" | "jpeg"

png

画像形式

block_ads

boolean

true

広告を削除

block_cookie_banners

boolean

true

Cookie同意ポップアップを削除

country

string

—

2文字の ISO 3166-1 alpha-2 コードによるプロキシ国、例: "DE"(IP/言語/タイムゾーン/地理位置を自動設定)

strict_country

boolean

true

国にプロキシがない場合、米国にフォールバックせずエラーにする

language / time_zone / geolocation

string

—

手動オーバーライド

wait_ms

number

APIデフォルト

キャプチャ前の追加待機時間(SPA/アニメーション)

max_height

number

20000(全ページ)

キャプチャする高さの上限

スクリーンショットをMCP画像として返します。

「APIデフォルト」はこのパッケージが指定できる数値ではありません。 width、height、wait_ms は渡した場合のみ転送されるため、渡さなかった場合に適用される値はSite-Shot APIが決定し、ここでのリリースなしに変更される可能性があります。1.1.0までのバージョンでは、APIが使用しない width / height のピクセルサイズを出力していました — それらを省略して「デフォルト」を取得したエージェントは、返された画像にそれを示すものがないまま、異なるビューポートを取得していました。サイズが重要になる場合は、常に明示的な値を渡してください。

国コードはISOコードであり、国名ではありません。 "DE" を渡し、"Germany" は渡さないでください。APIはコードを完全一致で照合するため、国名を渡すと米国プロキシ経由でレンダリングされ、そのことを通知しません。そのため、サーバーはレンダリングを消費する前に完全な国名を拒否します。strict_country(デフォルトでオン)も同様に、利用できない国を黙って米国スクリーンショットにする代わりにエラーにします — フォールバックを希望する場合は false を渡してください。対応国 →

capture_full_page

capture_screenshot と同じですが、全ページキャプチャが有効です。

エージェント自身のブラウザではなく、このサーバーを呼ぶ理由

エージェントがブラウザを操作する場合、ページ自体をスクリーンショットできます — ログインが必要なページやフローをステップ実行する必要があるページには、それが適切なツールです。公開URLの場合、キャプチャをこのサーバーに委任する方が通常は優れたエンジニアリングです。各キャプチャは同じパイプラインで実行され(実行間の再計画なし)、一致するロケールとタイムゾーンを持つ特定の国から取得でき(country + strict_country)、返される前に画像分類器とその背後にあるエスカレーション式リトライラダーによってスコアリングされ、ブラウザセッションと毎回のビジョントークンではなく、1セント未満のコストで済みます。両方向を正直に論じた完全な比較: AIエージェント vs スクリーンショットAPI — 誰がページをキャプチャすべきか。

設定

環境変数

必須

説明

SITESHOT_API_KEY

はい

あなたのSite-Shot APIキー(userkey として使用)。

このサーバーは既存のSite-Shot HTTP API(https://api.site-shot.com/)の薄いラッパーです — 別のバックエンドはありません。

ローカル開発

npm install
npm run check   # syntax check
npm run smoke   # offline tests (stubbed fetch, no API key needed)
SITESHOT_API_KEY=yourkey npm start   # run the server on stdio

要件

Node.js ≥ 18(組み込みの fetch を使用)。

ライセンス

MIT

Available Tools

2 tools
capture_full_pageCapture full-page website screenshotAInspect

Take a full-page (entire scrollable height) screenshot of a web page with Site-Shot and return it as an image. Convenience wrapper around capture_screenshot with full-page capture enabled.

Inputs: url (required), width, height, format, +8 more.

capture_screenshotCapture website screenshotBInspect

Take a screenshot of a web page with Site-Shot and return it as an image. Renders in a real Chromium browser. Supports viewport/device sizing, full-page capture, country proxies, and automatic ad & cookie-banner removal (cleaner image, fewer vision tokens).

Inputs: url (required), width, height, format, +9 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 2 tools

    Disambiguation2/5

    The two tools are nearly identical; capture_full_page is explicitly a wrapper for capture_screenshot with full-page enabled. An agent would likely misuse them, as the difference is only a parameter.

    Naming Consistency3/5

    Both use verb_noun pattern ('capture_screenshot', 'capture_full_page'), but 'full_page' is a qualifier while 'screenshot' is the resource; inconsistent because one tool name specifies a parameter in the name itself.

    Tool Count3/5

    Two tools is minimal but arguably sufficient for a simple screenshot service. However, the duplication suggests one tool could have been omitted, making the surface slightly too heavy for the scope.

    Completeness3/5

    The set covers basic screenshot needs with features like viewport sizing, proxies, and ad removal. However, it lacks tools for specific device emulation or batch processing, which are common in screenshot services.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers