
ScreenshotAPI
io.github.Screenshot-API由 GitHub 帳號 Screenshot-API 發布v1.0.2更新於 Oct 29, 2026
Website screenshots, URL/HTML to PDF, scrolling videos, and web scraping via ScreenshotAPI.
發布方自己的服務:screenshot.com.ar
概覽
ScreenshotAPI 官方 MCP 伺服器,讓助理擷取網頁截圖、把網址或 HTML 轉成 PDF、錄製捲動影片、抓取渲染後的頁面內容,並批次截圖。
- 可以做什麼
- 對網址或原始 HTML 截圖,支援整頁、元素、區域、多尺寸、高解析度與深色模式,回傳託管連結並內嵌顯示圖片
- 把網址或原始 HTML 轉為 PDF,可設定紙張格式、方向、頁碼範圍與列印背景
- 抓取經 JavaScript 渲染的頁面,輸出 Markdown、純文字、HTML 或圖片連結清單,並在同一請求中截圖
- 把頁面錄製成捲動或靜態影片,格式可選 MP4、WebM 或 GIF
- 用網址清單或 CSV 送出批次截圖工作,查詢進度並下載結果
- 透過視窗、等待時機、注入 CSS/JS、移除元素、封鎖請求、地理位置、代理與快取等選項調整渲染
- 適用情境
- 適合需要讓助理查看網頁實際渲染結果、把頁面存成圖片或 PDF、從依賴 JavaScript 的網站擷取可讀內容,或一次截取大量網址而不必自行撰寫 API 程式的場合。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 18 以上版本與 npx。需要 ScreenshotAPI 帳號與 API 金鑰,透過環境變數 SCREENSHOTAPI_TOKEN 提供。選用環境變數 SCREENSHOTAPI_REQUEST_TIMEOUT_MS 與 SCREENSHOTAPI_MAX_INLINE_IMAGE_BYTES 可調整逾時與內嵌圖片大小。需要能連線至 ScreenshotAPI 服務的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 ScreenshotAPI,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ScreenshotAPI MCP Server
[npm version] [GitHub] [Node.js] [License]
Official MCP server for ScreenshotAPI. It gives your AI assistant 8 tools for website screenshots, URL and HTML to PDF, scrolling videos, JavaScript-aware web scraping (Markdown, text, HTML), and bulk captures. You ask in plain English and the server makes the API calls. Your assistant also gets the screenshot back as an image, so it can see the page it captured.
Works with Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Cline, Codex, and any other MCP-compatible client.
Quick Start
-
Sign up for ScreenshotAPI and copy your API key from the dashboard.
-
Cursor users can install in one click:
-
Everyone else: add this to your MCP client config (see Install by Client for the exact file path):
-
Restart your client.
-
Test it: ask "Take a screenshot of https://example.com"
Table of Contents
- Quick Start
- Install by Client
- Verify It Works
- Tool Reference
- Prompt Examples
- Error Codes
- How It Works
- Environment Variables
- Building from Source
- Troubleshooting
- Links
- License
Install by Client
Requirements
- Node.js 18 or later
npxavailable in your terminal- A ScreenshotAPI API key (sign up)
Claude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
Restart Claude Desktop after saving.
Claude Code
Start a new Claude Code session after adding the server.
Cursor
One-click install:
Or add to .cursor/mcp.json manually:
Restart Cursor after saving.
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Restart Windsurf after saving.
VS Code / GitHub Copilot
Add to your VS Code settings.json:
Restart VS Code after saving.
Cline
Open MCP Servers panel → Configure → Advanced MCP Settings. Add to cline_mcp_settings.json:
Restart Cline after saving.
Codex CLI
Start a new Codex session after adding the server.
Any Other MCP Client
Use this config:
Verify It Works
Try these after setup:
Tool Reference
All 8 tools wrap the ScreenshotAPI REST API. The render tools (take_screenshot, generate_pdf, scrape_page, record_scrolling_video) call GET https://shot.screenshotapi.net/v3/screenshot with output=json and share the page preparation options below. Each takes either url or custom_html.
Shared render options
take_screenshot
Captures a page as an image and returns the hosted image URL. The image is also returned inline so the assistant can see it. Full-page captures are the exception, since they are usually too tall to view; pass include_image=true to get them inline anyway.
Plus all shared render options.
generate_pdf
Converts a URL or raw HTML to PDF and returns the hosted PDF URL. With no format (and no width/height), the whole page becomes one continuous PDF page.
Plus all shared render options.
scrape_page
Renders the page in a real browser, so JavaScript runs first, then extracts its content. The server downloads the extracted files and returns their contents inline. A screenshot is captured in the same request.
Plus viewport, timing, page manipulation, blocking, and emulation options.
record_scrolling_video
Records the browser scrolling down a page and returns the hosted video URL.
Plus viewport, timing, page manipulation, blocking, and emulation options.
bulk_screenshots
POST https://api.screenshotapi.net/v1/bulk/json submits up to 50 URLs as one job. Paid plans only.
bulk_screenshots_csv
POST https://api.screenshotapi.net/v1/bulk/csv uploads a CSV with a url column. Any other column is a render option for that row. Paid plans only.
get_bulk_status
GET https://api.screenshotapi.net/v1/bulk/csv/status returns percent_complete, successful_urls, and failed_urls for a job.
download_bulk_results
GET https://api.screenshotapi.net/v1/bulk/csv/download returns one row per URL with url, status, screenshot, and error_message.
Prompt Examples
Screenshots
- Take a screenshot of https://linear.app
- Screenshot https://github.com on a 390px-wide mobile viewport in dark mode.
- Capture the full page of https://vercel.com/pricing with ads and cookie banners blocked.
- Grab just the pricing table on https://example.com/pricing (selector
#pricing). - Screenshot our staging site and blur anything with the class
.user-email. - Show me how https://www.bbc.com looks from Germany in German.
PDFs
- Convert https://example.com/report to an A4 landscape PDF and save it to ./report.pdf.
- Turn this HTML invoice into a Letter-size PDF.
- Export only pages 2-4 of https://docs.example.com/guide as a PDF.
Scraping
- Read https://react.dev/learn and give me the key points.
- Get the rendered HTML of https://example.com after JavaScript runs.
- List every image URL on https://unsplash.com.
Video
- Record a slow scrolling MP4 of https://stripe.com that scrolls back to the top.
- Make a scrolling GIF of our landing page at desktop and mobile sizes.
Bulk
- Screenshot these 20 URLs at 1440x900 with cookie banners hidden.
- What's the status of my bulk job, and download the results when it's done.
Error Codes
Tool calls never crash the server. Upstream errors come back as structured tool results with error, code, message, and a guidance field, so the client can explain the problem and suggest a fix.
Example error result for a missing URL:
See the full list in the ScreenshotAPI error docs.
How It Works
This is a stdio MCP server that wraps the ScreenshotAPI REST API.
At runtime:
- Your MCP client starts the server process via
npx. - The client reads the tool list.
- When a prompt matches a tool, the client calls it.
- The server validates inputs, calls ScreenshotAPI with
output=json, and returns structured JSON with the hosted file URL. - For screenshots, the server also downloads the image and returns it inline. For scraping, it downloads the extracted Markdown, text, or HTML and returns the contents.
The API key is read from the environment on each call and sent as the token parameter. The server strips the token from every response before it reaches the model. Requests with very long values, such as large custom_html, are sent as a POST with a JSON body to avoid URL length limits.
Environment Variables
Building from Source
Run it directly:
Inspect with the MCP Inspector:
Troubleshooting
Client uses an old tool list after updating: Restart the client and confirm it loaded the latest npm version.
401 token_required: SCREENSHOTAPI_TOKEN is not set in your MCP client config's env block.
401 invalid_token: The key is wrong, or it was rolled in the dashboard. Copy the current key from the dashboard.
Screenshot comes back as a URL but not an image: The image is larger than SCREENSHOTAPI_MAX_INLINE_IMAGE_BYTES, or it was a full_page capture. Use thumbnail_width, jpg with a lower image_quality, or set include_image=true.
Blank or half-loaded pages: Add delay (e.g. 3000), use wait_for_event=networkidle, or set lazy_load=true for pages with lazy images.
Cookie banners or popups in the shot: Pass block: ["cookie_banners", "ads", "chat_widgets"], or remove specific elements with remove_selector.
CAPTCHA or bot blocks: Route the request through a residential proxy. See the proxy docs.
Timeouts: Slow pages may need a higher timeout (API side, default 100000 ms) and a higher SCREENSHOTAPI_REQUEST_TIMEOUT_MS (this server, default 180000 ms). Some MCP clients also have their own tool-call timeout.
Links
License
來源:README.md,提交 33c9b41
工具
0版本歷史
1- v1.0.2最新Oct 29, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Screenshot 整合
screenshot.com.ar
ar.com.screenshot官方發布者
遠端 MCP 伺服器,以真實 Chrome 瀏覽器渲染任何公開網頁,並回傳截圖或乾淨的 Markdown。
Website Screenshot and PDF (Apify actor)
dev.pages.website-screenshot-pdf
Website Screenshot and PDF (Apify actor) 的託管 MCP 服務,由 website-screenshot-pdf.pages.dev 發布;需要憑證;Streamable HTTP。

x402-screenshot-mcp
由 GitHub 帳號 6mickswagger9 發布
本機 stdio MCP 伺服器,為 AI 代理提供 x402 付費截圖 API,並透過 CDP facilitator 在 Base 上以 USDC 結算。
Website Screenshot & PDF
由 GitHub 帳號 Devdeep-Borisagar 發布
遠端 Apify MCP 伺服器,讓助理把任何網站或自有 HTML 擷取成 PNG、JPEG、WebP、PDF 或捲動式 MP4/GIF,並回傳公開檔案連結。

Screenshots MCP by InsightfulPipe
com.insightfulpipe
託管式 MCP 伺服器,讓助理擷取網頁的整頁、視窗、行動裝置與桌面版截圖,並回傳帶簽章的公開連結。