Logo de Marp MCP Server

Marp MCP Server

Communauté
masaki39

MCP server that lets AI agents build and edit Marp slide decks via structured tools.

Éditeurmasaki39
Dépôtmarp-mcp
LangueTypeScript
Forks
7
Étoiles
12
Outils disponibles
3
Type de transportstdio
Catégories
LicenceMIT
Liens
  • Connectez des outils à vos workflows IA

    Marp MCP Server propose des fonctionnalités MCP utilisables par les clients et agents IA compatibles.

  • 3 outils disponibles

    Parcourez les actions invocables ci-dessous, avec leurs noms et descriptions lorsque le serveur les fournit.

  • Configuration prête à copier

    Utilisez les exemples de configuration pour configurer ce serveur dans votre client MCP préféré.

  • Indicateurs de popularité open source

    12 étoiles et 7 forks sur le dépôt associé.

Marp MCP Server

NPM Downloads

[!TIP] This package includes a Claude Code Skill. 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, supporting the built-in Marp themes (default, Gaia, Uncover) and a rich set of academic and professional presentation styles.

⚙️ Setup

Claude Code

Option 1 — CLI, user scope (recommended):

bash
claude mcp add marp-mcp -- npx -y @masaki39/marp-mcp@latest

Option 2 — CLI, project scope (shareable with team via .mcp.json):

bash
claude mcp add --scope project marp-mcp -- npx -y @masaki39/marp-mcp@latest

Option 3 — Manual config (~/.claude/settings.json or .mcp.json):

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

Other MCP clients

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

Setting server default theme/style

Use -t / --theme and -s / --style args to set the server-wide default. Choose from themes: default, gaia, uncover. Styles: default, rich, minimal, dark, corporate, academic, tech:

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

Omitting these flags defaults to default theme and default style.

External styles via marp-cli config

If a marp-cli configuration file (.marprc.{yml,yaml,json,js,cjs,mjs}, marp.config.{js,cjs,mjs}, or a marp field in package.json) is found anywhere up the directory tree at server start, every CSS file listed under its themeSet field is registered as an MCP style. The style name is read from the file's /* @theme NAME */ directive (lowercased). External entries reuse the active theme's layouts, so all existing tools work unchanged.

yaml
# .marprc.yml
themeSet:
  - ./themes/sample.css
css
/* themes/sample.css */
/* @theme sample */
section { background: #fff; }

sample is then a valid value for -s and shows up in list_themes_and_styles with "external": true and the absolute CSS path under source. Built-in style names are protected; any external collision is logged and skipped.

🛠️ Tools

ToolDescription
list_themes_and_stylesList all available themes and styles; shows current server defaults
list_layoutsList available slide layouts for a theme/style combination
create_presentationCreate a new presentation with frontmatter and title slide in one step
manage_slideInsert, replace, delete, or move slides using slide IDs (ID-based operations)
batch_manage_slidesApply multiple slide operations in one call (single file read/write)
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
generate_slide_idsGenerate stable UUIDs for every slide (safe to re-run)
export_slideExport to HTML, PDF, or PPTX using marp-cli
generate_agendaAuto-generate an agenda slide; adds numbered icons to section slides for view-transition morphing (HTML only)
add_image_transitionInsert a full-screen background image slide before a target slide and tag images for view-transition morphing (HTML only)

Per-call theme/style override

list_layouts, manage_slide, and set_frontmatter accept optional theme and style parameters to override the server default for a single call. This lets one server instance handle all theme/style combinations without restarting:

json
{ "theme": "gaia", "style": "rich" }

Omit either parameter to fall back to the server default.

🎨 Example

Rendered samples (GitHub Pages):

📐 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)
contentStandard content slide with heading and free-form markdown body (supports bullets with -, bold with **, code with backticks)

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
agendaClean agenda slide with numbered items and optional time durations (use 'Item name
comparisonSide-by-side comparison with explicit left/right titles and list items, separated by a thin divider

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)
code-showcaseCode block with language badge, optional explanation text, and optional highlight bullet points

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. Add sidebarTitle/sidebarItems to show a sidebar panel on the right side.
listBullet point list with optional citations
tableTable with maroon header. Write the table in standard markdown format.
two-columnTwo-column panel layout. Use panelStyle='comparison' to highlight right panel (maroon) vs left panel (gray) for conventional vs proposed comparisons.
image-rightContent on left, image on right (60:40 split)
image-centerCentered image slide. Set figNumber to switch to figure-caption mode (renders 'Fig. X.' label with optional source attribution).
key-messageConclusion or key takeaway box with maroon highlight
methodologyMethod step flow diagram (use 'Label
statisticsAcademic statistics display with maroon numbers (use 'Number

tech — Modern tech/startup style with violet-cyan gradient accents, strong typography for product demos and engineering talks

LayoutDescription
titleGradient title slide with optional tagline and event/company name
sectionDark full-bleed section divider with cyan eyebrow label and bold heading
contentStandard content slide with heading and free-form markdown body, accented with a violet left border
listBullet list slide with violet arrow markers and thin dividers between items
two-columnTwo-panel layout with violet top borders, ideal for comparing options or features
statisticsLarge gradient metric numbers with optional trend indicators. Use 'Value
quoteStylized pull quote with violet left border, large quote mark, and attribution
highlight-boxAlert/callout box with color-coded variants: 'info' (cyan), 'warning' (amber), 'success' (green)
feature-gridGrid of feature cards, each with an icon, title, and description. Use 'Icon
roadmapHorizontal milestone timeline with status indicators. Use 'Phase

💡 Tips

Adjusting font size

Add an inline style to any slide to override the font size for the whole presentation:

html
<style>section { font-size: 1em; }</style>

The academic style sets font-size: 0.95em by default.

Image morphing transitions (HTML only)

Use generate_agenda and add_image_transition to enable CSS View Transition morphing effects:

  • generate_agenda — scans section slides, inserts an agenda with numbered icons, and adds matching icons to each section slide so the icon morphs between agenda and section views.
  • add_image_transition — inserts a full-screen background slide before an image slide and tags both with matching view-transition-name so the image appears to zoom in as you advance.

Both require HTML export (export_slide with format: "html") to render transitions.

🔧 Development

Working with Examples

Generate markdown examples:

bash
pnpm run examples:generate

Generate HTML files locally:

bash
pnpm run examples:html

Preview examples with live reload (recommended for testing):

bash
pnpm 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

Installation

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

Outils disponibles

  • list_layouts

    ALWAYS read this first before creating Marp slides - lists all available layouts with parameters and descriptions

  • generate_slide_ids

    Automatically generates and assigns unique IDs to all slides in a Marp file that don't have IDs yet

  • manage_slide

    Create slides using this tool with appropriate layouts, then fine-tune by direct editing if needed

Utilisez le serveur MCP Marp MCP Server avec plusieurs modèles IA

TypingMind connecte les outils MCP au niveau de l’espace de travail. Une fois Marp MCP Server connecté, vous pouvez donc l’utiliser avec différents modèles IA dans TypingMind sans avoir à le configurer séparément pour chaque modèle. Cette intégration MCP s’exécute localement sur votre appareil via le connecteur MCP de TypingMind.

Guide de configuration du connecteur local

Choisissez cette méthode si le serveur MCP doit accéder à des fichiers locaux, à des applications ou à des ressources privées sur votre ordinateur.

1

Ouvrir les paramètres MCP

Dans TypingMind, accédez à « Paramètres », puis à « Paramètres avancés » et à « Model Context Protocol », et choisissez « Configurer connecteur ».

  1. Ouvrez TypingMind dans votre navigateur.
  2. Cliquez sur l’icône Paramètres.
  3. Accédez aux paramètres avancés.
  4. Ouvrez la section Model Context Protocol.
  5. Cliquez sur « Configurer connecteur » et choisissez « Cet appareil ».
Écran de configuration du connecteur MCP de TypingMind avec l’option « Cet appareil » sélectionnée
2

Exécuter la commande du connecteur

Choisissez « Cet appareil », copiez la commande depuis TypingMind et exécutez-la dans Terminal. Laissez le processus en cours d’exécution pendant que vous utilisez MCP.

  1. Copiez la commande de configuration affichée par TypingMind.
  2. Ouvrez Terminal sur macOS ou Windows Terminal sur Windows.
  3. Collez et exécutez la commande.
  4. Autorisez l’installation du paquet si Terminal vous demande de confirmer.
  5. Gardez la fenêtre de Terminal ouverte et le processus en cours d’exécution pendant que vous utilisez les outils MCP.
3

Ajoutez Marp MCP Server en tant que serveur

Lorsque l’état du connecteur affiche « Prêt », cliquez sur « Éditer serveurs » et collez la configuration du serveur MCP.

  1. Attendez que l’état du connecteur affiche « Prêt ».
  2. Cliquez sur « Éditer serveurs ».
  3. Collez la configuration du serveur MCP Marp MCP Server.
  4. Enregistrez la liste des serveurs.
  5. Actualisez pour vérifier que le connecteur est toujours prêt.
Paramètres MCP de TypingMind affichant un serveur actif et le bouton « Éditer serveurs »
{
  "mcpServers": {
    "marp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@masaki39/marp-mcp"
      ]
    }
  }
}
4

Utiliser la connexion avec différents modèles

Enregistrez la liste des serveurs, ouvrez « Plugins », activez les outils MCP de Marp MCP Server, puis sélectionnez un modèle IA compatible dans TypingMind et utilisez les outils dans une discussion ou attribuez-les à un agent IA.

  1. Ouvrez la page Plugins dans TypingMind.
  2. Activez les outils MCP de Marp MCP Server.
  3. Démarrez une discussion et choisissez le modèle IA que vous souhaitez utiliser.
  4. Utilisez les outils MCP dans le chat ou attribuez-les à un agent IA.
  5. Passez à un autre modèle IA selon vos besoins sans rétablir la connexion MCP.
Discussion TypingMind utilisant des outils MCP activés avec un modèle d’IA sélectionné
Pouvez-vous utiliser Marp MCP Server pour m’aider dans cette tâche ?
Marp MCP Server
Bien sûr. J’ai tout lu.
Voici ce que j’ai trouvé avec Marp MCP Server.

Foire aux questions

À quoi sert le serveur MCP Marp MCP Server ?

Marp MCP Server est un serveur MCP qui permet aux applications IA compatibles d’accéder à des outils et à des informations contextuelles externes. Dans TypingMind, il vous suffit d’ajouter ce serveur MCP une seule fois pour rendre ses outils disponibles dans votre espace de travail IA.

Puis-je utiliser le serveur MCP Marp MCP Server avec plusieurs modèles IA dans TypingMind ?

Oui. TypingMind connecte les outils MCP au niveau de l’espace de travail. Vous pouvez donc utiliser Marp MCP Server avec différents modèles IA comme Claude, ChatGPT, Gemini ou d’autres modèles configurés dans TypingMind, sans avoir à configurer le serveur MCP séparément pour chaque modèle.

Pourquoi utiliser le connecteur MCP Marp MCP Server avec TypingMind ?

TypingMind est l’une des meilleures interfaces de chat avec les LLM, car elle réunit plusieurs modèles IA, prompts, plugins, agents IA, clés API et outils MCP dans un seul espace de travail. Une fois Marp MCP Server connecté, vous pouvez utiliser ses outils MCP avec vos modèles préférés tout en gardant vos discussions bien organisées dans TypingMind.

Comment connecter le serveur MCP Marp MCP Server à TypingMind ?

Marp MCP Server fonctionne via le connecteur MCP local de TypingMind. C’est l’option idéale lorsque le serveur MCP doit accéder à des fichiers locaux, des applications de bureau, des outils en ligne de commande ou des ressources privées sur votre ordinateur.

Quels outils le serveur MCP Marp MCP Server propose-t-il dans TypingMind ?

Marp MCP Server propose 3 outils MCP que vous pouvez activer depuis la page Plugins de TypingMind et utiliser dans les discussions ou attribuer à des agents IA.

Dois-je partager mes clés API avec TypingMind pour utiliser le serveur MCP Marp MCP Server ?

Non. TypingMind privilégie le fonctionnement local et vous permet de garder le contrôle de vos fournisseurs de modèles, clés API, prompts et paramètres MCP. Si Marp MCP Server nécessite une authentification, ajoutez les en-têtes, les paramètres OAuth ou la configuration locale requis pour ce serveur MCP lors de la création de la connexion.

Serveurs MCP similaires

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇