Screenshot API MCP server for AI agents

Screenshot API MCP server for AI agents

screenshot-api•byraphy78626

An MCP server that lets agents take URL screenshots, capture PDFs, and retrieve page context like title and meta description in a single tool call.

License: Not specified•Runtime: Awaiting documentation review•Category: browser automation

WHAT IT DOES

  • •Provides a take_screenshot tool that converts a URL into a base64 PNG or JPEG image the agent can view directly.
  • •Provides a describe_page tool returning a screenshot plus title, H1, and meta description in one call.
  • •Provides a capture_pdf tool that converts a URL into an A4 PDF.
  • •Renders JS-heavy pages with Playwright using stealth evasion and a 5-minute URL cache.

BEST FOR

  • •Agents that need to visually inspect and summarize web pages rendered with JavaScript.
  • •Agent loops needing both visual and textual page context without extra round-trips.
  • •Workflows that repeatedly capture the same URL and benefit from a response cache.

ABOUT SCREENSHOT-API

Screenshot API MCP server for AI agents is cataloged as an MCP server attributed to raphy78626. An MCP server that lets agents take URL screenshots, capture PDFs, and retrieve page context like title and meta description in a single tool call. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Screenshot API MCP server for AI agents are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does it handle pages that block automated scrapers?

It uses built-in stealth evasion against bot blocks; if it still hits a hard wall, it returns an explicit error rather than a blank page.

Does self-hosting require a local browser install?

Yes, the self-hosted version requires Node.js and a local Playwright/Chromium install, whereas the planned hosted API avoids that.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 0d8192471693 · 采集于 2026-11-13 11:26:07 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Screenshot API for AI Agents

Give your AI agent eyes. One MCP tool call returns a screenshot your agent can actually see.

→ Join the early access waitlist · Free tier included · Hosted API coming soon


What it does

AI agents can't see web pages — they get raw HTML, which is noisy, incomplete (no JS-rendered content), and full of boilerplate. This MCP server gives Claude, Cursor, and any MCP-compatible agent three native tools:

ToolWhat it returns
take_screenshotURL → base64 PNG/JPEG your agent can look at directly
describe_pageScreenshot + title + H1 + meta description in one call
capture_pdfURL → A4 PDF

describe_page is the key differentiator: most agents need a screenshot and some text context. This saves a round-trip.


Architecture

flowchart LR
  Agent[MCP agent] -->|tool call| MCP[screenshot-api MCP]
  MCP --> Cache{URL cache<br/>5-min TTL}
  Cache -->|hit| Resp[base64 PNG / PDF]
  Cache -->|miss| PW[Playwright + stealth]
  PW --> Page[Rendered page]
  Page --> Resp
  MCP -->|HTTP| API[Fastify capture API]
  API --> PW

MCP tool contract: take_screenshot(url, format?), describe_page(url), capture_pdf(url) — structured outputs for agent loops, not raw HTTP wrappers.

Failure modes:

  • Bot blocks / CAPTCHA → stealth evasion; still fails on hard walls → return explicit error (don't hallucinate a blank page)
  • Playwright crash / timeout → bounded retry, then fail closed with status
  • Cache stampede on same URL → TTL cache collapses duplicate agent loops
  • Hosted vs self-hosted → self-host keeps data local; hosted trades ops for uptime

Quick start (self-hosted, free)

Claude Desktop

// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "screenshot-api": {
      "command": "npx",
      "args": ["-y", "screenshot-api-mcp"]
    }
  }
}

Restart Claude Desktop. Then ask:

"Take a screenshot of https://news.ycombinator.com and summarise the top 5 stories"

Cursor

Settings → MCP → Add Server:

{
  "name": "screenshot-api",
  "command": "npx",
  "args": ["-y", "screenshot-api-mcp"]
}

Python (LangChain / CrewAI)

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
    "screenshot": {
        "command": "npx",
        "args": ["-y", "screenshot-api-mcp"],
        "transport": "stdio",
    }
})

tools = await client.get_tools()
# → [take_screenshot, describe_page, capture_pdf]

Why not just use the HTML?

  • JS-rendered content — SPAs, lazy-loaded sections, and canvas elements are invisible to scrapers. Playwright renders everything.
  • Stealth mode — ~40% of real URLs return bot-block pages to naive scrapers. Evasion is built in.
  • Response cache — same URL twice in a loop? Second call is instant (5-min TTL, no double-billing).
  • MCP-native — structured outputs designed for agent loops, not bolted-on HTTP wrappers.

Hosted API (coming soon)

The self-hosted version requires Node.js + a local Playwright/Chromium install (~300MB). The hosted API has none of that — your agent hits an endpoint, gets back the image.

Join the waitlist — early access gets 3 months at 40% off.

Planned tiers:

PlanPriceScreenshots/mo
Free trial$0100 (7 days)
Starter$19/mo2,000
Pro$49/mo10,000

HTTP API (self-hosted)

GET /screenshot

ParamTypeDefaultDescription
urlstringrequiredPublic URL (http/https only)
formatpng | jpeg | pdfpngOutput format
full_pagetrue | falsefalseFull scrollable page
widthnumber1280Viewport width (320–3840)
heightnumber800Viewport height (200–2160)
curl "http://localhost:3099/screenshot?url=https://example.com" -o out.png

GET /health

{ "status": "ok", "browserConnected": true }

Local development

npm install
npm run dev        # tsx watch
npm test           # vitest + real Chromium (~60s)
npm run typecheck

Deploy to Fly.io (self-host at scale)

export PATH="$HOME/.fly/bin:$PATH"
flyctl auth login
flyctl launch --no-deploy --copy-config
flyctl secrets set PROXY_SECRET=$(openssl rand -hex 24)
flyctl deploy
flyctl checks list   # /health should be green

Memory: Fly's default 256MB will OOM Chromium. fly.toml is pre-set to 1GB. Don't scale below 512MB.

Add FLY_API_TOKEN to GitHub repo secrets to enable auto-deploy on push to main.


Configuration

All settings via environment variables. See .env.example.

Key vars: PORT (3099), MAX_CONCURRENCY (2), PROXY_SECRET (empty = auth off locally), NAV_TIMEOUT_MS (20000).


Roadmap

Phase A — Validation (now)

  • MCP server with 3 tools
  • Stealth / Cloudflare bypass
  • Response cache (5-min TTL)
  • Landing page + waitlist
  • npm publish (screenshot-api-mcp)
  • Smithery + mcp.so + Glama listings
  • 20 waitlist signups ← gate to Phase B

Phase B — Hosted API (if gate passed)

  • Lemon Squeezy billing (usage tiers)
  • API key issuance + metering
  • Fly.io deploy (1GB VM, min_machines_running=1)
  • First paying customer

Phase C — Growth

  • SEO content ("how to give Claude screenshots")
  • Zapier integration
  • LangChain / CrewAI tool package

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Screenshot API MCP server for AI agents from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/screenshot-api)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related browser automation MCP Servers

Alternative and complementary servers in the same category

View all in browser automation →

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

Repository stats unavailable
Browser & Scraping
Web Browser MCP Server
web-browser-mcp-server•blazickjp

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

Repository stats unavailable
Browser & Scraping
Steel MCP Server
steel-mcp-server•steel-dev

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.

Repository stats unavailable
Browser & Scraping