mcpField
W
Website Screenshot & PDF

Website Screenshot & PDF

Remote
apify.comOther0Updated today

About Website Screenshot & PDF

Website Screenshot & PDF is a remote MCP server for capturing websites or supplied HTML as images, PDFs, and scrolling videos. It serves agents and other MCP clients that need visual captures, page text, or shareable file links.

Key features

  1. 01Full-page, viewport, element, and region capture
  2. 02PNG, JPEG, WebP, PDF, MP4, and GIF output
  3. 03Device presets and exact device models
  4. 04Cookie banner and ad handling
  5. 05Authenticated page capture options
  6. 06Page text and public file links

Use cases

  1. 01Create a full-page website screenshot
  2. 02Export a page as a print-ready PDF
  3. 03Capture a site in a chosen device layout
  4. 04Record a scrolling video or extract page text

MCP support

The remote Streamable HTTP MCP server exposes the Apify Website Screenshot & PDF Actor's capture capabilities. It can also be connected locally over stdio for clients without remote MCP support.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.apify.com/?tools=devdeep/website-screenshot-pdf
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project 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
claude mcp add --transport http website-screenshot "https://mcp.apify.com/?tools=devdeep/website-screenshot-pdf"
Cursor, Windsurf, VS Code and other MCP clients
{
  "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:

{
  "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
{
  "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:

{
  "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)

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.