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"
]
}社群
證據