Website Screenshot & PDF

io.github.Devdeep-Borisagar由 GitHub 账号 Devdeep-Borisagar 发布v1.0.0更新于 Oct 29, 2026

Screenshot any website as PNG, JPEG, WebP, PDF or scrolling MP4/GIF video, with public file links.

发布方自己的服务:screenshot.com.ar

已验证Streamable HTTP可网页运行浏览器自动化媒体与设计

概览

AI 生成的概览

远程 Apify MCP 服务器,让助手把任意网站或自有 HTML 截取为 PNG、JPEG、WebP、PDF 或滚动 MP4/GIF,并返回公开文件链接。

可以做什么
  • 把页面截取为图片、PDF 或滚动视频,可选整页、首屏、自定义高度、CSS 选择器指定的单个元素或指定区域
  • 按桌面、笔记本、平板、手机或 200 多种具体设备型号渲染,支持 Retina 倍率和深色模式
  • 清理截图:隐藏或接受/拒绝 Cookie 横幅、屏蔽广告、固定吸顶栏、加载懒加载图片
  • 借助 Cookie、额外请求头、HTTP 基本认证、语言、时区、位置和代理访问登录后或受限页面
  • 在返回文件的同时返回页面可见文本和 meta 描述,并可附带小尺寸 JPEG 缩略图
适用场景
适合需要让助手查看或展示网页外观、生成可打印的页面 PDF、录制滚动演示,或批量截取多个网址(例如竞品首页)做视觉对比的场景。
运行要求
需要连接 mcp.apify.com 的远程 MCP 端点并通过 OAuth 登录 Apify;不支持 OAuth 的客户端可用 Authorization Bearer 头传入 Apify API 令牌。也支持通过 npx 本地 stdio 运行,需设置 APIFY_TOKEN 环境变量。免费 Apify 账户含每月额度。
安装前请注意
按成功截取计费(截图或 PDF 一档,滚动视频更高),失败和跳过的页面免费,运行可设最高费用上限。为访问登录页面提供的 Cookie、额外请求头和基本认证凭据会交给 Apify 的 Actor,生成的文件以公开链接形式存储。截取第三方网站可能受其条款约束。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "website-screenshot-pdf": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=devdeep/website-screenshot-pdf"
    }
  }
}

README

Website Screenshot MCP: screenshots, PDFs and scrolling videos for AI agents

Give your AI agent eyes on the web. One tool that captures any website, or your own HTML, as a PNG, JPEG or WebP screenshot, a PDF, or a scrolling MP4/GIF video, and returns a public link to the file.

It runs as a remote MCP server (Streamable HTTP), so there's nothing to install or host. Under the hood it calls the Website Screenshot & PDF Actor on Apify.

https://mcp.apify.com/?tools=devdeep/website-screenshot-pdf

What your agent can do with it

  • Full page or first screen: capture the whole page top to bottom, just the first screen, a custom height, one element (CSS selector) or an exact region.
  • Formats: PNG, JPEG, WebP, PDF (A4, Letter, Legal and more, or one long page) and scrolling MP4 or GIF.
  • Devices: desktop, laptop, MacBook, iPad, iPhone, Android, social card, or any of 200+ exact device models. Retina 2x/3x and dark mode.
  • Clean captures: cookie banners hidden or clicked (accept or reject), ads blocked, sticky headers fixed so they don't repeat, lazy images loaded, emoji and Asian scripts rendered.
  • Logged-in pages: cookies, extra headers, HTTP basic auth, language, time zone, location and proxy.
  • Page text for AI: get the page's visible text and meta description in the same call.
  • Fair billing: you pay only for captures that succeed. Failed pages are free.

Connect

Claude (claude.ai and Claude Desktop)

Go to Settings → Connectors → Add custom connector, paste the URL below, and sign in to Apify when asked.

https://mcp.apify.com/?tools=devdeep/website-screenshot-pdf

Claude Code

bash
claude mcp add --transport http website-screenshot "https://mcp.apify.com/?tools=devdeep/website-screenshot-pdf"

Cursor, Windsurf, VS Code and other MCP clients

json
{  "mcpServers": {    "website-screenshot": {      "url": "https://mcp.apify.com/?tools=devdeep/website-screenshot-pdf"    }  }}

Your client opens an Apify sign-in on first use (OAuth). If your client doesn't support OAuth, send your Apify API token as a header instead:

json
{  "mcpServers": {    "website-screenshot": {      "url": "https://mcp.apify.com/?tools=devdeep/website-screenshot-pdf",      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }    }  }}

Get a token in Apify Console → Settings → API & Integrations. A free Apify account includes monthly credit.

Local (stdio), for clients without remote MCP support

json
{  "mcpServers": {    "website-screenshot": {      "command": "npx",      "args": ["-y", "@apify/actors-mcp-server", "--tools", "devdeep/website-screenshot-pdf"],      "env": { "APIFY_TOKEN": "<APIFY_TOKEN>" }    }  }}

Try these prompts

Main inputs

InputWhat it doesExample
urls / url / htmlPages to capture, or your own HTML["https://apify.com"]
captureModefullPage, viewport, customHeight, element, region"fullPage"
formatpng, jpeg, webp, pdf, mp4, gif"webp"
device / devicePresetScreen type, or an exact model"mobile" / "iPhone 15 Pro"
elementSelectorCSS selector when captureMode is element"#pricing"
cookieBannershide, accept, reject, off"accept"
darkModeDark colour schemetrue
thumbnailWidthAlso return a small JPEG preview400
includePageTextAlso return the page's texttrue
pdfPaperA4, Letter, Legal… or singlePage"A4"
videoSecondsLength of the scrolling video8

The full list (55 options) is on the Actor's input page.

What comes back

One result per page:

json
{  "url": "https://apify.com/",  "status": "success",  "screenshotUrl": "https://api.apify.com/v2/key-value-stores/…/records/0001-apify-com.png",  "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/…/records/0001-apify-com-thumb.jpg",  "format": "png",  "width": 1920,  "height": 10052,  "title": "Apify: Marketplace of ready-to-run tools for AI",  "error": null}

status is success, failed (with an error, not charged) or skipped (the run hit its maximum cost, not charged).

Use it without MCP (REST API)

bash
curl -X POST "https://api.apify.com/v2/acts/devdeep~website-screenshot-pdf/run-sync-get-dataset-items?token=$APIFY_TOKEN" \  -H "Content-Type: application/json" \  -d '{"urls": ["https://apify.com"], "format": "png", "captureMode": "fullPage"}'

More examples are in examples/: Node.js, Python and cURL.

Pricing

Pay per successful capture, with no subscription:

EventPrice
Screenshot or PDF$0.005 ($5 per 1,000)
Scrolling MP4/GIF video$0.02

Failed and skipped pages are free; thumbnails and page text are included. See the live pricing.

Ready-made examples

All of them are listed on the examples page.

Support

Found a problem or need a feature? Open an issue here or on the Actor's Issues tab.

Only capture pages you're allowed to access, and use cookies or passwords only for accounts you own.

License

The examples and configuration in this repository are MIT licensed. The screenshot service itself runs on Apify.

来源:README.md,提交 93b2af1

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Oct 29, 2026

评分

已满足适用检查项的 85%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Screenshot 集成