WebsiteScreenshot.online MCP Server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WebsiteScreenshot.online MCP ServerTake a screenshot of https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WebsiteScreenshot.online MCP Server
A Model Context Protocol server that wraps the WebsiteScreenshot.online REST API and exposes it as three MCP tools any MCP-compatible host (Claude Desktop, Claude Code, Cursor, Cline, Continue, Zed, Raycast, โฆ) can call directly.
โก Most users don't need this package
If you just want your AI assistant to take screenshots and record videos, use the hosted endpoint instead โ zero install, one line of JSON:
See the per-host configuration snippets for Claude Code, Claude Desktop, Cursor, Cline, Codex CLI, Gemini CLI, Continue, Windsurf, and Zed.
You only need this npm package if one of the following applies:
๐ฐ๏ธ Air-gapped or restricted network โ your AI host cannot reach
websitescreenshot.onlinedirectly.๐ Self-hosted WebsiteScreenshot โ you run your own instance and need
SCREENSHOT_API_BASEpointing at it.๐ง You want to audit / modify the server โ this is the same code the hosted endpoint runs, just without the Next.js wrapper.
In every other case, the hosted endpoint is strictly better (no Node dependency, automatic updates, no maintenance burden).
Related MCP server: MCP Browser Screenshot Server
1. Prerequisites
Node.js โฅ 18.18 (LTS recommended)
A free or paid WebsiteScreenshot.online account
A WebsiteScreenshot.online API key (see ยง 2)
2. Get an API key
Sign up at https://websitescreenshot.online (GitHub OAuth or email).
Switch to your locale if needed (e.g.
/en/dashboard/api-keys,/zh-CN/dashboard/api-keys).Open Dashboard โ API Keys โ Create new key.
Copy the key. It starts with
ws_followed by 64 hex chars (e.g.ws_<your-key-here>) and is shown once โ store it somewhere safe.
The MCP server only ever reads the key from the environment. It is never logged, never sent to the model, and never written to disk by this package.
3. Install & build
git clone https://github.com/Website-Screenshot-Online/websitescreenshot-mcp.git
cd websitescreenshot-mcp
npm install
npm run buildThat's it โ build/index.js is a self-contained executable you can wire into
any MCP host.
4. Configure your MCP host
Claude Desktop โ claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or
%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
All accept the same command + args + env shape โ just point them at
build/index.js and pass SCREENSHOT_API_KEY through env.
Restart the host after editing its config and the three tools will show up in its tool palette.
5. Self-hosted WebsiteScreenshot
If you run your own WebsiteScreenshot instance, point the server at it:
"env": {
"SCREENSHOT_API_KEY": "ws_replace_with_your_real_api_key",
"SCREENSHOT_API_BASE": "https://your-self-hosted.example.com"
}6. Usage examples
You don't write JSON manually โ the model does. These are the payloads the model will actually send.
Screenshot โ viewport of a landing page
take_screenshot({
url: "https://example.com",
resolution: { width: 1440, height: 900 },
format: "png",
fullSize: false,
blockAds: true,
blockCookiesGdpr: true,
delay: 1
})Screenshot โ full-page PDF for archival
take_screenshot({
url: "https://news.ycombinator.com",
fullSize: true,
format: "pdf"
})Synchronous video (โค 6 min)
record_website_video({
url: "https://stripe.com",
format: "mp4",
scrollMode: "smooth",
smoothScrollSpeed: "normal",
resolution: { width: 1280, height: 720 }
})Async video + status polling
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 reference
take_screenshot
Field | Type | Default | Notes |
| string (URL) | โ | required |
|
| 1920ร1080 | Any preset or custom size |
| bool |
| Capture entire scrollable page |
|
|
| |
| bool |
| Dismiss cookie banners first |
| bool |
| Block ad networks |
| int (0โ10 seconds) |
| Wait before capturing |
Response shape:
{
"success": true,
"imageUrl": "https://websitescreenshot.online/screenshots/abc.png",
"filename": "abc.png"
}record_website_video
Same fields as above plus:
Field | Type | Default |
|
|
|
|
|
|
|
|
|
| int 100โ1000 (px) |
|
| int 200โ5000 (ms) |
|
| bool |
|
Sync response:
{ "success": true, "videoUrl": "https://โฆ/abc.webm", "filename": "abc.webm" }Async response:
{ "success": true, "requestId": "f7c1โฆ" }check_video_status
Field | Type |
| string |
Response:
{
"status": "completed",
"siteUrl": "https://โฆ",
"result": { "success": true, "videoUrl": "https://โฆ", "filename": "abc.webm" },
"updatedAt": 1730000000000
}status is one of pending | completed | error. Results are kept
for 24 hours then deleted.
8. Error handling
Every API error is mapped to an MCP isError: true result containing
code, status, and error fields. Common codes:
Code | Meaning |
| Missing / revoked key |
| Per-key or per-IP limit hit; retry later |
| Plan quota exhausted |
| Input failed Zod validation |
| Server-side bug; retry with backoff |
| Request took longer than |
|
|
Rate limits: 10 screenshots / min and 5 videos / min per API key.
9. Environment variables
Variable | Required | Default | Purpose |
| yes | โ | The Bearer token sent to the API |
| no |
| Override for self-hosted / staging |
| no |
| Per-request abort timeout (ms) |
10. Development
npm run dev # tsx, hot reload stdio
npm run lint # type-check only
npm run build # emit build/index.jsTo point the dev server at a self-hosted API:
SCREENSHOT_API_BASE=http://localhost:3000 \
SCREENSHOT_API_KEY=ws_dev_replace_me \
npm run dev11. License
MIT ยฉ Crownbyte LTD โ see LICENSE.
Website: https://websitescreenshot.online Hosted MCP: https://websitescreenshot.online/api/mcp Docs: https://websitescreenshot.online/en/docs/mcp Support: 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