marp-mcp

masaki39/marp-mcp

3.3

If you are the rightful owner of marp-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Marp MCP Server is designed to facilitate the creation and editing of Marp presentations with AI assistance, supporting various themes and layouts.

Tools
4
Resources
0
Prompts
0

Marp MCP Server

NPM Downloads

[!TIP] This package includes a . After installing, Claude Code can create Marp presentations via the /marp command using the built-in CLI — no MCP server configuration required!

Auto-updating plugin install:

/plugin marketplace add masaki39/marp-mcp
/plugin install marp@marp-mcp

An MCP server for creating and editing Marp presentations with AI assistance. This MCP server allows LLMs to edit Markdown files according to a specified layout, and now supports the default Marp theme along with Gaia, Uncover, and the in this repository.

Setup

Add to your MCP client configuration:

{
  "mcpServers": {
    "marp-mcp": {
      "command": "npx",
      "args": ["-y", "@masaki39/marp-mcp@latest"]
    }
  }
}

Theme selection

Use -t or --theme args for theme selection. Choose from default, gaia, uncover, or academic:

{
  "command": "npx",
  "args": [
    "-y",
    "@masaki39/marp-mcp@latest",
    "-t",
    "default"]
}

Tools

ToolDescription
list_layoutsList all available slide layouts with parameters and descriptions
generate_slide_idsGenerate slide IDs for every slide
manage_slideInsert, replace, or delete slides using slide IDs (ID-based operations)
set_frontmatterEnsure marp, theme, header, and paginate frontmatter fields are present
read_slideRead slide content by ID or list all slides with their IDs and positions

Style selection

Use -s or --style args for style selection. Choose from default, rich, minimal, dark, corporate, academic. Styles are designed for the default theme:

{
  "command": "npx",
  "args": [
    "-y",
    "@masaki39/marp-mcp@latest",
    "-s",
    "rich"]
}

Available Layouts

Default theme

LayoutDescription
titleTitle slide with heading and content
sectionSection break slide with centered title and subtitle
listList slide with bullet points (max 8 items)
tableTable slide with description (max 7 rows)
image-rightSlide with image on right and content list (allows more explanation than image-center)
image-centerSlide with centered image (fixed h:350)

Styles

rich — Rich visual style with cards, timelines, grids, gradients, and more
LayoutDescription
titleHero title slide with dark gradient background
sectionSection divider slide with gradient background
listList slide with bullet points
tableRich table slide with styled header and zebra stripes
image-rightRich image-right slide with content on left and image on right (60:40 split)
image-centerRich centered image slide with rounded corners and shadow
image-splitImage on the left with content list on the right (40:60 split)
timelineVertical timeline with labeled events (use 'Label: Description' format)
card-gridGrid of cards with icon, title, and description (use 'Icon
statisticsStatistics display with large numbers and labels (use 'Number
highlight-boxCentered gradient message box for key takeaways or announcements
two-column-panelTwo-column layout with styled panels, optional accent highlight on one panel
three-column-panelThree-column layout with styled panels (use 'Title
image-comparisonTwo images side by side with labels for comparison
contentFree-form markdown content slide
quoteQuote slide with attribution
processHorizontal process flow with numbered steps and arrows
two-columnSimple two-column layout with headings and lists
big-statementLarge impactful statement slide with bold centered text
sidebarMain content with sidebar for supplementary info, definitions, or references
progress-barHorizontal progress bars for metrics visualization (use 'Label
chart-barPure CSS horizontal bar chart for data visualization (use 'Label
timeline-horizontalHorizontal timeline with labeled events (use 'Label: Description' format)
pull-quoteDecorative impact quote with large quotation marks, centered layout
bento-gridBento Box modular grid for mixed content (use 'Size
minimal — Clean, flat design with typography focus and minimal decoration
LayoutDescription
titleClean black title slide with white text
sectionSimple black section divider slide
contentPure markdown content slide
listSimple bullet list slide
tableMinimal table with black header and clean borders
image-rightText on left, image on right (60:40 split), clean design
image-centerCentered image slide, clean and minimal
quoteQuote slide with left border accent, no extra decoration
two-columnTwo-column layout with a thin divider line
big-statementLarge impactful statement slide with bold centered text
statisticsMinimal statistics display with black numbers and thin underline (use 'Number
highlight-boxMinimal message box for key takeaways
pull-quoteMinimal decorative impact quote with large quotation marks
dark — Dark mode style with indigo and emerald accents, developer-friendly
LayoutDescription
titleDark title slide with indigo-violet gradient
sectionDark section divider with slate-to-indigo gradient
contentFree-form markdown content slide on dark background
listBullet list slide on dark background
tableDark table with indigo header
card-gridDark card grid with icon, title, and description (use 'Icon
timelineDark vertical timeline with indigo-to-emerald gradient line (use 'Label: Description' format)
statisticsDark statistics display with large indigo numbers (use 'Number
image-rightText on left, image on right on dark background (60:40 split)
terminalTerminal-style command display on dark background (prefix lines with '$ ' for commands)
quoteDark quote slide with attribution
image-centerDark centered image slide
processDark horizontal process flow with numbered steps and arrows
two-columnDark two-column layout with panels
big-statementDark large impactful statement slide with bold centered text
highlight-boxDark gradient message box for key takeaways or announcements
progress-barDark horizontal progress bars for metrics visualization (use 'Label
chart-barDark CSS horizontal bar chart for data visualization (use 'Label
timeline-horizontalDark horizontal timeline with labeled events (use 'Label: Description' format)
code-comparisonSide-by-side code comparison (Before/After or two languages)
corporate — Professional business style with navy color scheme, structured layouts
LayoutDescription
titleProfessional navy gradient title slide
sectionCorporate navy-to-sky section divider slide
contentStandard business content slide with markdown
listBusiness bullet list slide
tableBusiness table with navy header and clean rows
two-columnTwo-column comparison layout with navy-accented panels
three-columnThree-column layout with sky-accented panels
statisticsBusiness metrics display with large navy numbers (use 'Number
processHorizontal business process flow with numbered steps
agendaAgenda slide with numbered items and optional duration (use 'Item name
image-rightText on left, image on right, professional business style (60:40 split)
highlight-boxNavy key message box for important announcements or takeaways
quoteCorporate quote slide with attribution
image-centerCorporate centered image slide
big-statementCorporate large impactful statement slide with bold centered text
sidebarMain content with sidebar for supplementary info or references
progress-barCorporate horizontal progress bars for metrics visualization (use 'Label
chart-barCorporate CSS horizontal bar chart for data visualization (use 'Label
pull-quoteCorporate decorative impact quote with large quotation marks
quadrant2x2 matrix for SWOT, risk analysis, or priority grids
academic — Academic conference presentation style with maroon color scheme, structured for scholarly talks
LayoutDescription
titleAcademic title slide with author, affiliation, and date
sectionMaroon section divider with optional number
contentFree-form markdown content slide
listBullet point list with optional citations
tableTable with maroon header
two-columnTwo-column panel layout for comparisons or parallel content
image-rightContent on left, image on right (60:40 split)
image-centerCentered image with description
figure-captionFigure with numbered caption and source attribution
key-messageConclusion or key takeaway box with maroon highlight
methodologyMethod step flow diagram (use 'Label
comparisonSide-by-side comparison (e.g., conventional vs proposed method)
statisticsAcademic statistics display with maroon numbers (use 'Number
sidebarMain content with sidebar for definitions, notes, or references
results-tableResults table with best-value highlighting (prefix cell with * to highlight)

Example

Rendered samples (GitHub Pages):

Development

Working with Examples

Generate markdown examples:

npm run examples:generate

Generate HTML files locally:

npm run examples:html

Preview examples with live reload (recommended for testing):

npm run examples:server
# Open http://localhost:8080 in your browser

Note: HTML files are automatically generated and deployed to GitHub Pages by CI/CD. They are not committed to git.

License

MIT License

Links