Skip to main content
Glama

SnapRender 集成

npm MCP npm SDK PyPI SDK License: MIT

SnapRender 截图 API 的官方集成 — 可将任何网站截取为 PNG、JPEG、WebP 或 PDF 格式。

远程 MCP 服务器

SnapRender 运行着一个托管的 MCP 服务器 — 可从任何 MCP 客户端连接,无需安装:

https://app.snap-render.com/mcp
  • 传输协议: Streamable HTTP (MCP 规范 2025-03-26)

  • 身份验证: X-API-Key 请求头或 Authorization: Bearer 请求头

  • 工具: take_screenshotcheck_screenshot_cacheget_usage

  • 提示词: screenshot_websitecompare_devices

Claude Desktop (远程 — 推荐)

{
  "mcpServers": {
    "snaprender": {
      "type": "streamable-http",
      "url": "https://app.snap-render.com/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_your_key_here"
      }
    }
  }
}

任何 MCP 客户端 (curl)

# Initialize a session
curl -X POST https://app.snap-render.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "X-API-Key: sk_live_your_key_here" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'

服务器会返回一个 Mcp-Session-Id 请求头 — 将其包含在后续请求中以复用会话。

Smithery

通过 Smithery 安装,以便与任何 MCP 客户端自动设置。

Related MCP server: Renderly MCP

本地 MCP 服务器 (npm)

如果您更喜欢通过 stdio 传输协议在本地运行:

{
  "mcpServers": {
    "snaprender": {
      "command": "npx",
      "args": ["-y", "snaprender-mcp"],
      "env": {
        "SNAPRENDER_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

请参阅 mcp-server/ 获取完整文档。

远程 vs 本地

远程 (托管)

本地 (npx)

安装

无 — 仅需 HTTPS URL

需要 Node.js + npx

传输协议

Streamable HTTP

stdio

使用场景

任何 MCP 客户端、Smithery、Web 应用

Claude Desktop、Claude Code

MCP 工具

take_screenshot

截取任何网站的截图。返回 PNG、JPEG、WebP 或 PDF 格式的图像。

参数

类型

必需

描述

url

string

要截取的 URL (http:// 或 https://)

format

string

pngjpegwebppdf (默认: png)

width

integer

视口宽度 320-3840 (默认: 1280)

height

integer

视口高度 200-10000 (默认: 800)

full_page

boolean

截取整个可滚动页面

device

string

iphone_14iphone_15_propixel_7ipad_promacbook_pro

dark_mode

boolean

启用深色模式

block_ads

boolean

屏蔽广告 (默认: true)

block_cookie_banners

boolean

移除 Cookie 横幅 (默认: true)

quality

integer

JPEG/WebP 质量 1-100 (默认: 90)

delay

integer

页面加载后的等待毫秒数 (默认: 0)

hide_selectors

string

要隐藏的 CSS 选择器(逗号分隔)

click_selector

string

截取前要点击的 CSS 选择器

check_screenshot_cache

检查截图是否已缓存,无需进行截取。不计入配额。

参数

类型

必需

描述

url

string

要检查的 URL

format

string

输出格式 (默认: png)

get_usage

获取截图使用统计信息。

参数

类型

必需

描述

month

string

YYYY-MM 格式的月份 (默认: 当前月份)

智能体框架集成

框架

目录

描述

LangChain Python

langchain/

用于 LangChain / LangGraph 智能体的 @tool 装饰函数 (PyPI)

LangChain.js

langchain-js/

用于 LangChain.js 智能体的 StructuredTool 类 (npm)

CrewAI

crewai/

用于 CrewAI 智能体的 BaseTool 子类 (PyPI)

AutoGen

autogen/

用于 Microsoft AutoGen 智能体的 FunctionTool 包装器 (PyPI)

n8n

独立仓库

用于 n8n 工作流的社区节点 (npm)

其他集成

集成

描述

设置时间

OpenClaw Skill

OpenClaw AI 智能体的技能文件

5 分钟

ChatGPT Actions

用于自定义 GPT 和 OpenAI 函数调用的 OpenAPI 规范

5 分钟

Postman Collection

预构建的 Postman API 请求

1 分钟

SDK

# Node.js
npm install snaprender

# Python
pip install snaprender

直接 API

curl "https://app.snap-render.com/v1/screenshot?url=https://example.com" \
  -H "X-API-Key: sk_live_your_key_here" \
  -o screenshot.png

获取 API 密钥

snap-render.com 免费注册 — 每月 200 次截图,无需信用卡。

链接

许可证

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
3Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to capture website screenshots, automate browser interactions, and manage recurring screenshot configurations across 150+ global locations. It also supports AI-powered domain research and visual change monitoring for any web page.
    15
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to capture any public URL as PNG, JPEG, or PDF via REST API or MCP tools, including screenshot capture, page description, and PDF rendering.
    20
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables Claude Code to capture public web pages as images or PDFs via Latchshot's hosted API, and check rendering quota, without requiring a local browser.
    MIT

View all related MCP servers

Related MCP Connectors

  • Screenshots, PDFs and Markdown from any URL or HTML for AI agents, via the SnapForge API

  • Read a URL as clean markdown, screenshot a website, url to PDF. Web access for agents, no signup.

  • Screenshot, diff, audit and sitemap-capture any web page — 5 MCP tools for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/User0856/snaprender-integrations'

If you have feedback or need assistance with the MCP directory API, please join our Discord server