Screenshotty

io.github.nihey由 GitHub 账号 nihey 发布v1.1.0更新于 Oct 24, 2026

Capture web pages as screenshots (returned inline) or PDFs via the Screenshotty API.

已验证STDIO仅桌面浏览器自动化媒体与设计

概览

AI 生成的概览

本地 MCP 服务器,让助手通过 Screenshotty API 把网页或渲染的 HTML 截成图片或 PDF,并以内联方式查看图片。

可以做什么
把网页截取为 PNG、JPEG 或 WebP 图片,可设置视口、整页、CSS 选择器、等待时间、广告与 Cookie 横幅拦截、明暗模式和设备缩放比例;返回托管 URL,图片不超过 2 MB 时同时内联返回。把含内联 CSS/JS 和公开 http(s) 资源的 HTML 文档渲染为图片,适合社交卡片、图表或邮件预览。把网页 URL 或 HTML 文档渲染为 PDF,并返回托管的 PDF URL。
适用场景
适合让助手查看线上页面、检查网站在特定视口下的显示效果、把页面保存为 PDF,或生成 Open Graph 卡片等渲染图片,而无需自行搭建浏览器。
运行要求
通过 stdio 在本地运行,通常用 npx 启动,因此需要 Node.js。需要 Screenshotty 账号,并通过环境变量 SCREENSHOTTY_API_KEY 提供 API 密钥;可用 SCREENSHOTTY_API_URL 覆盖 API 地址。需要访问 Screenshotty API 的网络连接。仅支持桌面端。
安装前请注意
API 密钥以明文形式写在客户端配置中,请勿放入共享文件。提交的网页和 HTML 会发送给第三方 Screenshotty 服务,结果托管在返回的 URL 上。用量受每月免费额度限制,超出后需付费。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Screenshotty,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

screenshotty-mcp

Model Context Protocol server for the Screenshotty screenshot API. Lets Claude, Cursor, Cline, and any other MCP client capture web pages — or render HTML — as images or PDFs, and see the result, since images come back inline.

Get an API key

Sign up at https://screenshotty.link/sign-up?utm_source=mcp (250 screenshots/month free, no credit card) and copy a key from Dashboard → API Keys.

Configure your client

Claude Code

bash
claude mcp add screenshotty --env SCREENSHOTTY_API_KEY=your_key -- npx -y screenshotty-mcp

Claude Desktop / Cursor / Cline

json
{  "mcpServers": {    "screenshotty": {      "command": "npx",      "args": ["-y", "screenshotty-mcp"],      "env": {        "SCREENSHOTTY_API_KEY": "your_key"      }    }  }}

Claude Desktop config lives at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).

Tools

ToolWhat it does
screenshot_urlScreenshot a page (PNG, JPEG, WebP). Returns the hosted URL, plus the image inline when it is 2 MB or smaller. Options: viewport, full page, CSS selector, wait, ad blocking, cookie-banner blocking, light/dark mode, device scale factor.
screenshot_htmlRender an HTML document (inline CSS/JS; public http(s) assets only) to PNG, JPEG, or WebP — social cards, charts, email previews. Returns the URL plus the image inline.
generate_pdfRender a page (url) or an HTML document (html) to PDF. Returns the hosted PDF URL.

Example prompts: "Screenshot https://example.com on a 390px-wide viewport and tell me what's broken on mobile", "Save our pricing page as a PDF", "Design a 1200×630 Open Graph card for this blog post and render it".

Environment variables

VariableRequiredDefault
SCREENSHOTTY_API_KEYyes—
SCREENSHOTTY_API_URLnohttps://api.screenshotty.link

Development

bash
npm installnpm run buildSCREENSHOTTY_API_KEY=your_key npx @modelcontextprotocol/inspector node dist/index.js

License

MIT

来源:README.md,提交 a6ca60d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.1.0最新Sep 25, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

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

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