
md-present
Turn a Markdown file into a clean, structured browser slide deck. Everything runs on your machine—no account, configuration, or internet connection required.
md-present is built to be agent-first. Agents already use Markdown for almost everything, so md-present gives them a way to clearly show ideas, plans, architectures, evaluations, and other structured work without forcing them into a separate format. The Markdown remains the source: easy to create, inspect, revise, and version, with a focused visual view whenever you need it.
Features
- GitHub-Flavored Markdown, syntax highlighting, and Mermaid diagrams
- Trusted CommonMark raw HTML with built-in column layouts
- Local images and videos embedded in the browser output, with remote HTTP(S) media loaded on demand
- Light and dark mode
- Slide overview for quickly navigating longer decks
- Fullscreen viewing and presenting
- Optional local MCP server for clients that can call HTTP tools but cannot run the CLI
Install
Requires an Apple silicon Mac.
brew tap timonwd/md-present https://github.com/timonwd/md-present
brew install --cask md-present
Agent plugin
Install the shared skill for Codex:
codex plugin marketplace add timonwd/md-present
codex plugin add md-present@md-present
For Claude Code, run the equivalent commands inside a session:
/plugin marketplace add timonwd/md-present
/plugin install md-present@md-present
Tools that support direct skill imports can download the canonical SKILL.md.
Local MCP server
Install an always-running per-user MCP server when an agent can reach localhost and the same filesystem but cannot execute md-present itself:
md-present mcp install
The command installs and starts a macOS LaunchAgent, then prints its Streamable HTTP endpoint. The default is http://127.0.0.1:38473/mcp; use --port <port> during installation when the default conflicts with another local service. Configure that URL in the MCP client. Homebrew upgrades restart an installed MCP LaunchAgent, so it runs the updated binary.
The server exposes present_file. Pass an absolute Markdown file path; its containing directory becomes the root for relative images and videos. The tool opens the presentation in the browser and returns its loopback URL. Raw HTML and external media use the same explicit trust boundaries as the CLI: a first call completes with a structured MCP tool error, approval_required is true, raw_html identifies HTML requiring approval, and external_media lists blocked remote or outside-directory references. No browser opens. The caller must show the reported content to the user and retry with allow_raw_html: true or allow_external_media: true only after the corresponding approval.
Remove and stop the service with:
md-present mcp uninstall
The MCP endpoint binds only to IPv4 loopback and rejects non-loopback Host and Origin headers. It does not authenticate requests because it is intended for MCP clients that cannot configure authorization headers. Any process running locally as the user can therefore call it; do not expose or proxy the endpoint beyond localhost. Diagnostic output is written to ~/Library/Logs/md-present-mcp.log.
Ideal workflow
- Give your agent the context and ask it to structure an idea, plan, architecture, evaluation, or other piece of work in Markdown.
- Ask it to run the file with md-present so you can explore the result as a focused browser view.
- Review the structure and content, then give the agent concrete feedback.
- Let the agent revise and validate the Markdown. The browser reloads whenever the file or local media changes.
- Keep using the Markdown as a working artifact, share it through version control, or open the browser view in fullscreen when you want to present it.
Use
md-present plan.md
Add --- on its own line to start a new slide:
# First slide
Hello, world.
---
## Second slide
- Simple Markdown
- No setup
The structured view opens in your browser and reloads when the Markdown file or local media changes.
Themes
Decks can share a small, safe theme file. Reference it in front matter at the very start of each Markdown document:
---
theme: ../shared/acme-theme
---
# Quarterly review
The .json extension is optional; the shorter theme: acme-theme form is recommended. md-present first resolves the name relative to the deck, then—when it is a bare name such as acme-theme—also looks in ~/.md-present/themes/acme-theme.json. This lets you install an organization theme once and select it from any document with theme: acme-theme.