Skip to main content
Glama
PowerPoint MCP Server

PowerPoint MCP Server

by Ichigo3766

パワーポイントMCPサーバー

パワーポイントプレゼンテーションを作成するMCPサーバープロジェクト

このフォークの主な変更点

together ai の代わりに Stable Diffusion (ForgeUI/Automatic-1111) API を使用します。

Related MCP server: PowerPoint Editor MCP Server

コンポーネント

ツール

サーバーは複数のツールを実装します:

  • create-presentation : プレゼンテーションを開始する

    • 必須の文字列引数として「name」を受け取ります

    • プレゼンテーションオブジェクトを作成する

  • add-slide-title-only : プレゼンテーションにタイトルスライドを追加します

    • 必須の文字列引数として「presentation_name」と「title」を取ります

    • 「タイトル」でタイトルスライドを作成し、プレゼンテーションに追加します

  • add-slide-section-header : プレゼンテーションにセクションヘッダースライドを追加します

    • 必須の文字列引数として「presentation_name」と「header」を取ります

    • 「ヘッダー」(およびオプションで「サブタイトル」)を含むセクション ヘッダー スライドを作成し、プレゼンテーションに追加します。

  • add-slide-title-content : プレゼンテーションにタイトルとコンテンツスライドを追加します

    • 必須の文字列引数として「presentation_name」、「title」、「content」を取ります

    • 「タイトル」と「コンテンツ」を含むタイトルとコンテンツスライドを作成し、プレゼンテーションに追加します。

  • add-slide-title-with-table : 表付きのタイトルスライドを追加します

    • 必須の文字列および配列引数として「presentation_name」、「title」、「data」を取ります

    • 「タイトル」でタイトルスライドを作成し、データから動的に構築されたテーブルを追加します

  • add-slide-title-with-chart : チャート付きのタイトルスライドを追加します

    • 必須の文字列およびオブジェクト引数として「presentation_name」、「title」、「data」を取ります

    • 「title」でタイトルスライドを作成し、データから動的に構築されたグラフを追加します。データソースから最適なグラフの種類を判断します。

  • add-slide-picture-with-caption : キャプション付きの画像スライドを追加します

    • 必須の文字列引数として「presentation_name」、「title」、「caption」、「image_path」を取ります

    • 指定された「title」、「caption」、「image_path」を使用して、キャプション付きの画像スライドを作成します。「generate-and-save-image」ツールで作成した画像を使用するか、ユーザーが指定した「image_path」を使用できます(画像はfolder_path内に存在している必要があります)。

  • open-presentation : プレゼンテーションを編集用に開きます

    • 必須引数として「presentation_name」を指定します

    • 指定されたプレゼンテーションを開き、そのバックアップを「backup.pptx」として自動的に保存します。

    • このツールを使うと、クライアントは既存のpptxファイルを操作し、スライドを追加することができます。最後に「save-presentation」ツールを呼び出すようにしてください。

  • save-presentation : プレゼンテーションをファイルに保存します。

    • 必須の引数として「presentation_name」を取ります。

    • プレゼンテーションをfolder_pathに保存します。クライアントはプロセスを完了するためにこのツールを呼び出す必要があります。

  • generate-and-save-image : T2Iモデルを使用してプレゼンテーション用の画像を生成します

    • 必須の文字列引数として「prompt」と「file_name」を取ります

    • 安定した拡散API(ForgeUI/Automatic1111)を使用して画像を作成します

構成

ForgeUI API 経由で画像を生成するには環境変数が必要です

"env": 
{
  "SD_WEBUI_URL": "http://your-sd-webui-url:7860",
  "SD_AUTH_USER": "your-username",  // Optional: if authentication is enabled
  "SD_AUTH_PASS": "your-password",  // Optional: if authentication is enabled
}

フォルダパスが必要です。すべてのプレゼンテーションと画像はこのフォルダに保存されます。

"--folder-path",
  "/path/to/decks_folder"

クイックスタート

インストール

UVがインストールされていることを確認してください

macOS/Linux

curl -LsSf https://astral.sh/uv/install.sh | sh

ウィンドウズ

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

リポジトリをクローンする

git clone https://github.com/Ichigo3766/powerpoint-mcp.git

Claude Desktop(どのmcpクライアントでも動作します)

MacOS の場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

  • --directory : 上記のリポジトリをクローンしたパス (例: /full/path/to/powerpoint-mcp/src)

  • --folder-path : PowerPointの資料と画像を保存するパス。また、MCPサーバーで使用したい画像を配置するパスも指定します。

  # Add the server to your claude_desktop_config.json
  "mcpServers": {
    "powerpoint": {
      "command": "uv",
      "env": {
        "SD_WEBUI_URL": "http://your-sd-webui-url:7860",
        "SD_AUTH_USER": "your-username",  // Optional: if authentication is enabled
        "SD_AUTH_PASS": "your-password",  // Optional: if authentication is enabled
      },
      "args": [
        "--directory",
        "/path/to/powerpoint",
        "run",
        "powerpoint",
        "--folder-path",
        "/path/to/decks_folder"
      ]
    }
  }

使用例

Create a presentation about fish, create some images and include tables and charts
Create a presentation about the attached paper. Please use the following images in the presentation:
author.jpeg

SQLite MCP サーバーがインストールされているものとします。

Review 2024 Sales Data table. Create a presentation showing current trends, use tables and charts as appropriate

クレジット

このプロジェクトは、 supercursesによるPowerPointのフォークであり、追加機能と変更が加えられています。元のプロジェクトは、この MCP サーバーの基盤となりました。

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

Available Tools

11 tools
add-slide-comparisonA

Add a new a comparison slide with title and comparison content. Use when you wish to compare two concepts

Inputs: left_side_content (required), left_side_title (required), presentation_name (required), right_side_content (required), +2 more.

add-slide-picture-with-captionC

Add a new slide with a picture and caption to an existing presentation

Inputs: caption (required), image_path (required), presentation_name (required), title (required).

add-slide-section-headerC

This tool adds a section header (a.k.a segue) slide to the presentation you are working on. The tool doesn't return anything. It requires the presentation_name to work on.

Inputs: header (required), presentation_name (required), subtitle.

add-slide-title-contentC

Add a new slide with a title and content to an existing presentation

Inputs: content (required), presentation_name (required), title (required).

add-slide-title-onlyB

This tool adds a new title slide to the presentation you are working on. The tool doesn't return anything. It requires the presentation_name to work on.

Inputs: presentation_name (required), title (required).

add-slide-title-with-chartC

Add a new slide with a title and chart. The chart type will be automatically selected based on the data structure.

Inputs: data (required), presentation_name (required), title (required).

add-slide-title-with-tableC

Add a new slide with a title and table containing the provided data

Inputs: data (required), presentation_name (required), title (required).

create-presentationB

This tool starts the process of generating a new powerpoint presentation with the name given by the user. Use this tool when the user requests to create or generate a new presentation.

Inputs: name (required).

generate-and-save-imageB

Generates an image using a FLUX model and save the image to the specified path. The tool will return a PNG file path. It should be used when the user asks to generate or create an image or a picture.

Inputs: file_name (required), prompt (required).

open-presentationB

Opens an existing presentation and saves a copy to a new file for backup. Use this tool when the user requests to open a presentation that has already been created.

Inputs: presentation_name (required), output_path.

save-presentationA

Save the presentation to a file. Always use this tool at the end of any process that has added slides to a presentation.

Inputs: presentation_name (required), output_path.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 11 tools

    Disambiguation4/5

    Most tools have distinct purposes focused on slide types or presentation management, but 'generate-and-save-image' stands out as unrelated to PowerPoint operations, potentially causing confusion. The slide-adding tools are well-differentiated by content type (comparison, picture, title-only, etc.), making them easy to distinguish for their specific use cases.

    Naming Consistency4/5

    The naming follows a consistent 'verb-noun' pattern with hyphens (e.g., add-slide-comparison, create-presentation), which is clear and predictable. However, 'generate-and-save-image' deviates slightly by including an 'and' conjunction, breaking the pure verb-noun flow, though it remains readable and understandable.

    Tool Count4/5

    With 11 tools, the count is reasonable for a PowerPoint server, covering slide creation, presentation management, and an image generation tool. It's slightly on the higher side but well-scoped for the domain, with each tool serving a specific function without obvious redundancy.

    Completeness3/5

    The toolset covers core presentation operations like creating, opening, saving, and adding various slide types, but lacks tools for editing or deleting slides, updating content, or managing slide order. The inclusion of 'generate-and-save-image' adds an unrelated capability, but for PowerPoint-specific tasks, there are notable gaps in lifecycle coverage.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers