Skip to main content
Glama

slideshot

npm npm downloads npm mcp GitHub stars license MCP compatible MCP Registry Anthropic DXT Glama MCP server MCP Badge

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

OpenCode MCP servers

See OpenCode below

Continue

Continue

Add stdio MCP pointing at npx / slideshot-mcp per Continue docs

Zed

Zed

Stdio MCP per Zed

Cline

Cline

Extension MCP docs

Goose

Goose

MCP extensions per Goose

Large commercial stacks

Host

Documentation

Typical wire-up

Cursor

Cursor MCP

.cursor/mcp.json — see MCP Server

Claude (Desktop / Code)

Claude Desktop, Claude Code

Claude Desktop JSON or claude mcp add

GitHub Copilot

Copilot

MCP in VS Code where enabled

ChatGPT

OpenAI

Prefer REST (/api/openapi.json) where MCP is unavailable

Google Gemini

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 serif

Quick Start

CLI

npx slideshot ./my-carousel.html --formats png,webp,pdf --scale 4

Options:

Flag

Default

Description

-s, --selector

.slide

CSS selector for slide elements

-W, --width

540

Slide width (CSS px)

-H, --height

675

Slide height (CSS px)

--scale

4

Device scale (4x = 2160x2700)

-f, --formats

png,webp,pdf

Output formats (png, webp, pdf, pptx)

-q, --quality

95

WebP quality (0-100)

-o, --out

./slides

Output directory

Web App

Live: slideshot.vercel.app

Or run locally:

cd packages/webapp && npm install && npm run dev

Open 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 presets

  • render_html_to_images — render HTML to PNG/WebP/PDF/PPTX

  • get_slide_prompt — get AI prompt template for any theme variant

  • health_check — verify Puppeteer/Chromium availability

Prompts (7 themes):

  • generic-slides — clean minimal

  • branded-slides — Ketan Slides design system

  • instagram-carousel-slides — bold vibrant IG style

  • infographic-slides — data-heavy charts and stats

  • pitch-deck-slides — professional presentations

  • dark-modern-slides — neon glassmorphism

  • editorial-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

POST

/api/render

Render HTML slides to PNG/WebP/PDF (returns ZIP)

GET

/api/prompt?variant=generic

Get AI prompt template

GET

/api/openapi.json

OpenAPI 3.1.0 spec

Platform support:

Platform

Method

Setup

Cursor

MCP

npx slideshot-mcp in .cursor/mcp.json

Claude Desktop

MCP

npx slideshot-mcp in config

OpenCode

MCP

opencode.json mcp.slideshot → ["npx","-y","slideshot-mcp"]

Continue

MCP

stdio → npx / slideshot-mcp per Continue docs

ChatGPT

OpenAPI Action

Import /api/openapi.json

OpenWebUI

OpenAPI Tool

Import /api/openapi.json

AI Prompt Templates

7 prompt variants in prompts/ — copy-paste or use via get_slide_prompt tool:

Variant

File

Style

Generic

prompts/generic.md

Clean minimal, Inter font

Branded

prompts/branded.md

Space Mono, teal/coral accents

Instagram

prompts/instagram-carousel.md

Bold gradients, Poppins

Infographic

prompts/infographic.md

DM Sans, stat cards

Pitch Deck

prompts/pitch-deck.md

Professional, KPI cards

Dark Modern

prompts/dark-modern.md

Neon, glassmorphism

Editorial

prompts/editorial.md

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 separately

License

Available Tools

6 tools
create_slidesA
Idempotent

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_themesA
Read-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_checkA
Read-onlyIdempotent

Verify Puppeteer/Chromium can launch. Use when render fails.

Inputs: no named parameters.

list_themesA
Read-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_slidesA
Idempotent

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

    A4.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers