Office-PowerPoint-MCP-Server
Python-pptx を使用した PowerPoint 操作用の MCP (Model Context Protocol) サーバーです。このサーバーは、MCP プロトコルを介して PowerPoint プレゼンテーションを作成、編集、操作するためのツールを提供します。
例
ポンプト
出力
デモの GIF -> (./public/demo.mp4)
特徴
- すべての要素を含む Open XML プレゼンテーション (.pptx ファイル) をラウンドトリップします。
- スライドを追加する
- テキストプレースホルダーを入力します。たとえば、箇条書きのスライドを作成します。
- 任意の位置とサイズでスライドに画像を追加する
- スライドにテキストボックスを追加し、テキストのフォントサイズと太字を操作する
- スライドに表を追加する
- スライドに自動図形(多角形、フローチャート図形など)を追加する
- 縦棒グラフ、横棒グラフ、折れ線グラフ、円グラフを追加して操作する
- タイトルや件名などの主要なドキュメントプロパティにアクセスして変更する
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の PowerPoint Manipulation Server を自動的にインストールするには:
前提条件
- Python 3.10以上
- pip パッケージマネージャー
インストールオプション
オプション 1: セットアップ スクリプトを使用する (推奨)
PowerPoint MCP サーバーをセットアップする最も簡単な方法は、インストール プロセスを自動化する、提供されているセットアップ スクリプトを使用することです。
このスクリプトは次のことを行います。
- 前提条件を確認する
- インストール オプションを提供します:
- PyPIからインストールする(ほとんどのユーザーに推奨)
- ローカル開発環境をセットアップする
- 必要な依存関係をインストールする
- 適切なMCP構成ファイルを生成する
- Claude Desktopとの統合手順を説明します
スクリプトは、環境に応じてさまざまなパスを提供します。
uvx
がインストールされている場合は、UVXを使用して設定されます(推奨)- サーバーがすでにインストールされている場合は、設定オプションが提供されます。
- サーバーがインストールされていない場合は、インストール方法を提供します
オプション2: 手動インストール
- リポジトリをクローンします。
- 依存関係をインストールします:
- サーバーを実行可能にします。
使用法
サーバーの起動
サーバーを実行します。
MCP構成
オプション1: ローカルPythonサーバー
MCP 設定構成ファイルにサーバーを追加します。
オプション 2: UVX を使用する (ローカルインストールは不要)
uvx
がインストールされている場合は、ローカルにインストールせずに PyPI から直接サーバーを実行できます。
利用可能なツール
プレゼンテーションツール
- create_presentation : 新しいPowerPointプレゼンテーションを作成する
- open_presentation : ファイルから既存の PowerPoint プレゼンテーションを開く
- save_presentation : 現在のプレゼンテーションをファイルに保存する
- get_presentation_info : 現在のプレゼンテーションに関する情報を取得する
- set_core_properties : 現在のプレゼンテーションのコアドキュメントプロパティを設定する
スライドツール
- add_slide : 現在のプレゼンテーションに新しいスライドを追加する
- get_slide_info : 特定のスライドに関する情報を取得する
- populate_placeholder : プレースホルダーにテキストを入力する
- add_bullet_points : プレースホルダーに箇条書きを追加する
テキストツール
- add_textbox : スライドにテキストボックスを追加する
画像ツール
- add_image : スライドに画像を追加する
- add_image_from_base64 : base64 でエンコードされた文字列からスライドに画像を追加する
テーブルツール
- add_table : スライドに表を追加する
- format_table_cell : 表のセルをフォーマットする
シェイプツール
- add_shape : スライドに自動シェイプを追加する
チャートツール
- add_chart : スライドにグラフを追加する
例
新しいプレゼンテーションを作成する
チャートの追加
ライセンス
マサチューセッツ工科大学
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
モデル コンテキスト プロトコルを介してプログラムで PowerPoint プレゼンテーションを作成および編集できるサーバー。スライド、画像、テキスト ボックス、グラフ、表の追加などの機能をサポートします。
Related MCP Servers
- AsecurityAlicenseAqualityCreates and manipulates PowerPoint presentations with capabilities for adding various slide types, generating images, and incorporating tables and charts through natural language commands.Last updated -1124PythonMIT License
- -securityAlicense-qualityA server that provides document processing capabilities using the Model Context Protocol, allowing conversion of documents to markdown, extraction of tables, and processing of document images.Last updated -6PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables AI models to create and manipulate PowerPoint presentations with advanced features like financial charts, formatting, and template management.Last updated -1Python
- AsecurityAlicenseAqualityA server that enables AI assistants to create and edit PowerPoint presentations with features for adding various slide types, tables, charts, and AI-generated images through Stable Diffusion.Last updated -111PythonMIT License