Shotpipe — Screenshots & OG Images
LocalAbout Shotpipe — Screenshots & OG Images
Shotpipe MCP is a hosted screenshot and Open Graph image service for AI agents. It captures URL pages as images or creates social-card links, with rendering on Shotpipe infrastructure, caching, and SSRF protection for untrusted URLs.
Key features
- 01Return webpage screenshots as images
- 02Create signed social-card URLs
- 03Support multiple screenshot formats and options
- 04Cache screenshot results
- 05Remove ads and cookie banners by default
Use cases
- 01Let an agent inspect a rendered webpage
- 02Generate social-card links for pages or build workflows
- 03Capture pages from user-provided URLs
MCP support
The MCP server exposes `screenshot` and `og_image` tools to clients. It uses Shotpipe's hosted service to render pages and returns screenshot images or signed image URLs.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y shotpipe-mcpSHOTPIPE_KEYSecretShotpipe API key id (starts with k_). Free at https://shotpipe.io/signup.SHOTPIPE_SECRETSecretShotpipe HMAC signing secret. Requests are signed locally; the secret never leaves the process.SHOTPIPE_BASE_URLOverride the API base URL for a self-hosted Shotpipe instance. Defaults to https://shotpipe.io.Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
2Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| dpr | enum | No | Device pixel ratio (retina). Default 1.1 | 2 | 3 |
| url | string | Yes | The page URL to capture (http/https). |
| dark | boolean | No | Emulate prefers-color-scheme: dark. |
| delay | integer | No | Extra settle time in ms before capture. |
| fresh | boolean | No | Bypass the cache and force a fresh render. |
| width | integer | No | Viewport width in px. Default 1200. |
| format | enum | No | Output format. Default png.png | jpeg | pdf |
| height | integer | No | Viewport height in px. Default 630. |
| quality | integer | No | JPEG quality 1-100 (format=jpeg only). |
| selector | string | No | CSS selector — clip the shot to this element. |
| wait_for | string | No | CSS selector to wait for before capturing. |
| block_ads | boolean | No | Block ad/tracker requests. Default true. |
| full_page | boolean | No | Capture the full scrollable page, not just the viewport. |
| block_banners | boolean | No | Hide cookie-consent banners. Default true. |
| omit_background | boolean | No | Transparent background (png only). |
Details
From the project READMEshotpipe-mcp
Hosted, SSRF-safe, cached screenshots and Open Graph images for AI agents — no headless Chrome to run.
An MCP server that lets an agent screenshot any URL and see the result, or mint a social-card image, by calling Shotpipe. It's the thing a local browser tool can't be:
- No Chrome in your agent's sandbox. Rendering happens on Shotpipe's infrastructure. Nothing to install, no memory to babysit, no OOM at 2am.
- Safe on untrusted URLs. Agents point at URLs their users typed. Shotpipe resolves DNS itself, pins the IP, re-checks every redirect, and refuses private / loopback / cloud-metadata hosts — so a hostile link can't turn your renderer into an SSRF hole.
- Cached. The first capture renders; every identical one after is served from the edge in milliseconds and costs nothing.
Ad and cookie-consent banners are stripped by default.
Install
// Claude Desktop (claude_desktop_config.json), Claude Code (.mcp.json),
// Cursor, Cline, or any MCP client:
{
"mcpServers": {
"shotpipe": {
"command": "npx",
"args": ["-y", "shotpipe-mcp"],
"env": {
"SHOTPIPE_KEY": "k_your_key",
"SHOTPIPE_SECRET": "your_signing_secret"
}
}
}
}
Get a free key at shotpipe.io/signup (no card) or run npx shotpipe-init. Self-hosting Shotpipe? Set SHOTPIPE_BASE_URL.
Tools
screenshot
Screenshot a URL and return the image (so the model can see it) plus a permanent, shareable signed URL.
url (required) · format png|jpeg|pdf · width · height · dpr · full_page · selector · dark · omit_background · block_ads · block_banners · wait_for · delay · quality · fresh
og_image
Build a signed social-card URL from a hosted template. Returns the URL only by default and renders nothing — the image renders lazily on the first crawler hit, so agent/build time stays fast. Drop it into <meta property="og:image">. Pass render: true to also get a preview image.
title (required) · template · author · tag · accent · logo · width · height · dpr · render
How it works
The signing secret never leaves the process — every request is HMAC-signed locally, exactly like Shotpipe's other clients. The server just builds a signed URL and (for screenshot) fetches the bytes.
MIT · shotpipe.io
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.