MM

masaki39/marp-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

15 stars 7 forks 品質 78 トレンド 35MIT

AIエージェントが構築されたツールを使用して、マープスライドデッキを構築および編集できるMCPサーバー.

概要

このパッケージには、クロードコードスキルが含まれています。 インストール後、Claude Code は /marp コマンドを使用して、組み込み CLI を使用して Marp プレゼンテーションを作成できます。MCP サーバー構成は必要ありません。 マルププレゼンテーションの作成と編集を行うMCPサーバー。 このMCPサーバーでは、LLMは、組み込みのMarpテーマ(デフォルト、Gaia、Uncover)と豊富な学術的および専門的なプレゼンテーションスタイルをサポートする、指定されたレイアウトに応じてMarkdownファイルを編集することができます。 -t / --theme と -s / --style args を使用して、サーバー全体のデフォルトを設定します。 テーマから選ぶ:デフォルト、ガイア、アンカバー。 スタイル: デフォルト、リッチ、最小限、ダーク、企業、学術、技術: これらのフラグをデフォルトテーマとデフォルトスタイルに省略します。 marp-cli の設定ファイル (.marprc.{yml,yaml,json,js,cjs,mjs}, marp.config.{js,cjs,mjs}, またはpackage.json の marp フィールド) が、サーバーの起動時にディレクトリツリーを上回るところにある場合、テーマSet フィールドにリストされているすべての CSS は MCP スタイルとして登録されます.

概要(AI 翻訳)

[!TIP] このパッケージには、クロードコードスキルが含まれています。 インストール後、Claude Code は、組み込み CLI を使用した /marp] コマンドで、MCP サーバーの構成は必要ありません。 ツイート 自動更新プラグインのインストール: ツイート

マルププレゼンテーションの作成と編集を行うMCPサーバー。 このMCPサーバーでは、LLMは、組み込みのMarpテーマ(デフォルト、Gaia、Uncover)と豊富な学術的および専門的なプレゼンテーションスタイルをサポートする、指定されたレイアウトに応じてMarkdownファイルを編集することができます。

⚙️ セットアップ

##Claudeコード

オプション1 — CLI、ユーザースコープ (推奨):

オプション2 — CLI、プロジェクトスコープ([.mcp.json]を介してチームと共有)

オプション3 — 手動コンフィグ (~/.claude/settings.json) または [.mcp.json]):

###その他のMCPクライアント

サーバのデフォルトテーマ/スタイルの設定

[-t/ --theme/ [-s]]/ [[--style]] args を使用して、サーバー全体のデフォルトを設定します。 テーマから選ぶ: default, gaia, [uncover. スタイル: [[T11], rich], [[T13], [dark], [corporate], [academic, [[tech]]:

これらのフラグのデフォルトをdefaultテーマと[defaultスタイルに省略します。

marp-cli config による外部スタイル

marp-cli の設定ファイル (`.marprc.) の場合.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Marp MCP Server

[!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):

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

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

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

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

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

Other MCP clients

{
  "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:

{
  "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.

# .marprc.yml
themeSet:
  - ./themes/sample.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

Tool Description
list_themes_and_styles List all available themes and styles; shows current server defaults
GitHub で README 全文を見る

インストール

npx -y @masaki39/marp-mcp@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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