Screenshotline

io.github.MAMubeenKhan由 GitHub 账号 MAMubeenKhan 发布v0.1.0更新于 Oct 24, 2026

Screenshot any web page, or read it as clean Markdown, with consent banners, ads and popups removed.

已验证Streamable HTTP可网页运行网页搜索与抓取浏览器自动化

概览

AI 生成的概览

一个远程 MCP 服务器,让助手把网页截成图片,或读取为去除横幅、广告和弹窗后的干净 Markdown。

可以做什么
在关注布局或视觉外观时,把网页截取为图片,并处理同意横幅、广告、懒加载图片和延迟渲染的单页应用。渲染网页并以干净的 Markdown 返回内容,便于阅读或推理文本。两个工具都会先完整渲染页面,执行 JavaScript 并去除横幅、广告、聊天组件和订阅弹窗,因此对普通 HTTP 抓取无内容的站点同样有效。空白截图会以警告形式报告,而不会被当作页面内容呈现。
适用场景
适合助手需要查看页面外观,或需要从普通抓取无法处理的 JavaScript 密集型站点读取内容的场景。需要视觉布局时用截图工具,只需要文字时用 Markdown 工具。
运行要求
通过 streamable HTTP 连接 api.screenshotline.com 的远程端点。需要 API 密钥,放在 X-Access-Key 请求头中,从服务商账户页面获取;免费额度每月 500 次渲染,无需信用卡。README 还记录了本地 npm 桥接包,使用 SCREENSHOTLINE_ACCESS_KEY 配置,并可用 SCREENSHOTLINE_BASE_URL 指向自建渲染服务。
安装前请注意
必须提供 X-Access-Key 凭据并发送给托管 API,所有渲染都在该第三方完成,因此页面网址和内容会经过该服务。用量按密钥的每月渲染额度计费。README 的本地安装示例把密钥放在环境变量中,注意不要写入共享配置。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Screenshotline,将其添加到工作区。
  2. 连接 X-Access-Key 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.MAMubeenKhan%2Fscreenshotline/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "screenshotline": {
      "type": "http",
      "url": "https://api.screenshotline.com/mcp",
      "headers": {
        "X-Access-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

screenshotline-mcp

An MCP server that gives an agent two tools:

  • screenshot — capture a web page as an image, for when the layout is the answer.
  • read_page — render the page, then return its text as clean Markdown, for when the text is.

Pages are fully rendered first: JavaScript executed, consent banners removed, lazy images loaded, ads, chat widgets and newsletter popups stripped. So read_page works on sites that return nothing useful to a plain HTTP fetch. A capture that comes back blank is reported as a warning, not narrated as though it were the page.

Install

Get a free key at screenshotline.com/account — 500 renders a month, no card. Then, in Claude Code:

bash
claude mcp add screenshotline -e SCREENSHOTLINE_ACCESS_KEY=sl_live_... -- npx -y screenshotline-mcp

Or in any MCP client's JSON config (Claude Desktop, Cursor, and others):

json
{  "mcpServers": {    "screenshotline": {      "command": "npx",      "args": ["-y", "screenshotline-mcp"],      "env": { "SCREENSHOTLINE_ACCESS_KEY": "sl_live_..." }    }  }}

Self-hosted

The renderer is open source. Point the server at your own instance and no key is needed unless you configured one:

bash
SCREENSHOTLINE_BASE_URL=http://localhost:3000 npx -y screenshotline-mcp
VariableDefault
SCREENSHOTLINE_ACCESS_KEY—Your API key. Required for the hosted API.
SCREENSHOTLINE_BASE_URLhttps://api.screenshotline.comAny Screenshotline instance.

This package is only the MCP bridge — one file plus the MCP SDK. It does not download a browser; the rendering happens on the API it points at.

Docs: screenshotline.com/docs/extract · License: AGPL-3.0-or-later

来源:mcp/README.md,提交 ab31916

工具

2

screenshot

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.

输入参数url必填formatselectorblock_adsfull_pageblock_chatsblock_popupscolor_schemeviewport_widthviewport_heightblock_cookie_banners

read_page

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.

输入参数url必填max_charsblock_chatsblock_popupsstrip_chromeblock_cookie_banners

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分