convez.ai
PluginIntegração & APIsIntermediário
User0856

SnapRender Integrations

User0856/snaprender-integrations

Capture screenshots via MCP, SDKs e APIs — integração completa SnapRender

Ver no GitHub
InicialPluginScore · de 0 a 100

Suite oficial de integrações para a API SnapRender Screenshot, incluindo servidor MCP, SDKs (Node.js e Python), e ações para ChatGPT e Postman. Permite capturar screenshots de qualquer website em PNG, JPEG, WebP ou PDF com controle de viewport e dispositivo.

Instalação

$npx convez-ai User0856/snaprender-integrations

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
3
Forks
3
Acompanhando
0
Saúde
42%
Último commit
há 1 semana
Versão
v1.5.5
Issues abertas
1
Contribuidores
1

Casos de uso

  • Automatizar screenshots de websites em pipelines CI/CD
  • Integrar captura de telas em agentes Claude para análise visual
  • Testar responsividade em múltiplos dispositivos programaticamente
  • Gerar PDFs ou imagens de páginas web sob demanda

Veredito

Integração bem estruturada com suporte a múltiplos transports (HTTP remoto e stdio local) e clientes MCP. Cobre casos reais de automação visual, mas é específica para a API SnapRender — útil se você já usa ou planeja usar esse serviço.

README

A tradução para o português deste README ainda está na fila.

SnapRender Integrations

smithery badge npm MCP npm SDK PyPI SDK License: MIT Available on CodeGuilds

Official integrations for SnapRender Screenshot API — capture screenshots of any website as PNG, JPEG, WebP, or PDF.

Remote MCP Server

SnapRender runs a hosted MCP server — connect from any MCP client with zero install:

https://app.snap-render.com/mcp
  • Transport: Streamable HTTP (MCP spec 2025-03-26)
  • Auth: X-API-Key header or Authorization: Bearer header
  • Tools: take_screenshot, check_screenshot_cache, get_usage
  • Prompts: screenshot_website, compare_devices

Claude Desktop (remote — recommended)

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

Any MCP client (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"}}}'

The server returns an Mcp-Session-Id header — include it in subsequent requests to reuse the session.

Smithery

Install via Smithery for automatic setup with any MCP client.

Local MCP Server (npm)

If you prefer running locally via stdio transport:

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

See mcp-server/ for full documentation.

Remote vs Local

Remote (hosted)Local (npx)
InstallNone — just an HTTPS URLRequires Node.js + npx
TransportStreamable HTTPstdio
Use caseAny MCP client, Smithery, web appsClaude Desktop, Claude Code

MCP Tools

take_screenshot

Capture a screenshot of any website. Returns the image as PNG, JPEG, WebP, or PDF.

ParameterTypeRequiredDescription
urlstringYesURL to capture (http:// or https://)
formatstringNopng, jpeg, webp, or pdf (default: png)
widthintegerNoViewport width 320-3840 (default: 1280)
heightintegerNoViewport height 200-10000 (default: 800)
full_pagebooleanNoCapture entire scrollable page
devicestringNoiphone_14, iphone_15_pro, pixel_7, ipad_pro, macbook_pro
dark_modebooleanNoEnable dark mode
block_adsbooleanNoBlock ads (default: true)
block_cookie_bannersbooleanNoRemove cookie banners (default: true)
qualityintegerNoJPEG/WebP quality 1-100 (default: 90)
delayintegerNoWait ms after page load (default: 0)
hide_selectorsstringNoComma-separated CSS selectors to hide
click_selectorstringNoCSS selector to click before capture

check_screenshot_cache

Check if a screenshot is cached without capturing. Does not count against quota.

ParameterTypeRequiredDescription
urlstringYesURL to check
formatstringNoOutput format (default: png)

get_usage

Get screenshot usage statistics.

ParameterTypeRequiredDescription
monthstringNoMonth in YYYY-MM format (default: current month)

Agent Framework Integrations

FrameworkDirectoryDescription
LangChain Pythonlangchain/@tool decorated functions for LangChain / LangGraph agents (PyPI)
LangChain.jslangchain-js/StructuredTool classes for LangChain.js agents (npm)
CrewAIcrewai/BaseTool subclasses for CrewAI agents (PyPI)
AutoGenautogen/FunctionTool wrappers for Microsoft AutoGen agents (PyPI)
n8nSeparate repoCommunity node for n8n workflows (npm)

Other Integrations

IntegrationDescriptionSetup Time
OpenClaw SkillSkill file for OpenClaw AI agent5 min
ChatGPT ActionsOpenAPI spec for Custom GPTs and OpenAI function calling5 min
Postman CollectionPre-built API requests for Postman1 min

SDKs

# Node.js
npm install snaprender

# Python
pip install snaprender

Direct 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

Get an API Key

Sign up free at snap-render.com — 200 screenshots/month, no credit card required.

Links

License

MIT

Ver o original no GitHub

Bom para

Relacionados