Skip to main content
Glama
README.md2.63 kB
# Marp MCP Server ![NPM Downloads](https://img.shields.io/npm/dt/%40masaki39%2Fmarp-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 [Academic](./assets/themes/academic.css) in this repository. <a href="https://glama.ai/mcp/servers/@masaki39/marp-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@masaki39/marp-mcp/badge" alt="Marp Server MCP server" /> </a> ## Setup Add to your MCP client configuration: ```json { "mcpServers": { "marp-mcp": { "command": "npx", "args": ["-y", "@masaki39/marp-mcp"] } } } ``` ### Theme selection Use `-t` or `--theme` args for theme selection. Choose from `default`, `gaia`, `uncover`, or `academic`: ```json { "command": "npx", "args": [ "-y", "@masaki39/marp-mcp", "-t", "default"] } ``` ## Tools | Tool | Description | |------|-------------| | `list_layouts` | List all available slide layouts with parameters and descriptions | | `generate_slide_ids` | Generate slide IDs for every slide | | `manage_slide` | Insert, replace, or delete slides using slide IDs (ID-based operations) | | `set_frontmatter` | Ensure `marp`, `theme`, `header`, and `paginate` frontmatter fields are present | ## Available Layouts | Layout | Description | |--------|-------------| | `title` | Title slide with left-aligned heading and metadata | | `section` | Section divider with centered title and subtitle | | `list` | Content slide with heading and bullet points or text | | `table` | Table layout with customizable size and alignment | | `two-column` | Two-column layout for side-by-side content *(academic theme only)* | | `image-right` | Layout with image on the right side | | `image-center` | Centered image layout with adjustable dimensions | ## Example Rendered samples (GitHub Pages): - [Academic theme](https://masaki39.github.io/marp-mcp/assets/examples/html/example-academic-theme.html) - [Default theme](https://masaki39.github.io/marp-mcp/assets/examples/html/example-default-theme.html) - [Gaia theme](https://masaki39.github.io/marp-mcp/assets/examples/html/example-gaia-theme.html) - [Uncover theme](https://masaki39.github.io/marp-mcp/assets/examples/html/example-uncover-theme.html) ## License MIT License ## Links - [GitHub](https://github.com/masaki39/marp-mcp) - [npm](https://www.npmjs.com/package/@masaki39/marp-mcp) - [Marp](https://marp.app/) - [Model Context Protocol](https://modelcontextprotocol.io)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/masaki39/marp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server