npm slideshot-mcpstdioMITupdated 4mo ago
Convert AI-generated HTML carousels into high-res PNG, WebP, PDF, and PPTX โ via CLI, Web App, MCP Server, or REST API.
What can you do with slideshot?
slideshot
Convert AI-generated HTML carousels into high-res PNG, WebP, PDF, and PPTX โ via CLI, Web App, MCP Server, or REST API.
Web App ยท npm CLI ยท npm MCP ยท API Spec
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 Claude Desktop or Cursor config:
{
"mcpServers": {
"slideshot": {
"command": "npx",
"args": ["-y", "slideshot-mcp"]
}
}
}
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 |
|---|---|---|
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 |
| 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 |
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
Links
| Surface | URL |
|---|---|
| Web App | slideshot.vercel.app |
| npm CLI | npmjs.com/package/slideshot |
| npm MCP | npmjs.com/package/slideshot-mcp |
| GitHub | github.com/06ketan/slideshot |
| API Spec | slideshot.vercel.app/api/openapi.json |
License
MIT
Install
Add slideshot to your client. Pick the one you use.
claude mcp add slideshot-mcp -- npx -y slideshot-mcpcodex mcp add slideshot-mcp -- npx -y slideshot-mcpamp mcp add slideshot-mcp -- npx -y slideshot-mcp{
"mcpServers": {
"slideshot-mcp": {
"command": "npx",
"args": [
"-y",
"slideshot-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"slideshot-mcp": {
"command": "npx",
"args": [
"-y",
"slideshot-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"slideshot-mcp","command":"npx","args":["-y","slideshot-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"slideshot-mcp": {
"command": "npx",
"args": [
"-y",
"slideshot-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"slideshot-mcp": {
"command": "npx",
"args": [
"-y",
"slideshot-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"slideshot-mcp": {
"command": "npx",
"args": [
"-y",
"slideshot-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"slideshot-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"slideshot-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"slideshot-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"slideshot-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y slideshot-mcpRun `goose configure`, choose **Add Extension โ Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation21/25
- Maintenance13/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 121 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint โ no local install
Version history
| Versions | Published |
|---|---|
| 4.4.0Latest | May 1, 2026 |