slideshot-mcp
slideshot-mcp is an MCP server that converts HTML carousel slides into high-resolution images, PDFs, and presentations. Key capabilities:
Discover themes (
discover_themes): Starting point for the guided workflow — returns available themes, orientation presets, token-usage modes, and output formats.Create slides (
create_slides): Generate a full HTML slide deck from AI-written HTML (defaultmode) or structured JSON (token_savermode), supporting 11 themes (generic, branded, instagram-carousel, infographic, pitch-deck, dark-modern, editorial, browser-shell, academic-poster, clinical-medical, sketch-handdrawn) and slide types like cover, content, stats, comparison, timeline, and more.Render slides (
render_slides): Export to PNG, WebP, PDF, and/or PPTX with configurable scale, dimensions, orientation, quality, and slide range.Edit slides (
edit_slides): Make token-efficient partial edits — replace individual slides, patch CSS rules, swap CSS variable values, or add/remove classes without regenerating the whole deck.List themes (
list_themes): Retrieve the full theme catalog at any time without starting a new workflow.Health check (
health_check): Verify that Puppeteer/Chromium is available and functional for rendering.
slideshot
Convert AI-generated HTML carousels into high-res PNG, WebP, PDF, and PPTX — via CLI, Web App, MCP Server (Cursor MCP, Claude MCP, OpenCode MCP), or REST API.
Web App · npm CLI · npm MCP · API Spec
Wrong install?
The MCP package name is slideshot-mcp on npm (canonical Glama listing). Use npx -y slideshot-mcp — not unrelated html-to-slides or third-party scoped copies from generic searches.
Works with (MCP)
Discovery-oriented table — verify each host’s current MCP docs before upgrading.
Open source–oriented hosts
Host | Documentation | Typical wire-up |
OpenCode | See OpenCode below | |
Continue | Add stdio MCP pointing at | |
Zed | Stdio MCP per Zed | |
Cline | Extension MCP docs | |
Goose | MCP extensions per Goose |
Large commercial stacks
Host | Documentation | Typical wire-up |
Cursor |
| |
Claude (Desktop / Code) | Claude Desktop JSON or | |
GitHub Copilot | MCP in VS Code where enabled | |
ChatGPT | Prefer REST ( | |
Google Gemini | Gemini IDE / CLI MCP when supported — else REST |
Related MCP server: cardnews-mcp-server
Architecture
slideshot/
packages/
cli/ ← Core Puppeteer rendering engine + CLI
mcp-server/ ← MCP stdio server for AI tools
webapp/ ← Next.js web app with live preview
prompts/
generic.md ← Clean minimal
branded.md ← Ketan Slides design system
instagram-carousel.md ← Bold vibrant IG style
infographic.md ← Data-heavy charts
pitch-deck.md ← Professional presentations
dark-modern.md ← Neon glassmorphism
editorial.md ← Magazine serifQuick Start
CLI
npx slideshot ./my-carousel.html --formats png,webp,pdf --scale 4Options:
Flag | Default | Description |
|
| CSS selector for slide elements |
|
| Slide width (CSS px) |
|
| Slide height (CSS px) |
|
| Device scale (4x = 2160x2700) |
|
| Output formats (png, webp, pdf, pptx) |
|
| WebP quality (0-100) |
|
| Output directory |
Web App
Live: slideshot.vercel.app
Or run locally:
cd packages/webapp && npm install && npm run devOpen http://localhost:3000 — paste HTML, preview, export.
MCP Server
Add to Cursor, Claude Desktop, Claude Code, or any stdio MCP host. Published as slideshot-mcp on npm.
Cursor / Claude Desktop (mcpServers):
{
"mcpServers": {
"slideshot": {
"command": "npx",
"args": ["-y", "slideshot-mcp"]
}
}
}Optional pin: "args": ["-y", "slideshot-mcp@4.4.0"] (replace with current npm version).
OpenCode
~/.config/opencode/opencode.json:
{
"mcp": {
"slideshot": {
"type": "local",
"command": ["npx", "-y", "slideshot-mcp"],
"enabled": true
}
}
}Tools:
create_slides— guided creation workflow with 7 themes and output presetsrender_html_to_images— render HTML to PNG/WebP/PDF/PPTXget_slide_prompt— get AI prompt template for any theme varianthealth_check— verify Puppeteer/Chromium availability
Prompts (7 themes):
generic-slides— clean minimalbranded-slides— Ketan Slides design systeminstagram-carousel-slides— bold vibrant IG styleinfographic-slides— data-heavy charts and statspitch-deck-slides— professional presentationsdark-modern-slides— neon glassmorphismeditorial-slides— magazine serif with gold accents
REST API (ChatGPT Actions / OpenWebUI)
The web app exposes an OpenAPI-compatible REST API at https://slideshot.vercel.app.
Endpoints:
Method | Path | Description |
|
| Render HTML slides to PNG/WebP/PDF (returns ZIP) |
|
| Get AI prompt template |
|
| OpenAPI 3.1.0 spec |
Platform support:
Platform | Method | Setup |
Cursor | MCP |
|
Claude Desktop | MCP |
|
OpenCode | MCP |
|
Continue | MCP | stdio → |
ChatGPT | OpenAPI Action | Import |
OpenWebUI | OpenAPI Tool | Import |
AI Prompt Templates
7 prompt variants in prompts/ — copy-paste or use via get_slide_prompt tool:
Variant | File | Style |
Generic |
| Clean minimal, Inter font |
Branded |
| Space Mono, teal/coral accents |
| Bold gradients, Poppins | |
Infographic |
| DM Sans, stat cards |
Pitch Deck |
| Professional, KPI cards |
Dark Modern |
| Neon, glassmorphism |
Editorial |
| Playfair Display, gold |
Build All
npm install # from root — installs all workspaces
npm run build # builds cli → mcp-server
cd packages/webapp && npm run build # builds webapp separatelyLinks
Surface | URL |
Web App | |
npm CLI | |
npm MCP | |
GitHub | |
API Spec |
Related MCPs
medium-ops — Medium CLI + MCP (PyPI).
substack-ops — Substack CLI + MCP (PyPI).
License
Available Tools
6 toolscreate_slidesAIdempotent
Create slides. IMPORTANT: Use mode=default unless the user explicitly chose token_saver. mode=default = AI writes full HTML (best quality). mode=token_saver = AI sends JSON, server uses basic templates. REQUIRES discover_themes first AND user must have confirmed the data outline. After this tool saves the HTML, you MUST show the htmlPath as a code preview artifact. Then STOP and ask the user to confirm. DO NOT call render_slides until the user explicitly confirms.
Inputs: mode (required), theme (required), orientation, width, +4 more.
discover_themesARead-onlyIdempotent
MANDATORY first step — all other tools REJECT until this is called. Returns themes, orientation presets, token-usage modes, and output formats. Use ONLY the native selector prompts from the "ask" array — DO NOT render themes as a separate markdown list. DO NOT ask how many slides (you decide based on topic). After user picks options, show a data outline of proposed slides and WAIT for confirmation before calling create_slides.
Inputs: no named parameters.
edit_slidesA
Token-efficient partial edits on a previously-generated HTML deck. Use this INSTEAD of regenerating the whole deck for small changes — it saves 60-90% tokens vs a full rewrite. Operations: replace_slide (swap one slide block by 1-indexed slideIndex), patch_css (append CSS rules to ), swap_token (replace a CSS variable's value, e.g. {"--coral": "#FF0000"}), patch_class (add/remove a class on a specific slide, e.g. {"add": "dark"}). Reads from cache or htmlPath; saves the updated HTML and returns the new htmlPath. After editing, show the htmlPath as a preview artifact and STOP — do NOT call render_slides until the user confirms.
Inputs: operation (required), payload (required), htmlPath, slideIndex.
health_checkARead-onlyIdempotent
Verify Puppeteer/Chromium can launch. Use when render fails.
Inputs: no named parameters.
list_themesARead-onlyIdempotent
Idempotent read-only listing of all available themes (8+). Unlike discover_themes, this does NOT start a slide-creation workflow — call it any time the user asks "what themes are there?" mid-conversation. Returns the same tiered theme catalog (primary/secondary). Models MUST present every theme returned, never truncate.
Inputs: no named parameters.
render_slidesAIdempotent
Final render to PDF/WebP/PNG/PPTX. Accepts html string OR htmlPath. Supports width, height, selector, scale, webpQuality, orientation, pptxMode, pptxFilename, slideRange. NEVER call render_slides in the same turn as create_slides. When the user provides an existing HTML file path, pass it as htmlPath and call this tool directly — no discover_themes or create_slides needed. For the full slide-creation workflow, REQUIRES both discover_themes AND create_slides first, and ONLY call AFTER user confirms the preview. Returns file paths on disk.
Inputs: htmlPath, html, selector, width, +10 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
All tools have distinct responsibilities, but discover_themes and list_themes both surface the theme catalog and could be confused if an agent only glances at names; the descriptions do clarify that one is a mandatory workflow bootstrap and the other is a read-only listing. create_slides, edit_slides, and render_slides are otherwise cleanly separated by operation.
Most names follow the verb_noun snake_case pattern consistently: discover_themes, create_slides, render_slides, list_themes, edit_slides. health_check breaks the pattern slightly by being a noun phrase rather than a verb-first command, though it remains simple and readable.
Six tools is a well-scoped count for a slide-generation and rendering server: health check, theme discovery, theme listing, create, render, and edit. Each tool has a clear role, and none feels like unnecessary surface area.
The core lifecycle is covered: discover themes, create slides, render to output formats, and apply token-efficient partial edits. Minor gaps exist, like no explicit slide deletion or no tool to inspect a previously generated deck's structure, but most workflows can be completed without them.
Maintenance
Related MCP Connectors
Turn a URL, YouTube video or text into a branded LinkedIn/Instagram carousel PDF. No key needed.
Generate images and PDFs from HTML/CSS, live websites, and reusable templates.
Carousel assistant: your AI writes the slides, Karou renders Instagram, LinkedIn, TikTok carousels.
Finished TikTok/Instagram carousels from a topic, photos or video. Edit any layer, export PSD/SVG.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides screenshot and OCR capabilities for macOS.141 npm23MIT
- AlicenseAqualityDmaintenanceConverts subtitles or text into a single 1080×1620 infographic card (HTML+PNG) using LLM to generate content and Puppeteer for rendering.3MIT
- FlicenseNot gradedqualityDmaintenanceConverts slide-oriented HTML into editable PowerPoint files via an MCP server, using Chromium for layout measurement and supporting editable text, shapes, images, and raster fallbacks.-
- AlicenseAqualityBmaintenanceEnables creating PowerPoint presentations by rendering HTML/CSS slides as full-slide images and exporting them to .pptx files, with a preview tool for visual checking before finalizing.227 npmMIT