Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Marp CLI

$ marp Official Low Risk
Marp Team · Design & Docs · MIT · macos / linux / windows

Marp CLI (@marp-team/marp-cli) turns Markdown files separated by --- into standalone HTML presentations, PDFs, PowerPoint .pptx decks, or slide thumbnails. HTML export works with pure Node.js, while PDF/PPTX/image rendering invokes local Chromium/Chrome.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
brew install marp-cli
CLI vs MCP Decision CLI Only

marp compiles local Markdown slide decks directly to HTML, PDF, or PPTX in one command.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 20 / 25

Deterministic non-interactive compilation from Markdown to HTML/PDF/PPTX with clear exit codes.

  • Non-interactive single-command builds via -o
  • Supports marp.config.js / package.json configuration
Trust & Safety 22 / 25

Restricts raw inline HTML (--html) and local file access in PDF/PPTX (--allow-local-files) by default for security.

  • Raw HTML disabled unless --html is explicitly passed
  • Local file reads during headless Chrome rendering blocked unless --allow-local-files is set
Setup & Portability 12 / 15

HTML builds run anywhere Node.js exists; --pdf / --pptx requires Chrome, Chromium, or Edge installed locally.

  • npm install -g @marp-team/marp-cli and brew install marp-cli
Utility & Efficiency 12 / 15

Great agent workflow: LLMs write clean Markdown decks and marp renders polished slides.

  • Exports HTML, PDF, PPTX, and PNG thumbnails from one Markdown source
Maintenance & Lineage 8 / 10

Official Marp Team repository (marp-team/marp-cli) actively maintained under MIT.

  • Official Marp GitHub organization
Docs & Verifiability 7 / 10

Clear README and CLI --help documentation.

  • GitHub README and marp --help

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials required; pure local CLI converter.

Side Effects
Read-Only Local Write
Cost & Quotas

Free open-source software (MIT).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Marp CLI Agent Rules
- Default to HTML output (`-o slides.html`) when headless Chrome/Chromium is unavailable; pass `--pdf` only when a browser binary is present.
- Only enable `--html` or `--allow-local-files` when compiling trusted Markdown sources.
- Do not invoke `--server` or `--watch` synchronously without a timeout.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check Marp CLI version
marp --version

Prints the installed @marp-team/marp-cli and Marpit engine versions.

Controlled Writes & Previews

Build a standalone HTML slide deck
marp slides.md -o dist/slides.html

Compiles slides.md into a self-contained HTML presentation without needing Chrome.

Strengths for Agents

  • + Secure defaults: blocks raw HTML (--html) and local file reads (--allow-local-files) unless explicitly opted in.
  • + Exports HTML, PDF, PPTX, and PNG from simple ----delimited Markdown.
  • + HTML output works completely browser-free in pure Node.js.

Caveats & Pitfalls

  • ! Generating --pdf, --pptx, or images requires Chrome, Chromium, or Edge on the host.
  • ! --server and --watch modes run persistently and block unless backgrounded.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI