LM

ltc6539/mcp-ppt

Developer tools

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

66 stars 15 forks 品質 38 トレンド 0

ltc6539/mcp-ppt は [https://github.com/ltc6539/mcp-ppt.] からインポートされた MCP サーバーの候補です

概要

ltc6539/mcp-ppt は [https://github.com/ltc6539/mcp-ppt.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

このページのトップへ

このMCPサーバーは、PowerPointプレゼンテーションの動的作成、編集、および保存を可能にします。 MCP に組み込まれ、 python-pptx ライブラリを使用して、スライド、画像、テーブル、その他の要素を追加するための柔軟なインターフェイスを提供します。 ユーザーは、大規模な言語モデルとチャットするだけで、プレゼンテーションを容易に編集、保存し、ワークフロー全体を合理化できます。

##特徴

-プレゼンテーションの作成 独自のプレゼンテーション ID を生成するタイトルを使用して新しい PowerPoint プレゼンテーションを初期化します。

  • スライド操作

  • タイトルスライド: オプションのサブタイトルでタイトルスライドを追加します。 -コンテンツスライド: タイトルと箇条書きでスライドを作成します。

  • セクション スライド: セクションディバイダーのスライドを大きい中心のタイトルおよび任意背景色とインサートして下さい。

  • イメージ スライド: ローカルファイルやURLから、タイトルや記述的なaltテキストで画像を含むスライドを追加します。

  • テーブルスライド: 定義されたヘッダーと行データを含むテーブルを含むインサートスライド。

  • 精密管理

  • 提示を救って下さい: 必要に応じて、特定のファイルパスにプレゼンテーションを記述し、一時的なディレクトリを処理する.

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

README

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

PPT maker MCP server

🌐 中文版README

This MCP server enables dynamic creation, editing and saving of PowerPoint presentations. Built upon the MCP and using the python-pptx library, it provides a flexible interface to add slides, images, tables, and other elements. Users could effortlessly make, edit and save presentations by simply chatting with a large language model, streamlining the entire workflow

Features

  • Create Presentations
    Initialize a new PowerPoint presentation using a title that generates a unique presentation ID.

  • Slide Operations

    • Title Slide: Add a title slide with an optional subtitle.
    • Content Slide: Create slides with a title and bullet-point content.
    • Section Slide: Insert a section divider slide with a large centered title and an optional background color.
    • Image Slide: Add slides featuring images from local files or URLs with titles and descriptive alt text.
    • Table Slide: Insert slides containing tables with defined headers and row data.
  • Presentation Management

    • Save Presentation: Write the presentation to a specified file path, handling temporary directories if needed.
    • Download Link: Generate a data URI with base64-encoded presentation content for direct download.
    • Presentation Info: Retrieve metadata about the presentation such as the number of slides and available slide layouts.
    • Presentation Outline: Obtain a text-based outline of the presentation structure via a dedicated resource endpoint.
    • Remove Slide: Delete a slide by its 1-based index.
    • Export to Base64: Export the complete presentation as a base64-encoded string for further processing.

Installation

  1. Clone the Repository

    git clone https://github.com/ltc6539/mcp-ppt.git
    cd mcp-ppt
    
  2. Create a Virtual Environment (Optional but Recommended)

    python3 -m venv .venv
    source .venv/bin/activate  # On Windows use: .venv\Scripts\activate
    
  3. Then add MCP to your project dependencies

    uv add "mcp[cli]"
    uv run mcp
    

You can install this server in Claude Desktop and interact with it right away by running:

mcp install server-local.py

Alternatively, you can test it with the MCP Inspector:

mcp dev server-local.py

If the claude desktop has error, You may need to put the full path to the uv executable in the command field. You can get this by running which uv on MacOS/Linux or where uv on Windows. During startup, the server logs Python and python-pptx version information to stderr. Any errors during execution are also printed to stderr for easy debugging.

Tool List

Each MCP tool function is directly accessible via the MCP server. Below are the primary operations available:

1. Create Presentation

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →