Hosted Model Context Protocol (MCP)
MCP 服务端
WebsiteScreenshot.online 提供全托管的 Model Context Protocol (MCP) 端点。只需将 URL 添加到任何支持 MCP 的 AI 助手,即可立即调用与 REST API 相同的三个核心工具 —— 零安装、无需 Node 环境,直接使用现有的 API Key。
1
Get your API Key
Pass your key as a Bearer token. Free tier works instantly.
Authorization: Bearer ws_your-api-key
Create API Key2
Add to your AI Assistant
Select your tool below, copy the config snippet, and replace with your API key.
~/.claude.json
{
"mcpServers": {
"websitescreenshot": {
"type": "http",
"url": "https://websitescreenshot.online/api/mcp",
"headers": {
"Authorization": "Bearer ws_your-api-key"
}
}
}
}1Paste into
~/.claude.json2Replace ws_your-api-key3Restart your AI assistantTry asking your AI assistant:
“Take a 1920x1080 full-page screenshot of https://github.com and remove ads.”
“Record a 5-second scrolling MP4 video of https://stripe.com at 30 FPS.”
“Capture a mobile viewport screenshot of https://news.ycombinator.com in PNG format.”
3
Tools Available to Your AI
Three tools are exposed with the same capabilities as the REST API:
take_screenshot
捕获任何公开网页的 PNG/JPEG/PDF 截图(支持整页滚动、自定义分辨率与延迟)。
PNGJPEGPDF
record_website_video
录制公开网页的自动滚动视频(支持 WEBM/MP4/GIF,支持同步与异步)。
MP4WEBMGIF
check_video_status
查询异步视频任务的生成状态与下载链接(生成结果保留 24 小时)。
Async Polling24h TTL