site-shot-mcp
OfficialSite-Shot MCP server
让 Claude、Cursor 和其他 AI 代理能够看到任意网页 —— 通过 Model Context Protocol 使用 Site-Shot 截取网站截图。
真实的 Chromium 渲染 · 整页截取 · 国家代理 · 自动移除广告和 Cookie 横幅(图像更干净、视觉令牌更少)。
快速开始(Claude Desktop)
在 https://www.site-shot.com/start/ 获取 Site-Shot API 密钥。
将其添加到 Claude Desktop 配置(
claude_desktop_config.json)中:
{
"mcpServers": {
"site-shot": {
"command": "npx",
"args": ["-y", "site-shot-mcp"],
"env": { "SITESHOT_API_KEY": "YOUR_API_KEY" }
}
}
}重启 Claude Desktop。让它 “对 https://news.ycombinator.com 截取整页截图”,它就会调用服务器并把图像展示给你。
在任何 MCP 客户端(Cursor、Cline、VS Code、LangChain、CrewAI)中的用法都一样 —— 只需要让客户端在环境中携带 SITESHOT_API_KEY 指向 npx -y site-shot-mcp 即可。
Related MCP server: ScreenshotOne MCP Server
工具
capture_screenshot
截取一个网页的截图(默认按视口截取)。
参数 | 类型 | 默认值 | 说明 |
| string(必填) | — | 要截取的页面 |
| boolean |
| 截取整个可滚动页面 |
| number | API 默认值 | 视口 / 设备尺寸 |
|
|
| 图像格式 |
| boolean |
| 移除广告 |
| boolean |
| 移除 Cookie 同意弹窗 |
| string | — | 代理国家 / 地区,使用两位 ISO 3166-1 alpha-2 代码,例如 |
| boolean |
| 如果该国没有代理则报错,而不是回退到美国 |
| string | — | 手动覆盖项 |
| number | API 默认值 | 截取前的额外等待(SPA / 动画) |
| number | 20000(整页) | 限制截取的高度上限 |
以 MCP 图像形式返回截图。
“API 默认值”并不是这个包能够声明的某个数值。
width、height和wait_ms只会在你传入时才被转发,因此当你不传参数时实际生效的值由 Site-Shot API 决定,并且可能在本包没有任何发版变动的情况下发生变化。1.1.0 及更早版本为width/height打印了 API 并不使用的像素尺寸 —— 省略这些参数去“采用默认值”的代理会得到 不同的视口,而返回的图像中没有任何信息能揭示这一点。只要尺寸很重要,就请传入显式值。
国家代码是 ISO 代码,绝不是名称。 请传
"DE",而不是"Germany"。API 会精确匹配代码, 否则就会在不告知你的情况下通过美国代理渲染。因此,服务器会在消耗一次渲染之前拒绝完整名称。strict_country(默认开启)同样会把不可用的国家变成错误,而不是静默地截出一张美国截图 —— 传false即可重新启用回退。 支持的国家 →
capture_full_page
与 capture_screenshot 相同,但已启用了整页截取。
为什么要调用这个服务器,而不是用代理自带的浏览器?
如果你的代理驱动浏览器,它完全可以自己截取页面 —— 对于那些需要登录或需要逐步走完整流程的页面,那才是正确的工具。对于公开 URL,把截取工作委托给这个服务器通常是更好的工程实践:每次截取都运行相同的流水线(多次运行之间无需重新规划),可以从特定国家 / 地区截取并匹配相应的语言环境、时区(country + strict_country),返回前还会由图像分类器评分,并带有逐级升级的重试机制作为后盾,而且每次查看的成本只是一美分的一小部分,而不是一个浏览器会话加视觉令牌。完整的两侧对比、两种方向都如实说明:
AI 代理 vs. 截图 API —— 谁应当截取页面。
配置
环境变量 | 必填 | 说明 |
| 是 | 你的 Site-Shot API 密钥(用作 |
该服务器是现有 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
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
- AlicenseBqualityCmaintenanceAn official MCP server implementation that allows AI assistants to capture website screenshots through the ScreenshotOne API, enabling visual context from web pages during conversations.1036MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to ScreenshotOne.com API for capturing website screenshots with customizable options including viewport size, full-page captures, and multiple output formats.223MIT
- 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
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.
Image + screenshot API for agents: HTML/CSS to images or PDF, screenshot any URL, verify text.
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/site-shot/site-shot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server