Screenshotline
Screenshot any web page, or read it as clean Markdown, with consent banners, ads and popups removed.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"screenshotline": {
"url": "https://api.screenshotline.com/mcp"
}
}
}远程端点
https://api.screenshotline.com/mcpstreamable-http它能做什么
工具清单
工具(2)
🟢screenshot(url, full_page, viewport_width, viewport_height, format, ...)
Capture a screenshot of a web page and return it as an image. Handles consent banners, ads, lazy-loaded images and late-rendering SPAs. Use this when the layout, styling or visual appearance is what matters; use read_page when you only need the text.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The page to capture. Must be http or https."
},
"full_page": {
"type": "boolean",
"description": "Capture the entire scrollable page rather than just the viewport."
},
"viewport_width": {
"type": "number",
"description": "Viewport width in pixels. Default 1280."
},
"viewport_height": {
"type": "number",
"description": "Viewport height in pixels. Default 800."
},
"format": {
"type": "string",
"enum": [
"png",
"jpeg",
"webp"
],
"description": "Default png."
},
"selector": {
"type": "string",
"description": "Capture only the element matching this CSS selector."
},
"color_scheme": {
"type": "string",
"enum": [
"light",
"dark"
],
"description": "Render the page in light or dark mode."
},
"block_ads": {
"type": "boolean",
"description": "Block ad networks and collapse the empty slots. Default true."
},
"block_cookie_banners": {
"type": "boolean",
"description": "Remove consent banners. Default true."
},
"block_chats": {
"type": "boolean",
"description": "Remove live-chat widgets. Default true."
},
"block_popups": {
"type": "boolean",
"description": "Remove newsletter and donation interstitials. Default true."
}
},
"required": [
"url"
]
}🟢read_page(url, max_chars, strip_chrome, block_cookie_banners, block_chats, ...)
Render a web page and return its content as clean Markdown. The page is fully rendered first - JavaScript executed, consent banners dismissed, lazy images loaded - so this works on sites that return nothing useful to a plain HTTP fetch. Prefer this over screenshot when you need to read or reason about the text.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The page to read. Must be http or https."
},
"max_chars": {
"type": "number",
"description": "Truncate the Markdown to this many characters. 0 or omitted means no limit."
},
"strip_chrome": {
"type": "boolean",
"description": "Drop navigation, headers, footers and sidebars, keeping the main content. Default true. Set false for a full transcript of the page."
},
"block_cookie_banners": {
"type": "boolean",
"description": "Remove consent banners. Default true."
},
"block_chats": {
"type": "boolean",
"description": "Remove live-chat widgets. Default true."
},
"block_popups": {
"type": "boolean",
"description": "Remove newsletter and donation interstitials. Default true."
}
},
"required": [
"url"
]
}社区
证据