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 整合