
jh-presentation
io.github.pei-jzv0.5.2Updated Oct 5, 2026
AI-built HTML presentations: single-file decks with live diagrams, charts, editing and PDF export.
Overview
Lets an AI assistant build single-file HTML presentation decks with diagrams, charts, step reveals, in-place editing and PDF export.
- What it does
- Turns AI-written content into one self-contained HTML deck: engine, theme, branding and images are embedded, so it works offline from a local file. Tools cover deck creation and editing (create_deck, read_deck, write_deck, replace_slide, add_asset, upgrade_deck, repair_deck), themes, templates, history restore, and output such as open_deck and PDF export. Diagram components (flow, zoom maps, ER, sequence, charts, 3D layers) are driven by JSON the AI writes. audit_deck and screenshot_deck let the assistant check layout and fix its own work.
- When to use it
- Useful when you want presentation decks produced as real web pages rather than PowerPoint files, especially decks needing animated diagrams, step-by-step reveals, or a single portable HTML file. Also suited to letting the assistant verify layout before you present.
- Requirements
- Runs locally over stdio via the npm package jh-presentation (npx). Needs Node.js 20 or later and Google Chrome or Microsoft Edge for audits, screenshots and PDF export; set CHROME_PATH if the browser is in a non-default location. Decks are saved under JH_PRESENTATION_HOME (default ~/jh-presentation) or a --workspace folder. No API key is required.
Installation
In SourceWeft
- Open jh-presentation in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
jh-presentation
Let AI build your presentations as real web pages. jh-presentation is an MCP server plus a small, dependency-free slide engine. Your AI client (Claude Desktop, Claude Code, VS Code, …) writes the content; jh-presentation turns it into a single self-contained HTML file with live diagrams, step-by-step animation, in-place editing and PDF export — and lets the AI check its own work with layout audits and screenshots.
No API key is needed: the thinking is done by the AI client you already use.
[Flow diagram that highlights each step of a request]
Why HTML instead of PowerPoint?
AI models are far better at writing HTML/CSS/JS than at driving PPTX. That makes things possible that slide tools struggle with:
- Diagrams that build up step by step, with data flowing along the arrows
- A system overview you can click to zoom into, revealing the parts inside
- ER diagrams and sequence diagrams generated from data
- Charts that animate, code that highlights line by line, demos that actually run
- Everything in one HTML file that works offline — mail it, put it on a share, present from a browser
Features
- Single-file decks — engine, theme, brand and images are embedded. No build step, no CDN, works from
file:// - Diagram components (data in, motion out) — flow diagrams / zoom maps, ER diagrams, sequence diagrams, charts (bar, line, pie, donut), 3D layer stacks, before/after sliders, terminal replays. The AI writes JSON; layout, animation, clicks and the static PDF view are handled for you
- Steps — arrow keys reveal content one step at a time; components hook into the same steps
- Themes — five built-in themes (default, dark, corporate, pop, mono), a live theme gallery, and AI-generated custom themes
- Branding — your name, logo and a label (e.g. DRAFT) in a header/footer band
- Self-checking AI —
audit_deckdetects overflow, clipping, overlapping text, low contrast, missing images and external requests;screenshot_deckreturns slide images so the AI can look and fix - Edit without AI — double-click any text box to edit it in place, press Ctrl+S to save straight back to the file (only the edited text is replaced)
- Presenting — presenter view with notes, next slide and timer; overview; blackout; fullscreen window
- Safe saving — atomic writes, revision checks against concurrent edits, 20-version history with restore
- Request templates — tech talk, lightning talk, progress report, tech proposal (as MCP prompts)
Requirements
- Node.js 20 or later
- Google Chrome or Microsoft Edge (used for audits, screenshots and PDF export; set
CHROME_PATHif it is installed somewhere unusual)
Quick start
Claude Desktop
Open Settings → Developer → Edit Config and add:
Quit Claude Desktop from the tray icon and start it again. Then ask, for example:
Make a 15-minute deck explaining Git branching strategies, with diagrams and step-by-step reveals.
Claude Code
VS Code (.vscode/mcp.json)
Decks are saved in JH_PRESENTATION_HOME (default ~/jh-presentation), or the folder given with --workspace <dir>.
What the AI can do (MCP tools)
Presenting
Do not use the browser's "Save page as…" — it saves the rendered page and breaks the deck. Use Ctrl+S inside the deck. If it happens anyway,
repair_deckrestores it.
Working in this repository
The feature sample is examples/sample.html. Rules for AI authors live in CLAUDE.md (Claude Code), AGENTS.md (Codex, Cursor and other agents) and docs/authoring-guide.md; the edit protocol for host applications is in docs/edit-protocol.md.
The authoring guide, templates and tool descriptions are currently written in Japanese. LLMs follow them fine whatever language you chat in, and decks can be in any language.
Security
Everything runs on your machine: no telemetry, no outbound requests, the preview/save server binds to 127.0.0.1 only, and files are written only inside the workspace. Decks contain JavaScript written by your AI client and run in your browser. See SECURITY.md.
License
MIT. Every deck carries the MIT notice for the embedded engine, components and themes in its generated section, so decks can be shared as-is. The content of your slides is yours.
日本語
AI にプレゼンを「Web ページ」として作らせる MCP サーバーです。Claude Desktop・Claude Code・VS Code などの AI クライアントが内容を書き、jh-presentation が1 ファイルの HTML デッキにします。動く図・段階表示・その場での文字編集・PDF 出力に対応し、AI は検査とスクリーンショットで自分の出来を確認して直せます。API キーは不要です (考えるのは普段使っている AI クライアント)。
- 動く図の部品: 関連図・ズームマップ・ER 図・シーケンス図・グラフ・3D 分解図・ビフォー・アフター・ターミナル再生 (AI は JSON を書くだけ)
- テーマ 5 種 + 自作テーマ、名前・ロゴの帯、依頼文テンプレート (技術解説・LT・進捗報告・技術提案)
- 枠をダブルクリックして文字を直し、Ctrl+S で元のファイルに保存 (ブラウザの「名前を付けて保存」は使わない)
- 発表者ビュー・一覧・全画面、保存履歴と復元、壊れたデッキの復旧
使い方 (Claude Desktop)
設定 → 開発者 → 「構成を編集」で次を追加し、タスクトレイから終了して再起動します。
あとは「Git のブランチ戦略を 15 分で説明するデッキを、図とステップ表示を多めに作って」のように頼むだけです。 詳しい設定 (Claude Code・VS Code) は mcp/README.md を参照してください。 このリポジトリで AI に作業させる場合のルールは CLAUDE.md (Claude Code) / AGENTS.md (Codex・Cursor など)、スライドの書き方は docs/authoring-guide.md にあります。
ライセンスは MIT です。デッキには埋め込んだエンジン・部品・テーマの MIT 表記が自動で入るので、そのまま配布できます。スライドの内容は作成者のものです。
Source: README.md at commit fc6f996
Tools
0Version history
1- v0.5.2LatestOct 5, 2026


