WebsiteScreenshot.online MCP Server
OfficialMCP-сервер WebsiteScreenshot.online
Сервер Model Context Protocol, который оборачивает REST API WebsiteScreenshot.online и предоставляет его в виде трёх MCP-инструментов, которые может вызывать любой MCP-совместимый хост (Claude Desktop, Claude Code, Cursor, Cline, Continue, Zed, Raycast, …).
⚡ Большинству пользователей этот пакет не нужен
Если вы просто хотите, чтобы ваш ИИ-ассистент делал скриншоты и записывал видео, используйте размещённую конечную точку — без установки, одна строка JSON:
См. примеры конфигурации для каждого хоста для Claude Code, Claude Desktop, Cursor, Cline, Codex CLI, Gemini CLI, Continue, Windsurf и Zed.
Этот npm-пакет нужен только в том случае, если применимо одно из следующих условий:
🛰️ Изолированная или ограниченная сеть — ваш ИИ-хост не может напрямую обращаться к
websitescreenshot.online.🏠 Самостоятельно размещённый WebsiteScreenshot — вы запускаете собственный экземпляр, и вам нужен
SCREENSHOT_API_BASE, указывающий на него.🔧 Вы хотите провести аудит / изменить сервер — это тот же код, который выполняет размещённая конечная точка, только без обёртки Next.js.
Во всех остальных случаях размещённая конечная точка строго лучше (без зависимости от Node, автоматические обновления, отсутствие нагрузки по обслуживанию).
Related MCP server: MCP Browser Screenshot Server
1. Предварительные требования
Node.js ≥ 18.18 (рекомендуется LTS)
Бесплатный или платный аккаунт WebsiteScreenshot.online
API-ключ WebsiteScreenshot.online (см. § 2)
2. Получение API-ключа
Зарегистрируйтесь на https://websitescreenshot.online (GitHub OAuth или email).
При необходимости переключите локаль (например,
/en/dashboard/api-keys,/zh-CN/dashboard/api-keys).Откройте Dashboard → API Keys → Create new key.
Скопируйте ключ. Он начинается с
ws_, за которым следуют 64 шестнадцатеричных символа (например,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 и передайте SCREENSHOT_API_KEY через env.
Перезапустите хост после изменения его конфигурации, и три инструмента появятся в его палитре инструментов.
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 (мс) |
|
| 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 сопоставляется с результатом MCP isError: true, содержащим
поля code, status и error. Распространённые коды:
Код | Значение |
| Отсутствует / отозван ключ |
| Достигнут лимит на ключ или IP; повторите позже |
| Исчерпана квота тарифа |
| Входные данные не прошли валидацию Zod |
| Ошибка на стороне сервера; повторите с задержкой |
| Запрос занял больше времени, чем |
|
|
Лимиты: 10 скриншотов / мин и 5 видео / мин на один API-ключ.
9. Переменные окружения
Переменная | Обязательная | По умолчанию | Назначение |
| да | — | Bearer-токен, отправляемый в API |
| нет |
| Переопределение для self-hosted / staging |
| нет |
| Таймаут прерывания запроса (мс) |
10. Разработка
npm run dev # tsx, hot reload stdio
npm run lint # type-check only
npm run build # emit build/index.jsЧтобы указать dev-серверу на самостоятельно размещённый 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
Available Tools
3 toolscheck_video_statusA
Poll the status of an async video job created by record_website_video(async=true).
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | The requestId returned from record_website_video with async=true. |
TDQS
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.
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.
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.
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.
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.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Fully-qualified URL of the page to record. | |
| async | No | If true, return a requestId immediately and check status with check_video_status. | |
| delay | No | ||
| format | No | Output video container. | webm |
| blockAds | No | ||
| resolution | No | Optional {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). | |
| scrollMode | No | step = pause-and-snap scrolling, smooth = continuous scroll. | step |
| scrollDelay | No | Milliseconds between scroll steps. | |
| scrollDistance | No | Pixels to move per scroll step. | |
| blockCookiesGdpr | No | ||
| smoothScrollSpeed | No | How fast the smooth scroll travels (only used when scrollMode=smooth). | normal |
TDQS
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.
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.
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.
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.
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.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Fully-qualified URL of the page to capture. | |
| delay | No | Seconds to wait after navigation before taking the shot. | |
| format | No | Output image format. | png |
| blockAds | No | Block ad networks before capturing. | |
| fullSize | No | Capture the full scrollable page instead of the viewport. | |
| resolution | No | Optional {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). | |
| blockCookiesGdpr | No | Block GDPR/cookie banners before capturing. |
TDQS
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.
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.
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.
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.
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.
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.
3 tool updates
v1.0.0- First observed
check_video_status - First observed
record_website_video - First observed
take_screenshot
TDQS
Scored across 3 tools
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.
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.
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.
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
Related MCP Connectors
Generate images, GIFs, videos, and PDFs from HTML, URLs, or templates — from your AI agent.
Screenshots of any public web page as PNG, JPEG, WebP, PDF or a scrolling video.
Screenshot API for AI agents. Any public page as image or PDF, banners hidden, 227 countries.
Screenshot any URL/HTML as PNG/JPEG/WebP, or read it as clean Markdown/text for LLMs.
Related MCP Servers
- AlicenseAqualityFmaintenanceCaptures screenshots of web pages using Puppeteer, allowing AI agents to visually verify web applications and see their progress when generating web apps.556MIT
- 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.615 npmMIT
- AlicenseAqualityDmaintenanceEnables AI assistants to capture screenshots of any public URL, returning images inline with page metadata. Supports full-page captures, custom wait times, and timeouts.124 npmMIT

site-shot-mcpofficial
AlicenseBqualityBmaintenanceEnables AI agents to capture full-page or viewport screenshots of any web page with options for ad removal, cookie banner blocking, and proxy country selection.273 npm3MIT