Urlbox Full Page Screenshots MCP Server

官方

一个用于Urlbox截图API的MCP服务器。它使您的客户端能够从网站截取屏幕截图、生成PDF、提取HTML/标记等。

文档

Urlbox 全页面截图 MCP 服务器

image

用于 Urlbox 截图 API 的 MCP 服务器。使您的客户端能够对网站进行截图、生成 PDF、提取 HTML/Markdown 等操作。

访问 Urlbox 了解更多信息,并阅读我们的文档,或在安装后与您的大语言模型交流,以充分了解其选项和功能。

MCP Badge

设置

  1. 安装依赖并构建:

    npm install
    npm run build
    
  2. 获取 Urlbox API 凭证:

  3. 设置环境变量:

claude_desktop_config.json

{
  "mcpServers": {
    "screenshot": {
      "command": "npx",
      "args": ["-y", "@urlbox/screenshot-mcp"],
      "env": {
        "SECRET_KEY": "your_api_key_here"
      }
    }
  }
}

用法

该服务器提供一个 render 工具,可以:

  • 以多种格式(PNG、PDF、MP4 等)进行截图
  • 将页面转换为 HTML、Markdown
  • 提取元数据和 Cookie
  • 使用 store_renders: true 将文件本地保存到您的下载目录

当您要求 Claude 对网站进行截图或转换网页内容时,它会自动使用此工具。

实用提示

截取不含广告或 Cookie 横幅的干净截图:

Take a screenshot of https://example.com but block ads and hide cookie banners

截图并保存 HTML/Markdown 等辅助渲染内容:

Take a screenshot of https://example.com and also save it as HTML and markdown. Download the result to my computer.

生成整个页面的 PDF:

Convert https://urlbox.com to a PDF and save it to my computer. Make sure to generate a PDF that has an outline and is tagged.