Skip to main content
Glama
Website-Screenshot-Online

WebsiteScreenshot.online MCP Server

Official

WebsiteScreenshot.online MCP-Server

License: MIT Node >= 18.18 MCP

Ein Model Context Protocol-Server, der die WebsiteScreenshot.online-REST-API kapselt und als drei MCP-Tools bereitstellt, die jeder MCP-kompatible Host (Claude Desktop, Claude Code, Cursor, Cline, Continue, Zed, Raycast, …) direkt aufrufen kann.


⚡ Die meisten Benutzer benötigen dieses Paket nicht

Wenn Sie nur möchten, dass Ihr KI-Assistent Screenshots aufnimmt und Videos aufzeichnet, verwenden Sie stattdessen den gehosteten Endpunkt — keine Installation, eine Zeile JSON:

https://websitescreenshot.online/api/mcp

Siehe die konfigurationsbeispiele pro Host für Claude Code, Claude Desktop, Cursor, Cline, Codex CLI, Gemini CLI, Continue, Windsurf und Zed.

Sie benötigen dieses npm-Paket nur, wenn einer der folgenden Punkte zutrifft:

  • 🛰️ Abgeschottetes oder eingeschränktes Netzwerk — Ihr KI-Host kann websitescreenshot.online nicht direkt erreichen.

  • 🏠 Selbst gehostetes WebsiteScreenshot — Sie betreiben eine eigene Instanz und benötigen SCREENSHOT_API_BASE, die darauf verweist.

  • 🔧 Sie möchten den Server prüfen / ändern — dies ist derselbe Code, den auch der gehostete Endpunkt ausführt, nur ohne den Next.js-Wrapper.

In jedem anderen Fall ist der gehostete Endpunkt strikt besser (keine Node-Abhängigkeit, automatische Updates, kein Wartungsaufwand).


Related MCP server: MCP Browser Screenshot Server

1. Voraussetzungen

  • Node.js ≥ 18.18 (LTS empfohlen)

  • Ein kostenloses oder kostenpflichtiges WebsiteScreenshot.online-Konto

  • Ein WebsiteScreenshot.online-API-Schlüssel (siehe § 2)


2. API-Schlüssel erhalten

  1. Registrieren Sie sich unter https://websitescreenshot.online (GitHub-OAuth oder E-Mail).

  2. Wechseln Sie bei Bedarf zu Ihrer Sprache (z. B. /en/dashboard/api-keys, /zh-CN/dashboard/api-keys).

  3. Öffnen Sie Dashboard → API-Schlüssel → Neuen Schlüssel erstellen.

  4. Kopieren Sie den Schlüssel. Er beginnt mit ws_ gefolgt von 64 Hex-Zeichen (z. B. ws_<ihr-schlüssel-hier>) und wird nur einmal angezeigt — bewahren Sie ihn an einem sicheren Ort auf.

Der MCP-Server liest den Schlüssel ausschließlich aus der Umgebung. Er wird niemals protokolliert, niemals an das Modell gesendet und von diesem Paket niemals auf die Festplatte geschrieben.


3. Installation & Build

git clone https://github.com/Website-Screenshot-Online/websitescreenshot-mcp.git
cd websitescreenshot-mcp
npm install
npm run build

Das war's — build/index.js ist eine eigenständige ausführbare Datei, die Sie in jeden MCP-Host einbinden können.


4. MCP-Host konfigurieren

Claude Desktop — claude_desktop_config.json

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) oder %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

Alle akzeptieren dieselbe command + args + env-Struktur — weisen Sie sie einfach auf build/index.js und übergeben Sie SCREENSHOT_API_KEY über env.

Starten Sie den Host nach der Bearbeitung seiner Konfiguration neu, und die drei Tools erscheinen in seiner Tool-Palette.


5. Selbst gehostetes WebsiteScreenshot

Wenn Sie Ihre eigene WebsiteScreenshot-Instanz betreiben, weisen Sie den Server darauf hin:

"env": {
  "SCREENSHOT_API_KEY": "ws_replace_with_your_real_api_key",
  "SCREENSHOT_API_BASE": "https://your-self-hosted.example.com"
}

6. Verwendungsbeispiele

Sie schreiben das JSON nicht manuell — das Modell tut das. Dies sind die Nutzlasten, die das Modell tatsächlich senden wird.

Screenshot — Viewport einer Landingpage

take_screenshot({
  url: "https://example.com",
  resolution: { width: 1440, height: 900 },
  format: "png",
  fullSize: false,
  blockAds: true,
  blockCookiesGdpr: true,
  delay: 1
})

Screenshot — Ganzseitiges PDF für die Archivierung

take_screenshot({
  url: "https://news.ycombinator.com",
  fullSize: true,
  format: "pdf"
})

Synchrones Video (≤ 6 Min.)

record_website_video({
  url: "https://stripe.com",
  format: "mp4",
  scrollMode: "smooth",
  smoothScrollSpeed: "normal",
  resolution: { width: 1280, height: 720 }
})

Asynchrones Video + Statusabfrage

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. Tool-Referenz

take_screenshot

Feld

Typ

Standard

Hinweise

url

string (URL)

—

erforderlich

resolution

{ width, height }

1920×1080

Jede Voreinstellung oder benutzerdefinierte Größe

fullSize

bool

false

Gesamte scrollbare Seite erfassen

format

png | jpeg | pdf

png

blockCookiesGdpr

bool

true

Cookie-Banner zuerst schließen

blockAds

bool

true

Werbenetzwerke blockieren

delay

int (0–10 Sekunden)

1

Vor der Aufnahme warten

Antwortstruktur:

{
  "success": true,
  "imageUrl": "https://websitescreenshot.online/screenshots/abc.png",
  "filename": "abc.png"
}

record_website_video

Dieselben Felder wie oben plus:

Feld

Typ

Standard

format

webm | mp4 | gif

webm

scrollMode

step | smooth

step

smoothScrollSpeed

slow | normal | fast

normal

scrollDistance

int 100–1000 (px)

500

scrollDelay

int 200–5000 (ms)

1000

async

bool

false

Synchrone Antwort:

{ "success": true, "videoUrl": "https://…/abc.webm", "filename": "abc.webm" }

Asynchrone Antwort:

{ "success": true, "requestId": "f7c1…" }

check_video_status

Feld

Typ

requestId

string

Antwort:

{
  "status": "completed",
  "siteUrl": "https://…",
  "result": { "success": true, "videoUrl": "https://…", "filename": "abc.webm" },
  "updatedAt": 1730000000000
}

status ist einer von pending | completed | error. Ergebnisse werden 24 Stunden lang aufbewahrt und dann gelöscht.


8. Fehlerbehandlung

Jeder API-Fehler wird auf ein MCP-Ergebnis mit isError: true abgebildet, das die Felder code, status und error enthält. Häufige Codes:

Code

Bedeutung

UNAUTHORIZED

Fehlender / widerrufener Schlüssel

RATE_LIMITED

Limit pro Schlüssel oder pro IP erreicht; später erneut versuchen

USAGE_LIMIT_EXCEEDED

Plan-Kontingent erschöpft

INVALID_PARAMETERS

Eingabe hat die Zod-Validierung nicht bestanden

INTERNAL_ERROR

Serverfehler; mit Backoff erneut versuchen

TIMEOUT

Anfrage dauerte länger als SCREENSHOT_REQUEST_TIMEOUT_MS

NOT_FOUND

requestId unbekannt oder abgelaufen

Ratenlimits: 10 Screenshots / Min. und 5 Videos / Min. pro API-Schlüssel.


9. Umgebungsvariablen

Variable

Erforderlich

Standard

Zweck

SCREENSHOT_API_KEY

ja

—

Das Bearer-Token, das an die API gesendet wird

SCREENSHOT_API_BASE

nein

https://websitescreenshot.online

Überschreibung für selbst gehostet / Staging

SCREENSHOT_REQUEST_TIMEOUT_MS

nein

60000

Timeout pro Anfrage (ms)


10. Entwicklung

npm run dev       # tsx, hot reload stdio
npm run lint      # type-check only
npm run build     # emit build/index.js

Um den Dev-Server auf eine selbst gehostete API auszurichten:

SCREENSHOT_API_BASE=http://localhost:3000 \
SCREENSHOT_API_KEY=ws_dev_replace_me \
npm run dev

11. Lizenz

MIT © Crownbyte LTD — siehe LICENSE.

Website: https://websitescreenshot.online Gehostetes MCP: https://websitescreenshot.online/api/mcp Dokumentation: https://websitescreenshot.online/en/docs/mcp Support: support@websitescreenshot.online

Available Tools

3 tools
check_video_statusA

Poll the status of an async video job created by record_website_video(async=true).

ParametersJSON Schema
NameRequiredDescriptionDefault
requestIdYesThe requestId returned from record_website_video with async=true.

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses that this is a polling operation on status, implying a non-destructive read. But it does not describe what the response looks like (e.g., possible statuses like pending/completed/failed), nor does it mention any polling cadence or eventual termination. The description is safe but minimal, lacking deeper behavioral context like potential errors or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, focused sentence that front-loads the action and the source of the input. There is no extraneous wording; every part earns its place, making it easy to scan and understand.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple polling tool with one well-documented parameter and no output schema, the description adequately covers what the tool does and where the requestId originates. It could mention that polling is repeated until a terminal status is reached, but this is a minor gap given the minimal complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides full coverage (100%) and the requestId parameter has an explicit description stating it comes from record_website_video with async=true. The tool description adds no additional meaning beyond that, so baseline 3 applies. The schema already handles parameter semantics effectively.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb ('poll'), the target resource ('status of an async video job'), and ties it explicitly to the creating tool, record_website_video with async=true. It distinguishes itself from siblings by stating its specific role in the async workflow, so an agent can easily identify its purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use it: after calling record_website_video with async=true and receiving a requestId. It gives context on where the requestId comes from. However, it does not explicitly state when not to use it (e.g., for sync jobs) or mention alternatives. Still, the context is clear enough for basic usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

record_website_videoA

Record a scrolling webm/mp4/gif capture of any public URL. Returns the public video URL (24h TTL). Pass async=true to receive a requestId; poll check_video_status until status=completed or status=error.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesFully-qualified URL of the page to record.
asyncNoIf true, return a requestId immediately and check status with check_video_status.
delayNo
formatNoOutput video container.webm
blockAdsNo
resolutionNoOptional {width,height}. Leave undefined to use the API default (1920x1080). Common presets: 1280x720 (HD 16:9), 1280x800 (16:10), 1280x1024 (5:4), 1366x768 (16:9), 1600x900 (HD+), 1920x1080 (Full HD), 1080x1080 (Square), 360x640 (Galaxy S10), 375x667 (iPhone 6/7/8), 375x812 (iPhone X), 414x736 (iPhone 6+/7+/8+), 414x896 (iPhone XR).
scrollModeNostep = pause-and-snap scrolling, smooth = continuous scroll.step
scrollDelayNoMilliseconds between scroll steps.
scrollDistanceNoPixels to move per scroll step.
blockCookiesGdprNo
smoothScrollSpeedNoHow fast the smooth scroll travels (only used when scrollMode=smooth).normal

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses key behaviors: returns a public video URL with 24h TTL and supports async polling. It implicitly indicates that sync mode returns the video URL directly, implying it waits for completion. It does not mention failure modes or rate limits, but it covers essential outcome and async flow.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no fluff. The first states purpose and output; the second explains async usage. It is front-loaded and efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the tool has many parameters, the schema covers their specifics. The description mentions the async workflow and TTL, and references check_video_status. It does not mention limitations like recording duration or errors, nor guidance on when to use this vs take_screenshot, but the essential usage is covered with the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 73%, so the schema already documents most parameters. The description adds meaningful guidance for the async parameter: 'Pass async=true to receive a requestId; poll check_video_status until status=completed or status=error,' which explains the workflow and connection to the polling tool. It also clarifies that the URL must be public, aiding interpretation of the url parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action: 'Record a scrolling webm/mp4/gif capture of any public URL.' It distinguishes from the sibling take_screenshot by emphasizing 'scrolling' and 'video capture' with format options. It also mentions the output URL with TTL, providing a specific verb+resource.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance for async mode: 'Pass async=true to receive a requestId; poll check_video_status until status=completed or status=error.' It references the sibling check_video_status and explains the workflow. However, it does not explicitly contrast with take_screenshot or state when to prefer this tool over a screenshot, so it lacks a full when/when-not directive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

take_screenshotA

Capture a PNG/JPEG/PDF screenshot of any public URL via WebsiteScreenshot.online. Returns the public image URL (24h TTL) and metadata. Use fullSize=true for full-page captures.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesFully-qualified URL of the page to capture.
delayNoSeconds to wait after navigation before taking the shot.
formatNoOutput image format.png
blockAdsNoBlock ad networks before capturing.
fullSizeNoCapture the full scrollable page instead of the viewport.
resolutionNoOptional {width,height}. Leave undefined to use the API default (1920x1080). Common presets: 1280x720 (HD 16:9), 1280x800 (16:10), 1280x1024 (5:4), 1366x768 (16:9), 1600x900 (HD+), 1920x1080 (Full HD), 1080x1080 (Square), 360x640 (Galaxy S10), 375x667 (iPhone 6/7/8), 375x812 (iPhone X), 414x736 (iPhone 6+/7+/8+), 414x896 (iPhone XR).
blockCookiesGdprNoBlock GDPR/cookie banners before capturing.

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the burden of behavioral disclosure. It adds useful details like 'Returns the public image URL (24h TTL) and metadata', but it does not explain what happens on failure, rate limits, authentication requirements, or how rendering works. This is partial transparency, not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two compact sentences with no filler. The core action and deliverable are front-loaded, followed by a useful usage tip. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description gives essential output context (public URL, 24h TTL, metadata) and the schema fully documents parameters. It is not a 5 because there is no output schema and the description does not cover error cases or operational constraints like network reachability or rendering behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage for all parameters, so the schema already explains url, delay, format, blockAds, fullSize, resolution, and blockCookiesGdpr. The description only reinforces fullSize and the format list, adding no new parameter-level meaning beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Capture'), names the resource ('a PNG/JPEG/PDF screenshot of any public URL'), and mentions the service ('WebsiteScreenshot.online'). This clearly differentiates it from sibling tools like record_website_video and check_video_status, which are about video capture/status rather than static screenshots.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a usage hint ('Use fullSize=true for full-page captures') and constrains to public URLs, but it does not explicitly state when to choose this tool over record_website_video or check_video_status, nor does it mention exclusions. Usage is implied rather than directly compared with alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 3 tool updatesv1.0.0
    • First observedcheck_video_status
    • First observedrecord_website_video
    • First observedtake_screenshot

TDQS

A4.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct role: take_screenshot captures an image, record_website_video captures a video, and check_video_status polls an async video job. There is no ambiguity about which tool to select for a given task.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: take_screenshot, record_website_video, check_video_status. The pattern is predictable and clearly indicates the action being performed.

Tool Count5/5

Three tools is well-scoped for a screenshot/video capture server: one for screenshots, one for video, and one for async status polling. Each tool earns its place without unnecessary redundancy.

Completeness4/5

The core capture lifecycle is covered: synchronous screenshot capture, synchronous or asynchronous video capture, and async job polling. Minor gaps exist such as listing or canceling active video jobs, but the main workflows are fully usable.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers