PowerPoint MCP Server

by Ichigo3766
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides access to GitHub repositories for cloning the MCP server codebase

  • Enables working with SQLite databases to analyze and visualize data in presentations, as mentioned in the usage example for reviewing sales data

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

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

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

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

コンポーネント

ツール

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

  • 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ファイルをご覧ください。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

AI アシスタントが Stable Diffusion を通じてさまざまな種類のスライド、表、グラフ、AI 生成画像を追加する機能を使用して PowerPoint プレゼンテーションを作成および編集できるようにするサーバーです。

  1. Main Changes of this fork
    1. Components
      1. Tools
    2. Configuration
      1. Quickstart
        1. Install
        2. Usage Examples
      2. Credits
        1. License
          ID: 0fii9lc4bq