MCP Server for PowerPoint

io.github.trsdn由 GitHub 帳號 trsdn 發布v1.1.0更新於 Oct 25, 2026

PowerPoint automation for AI - Slides, Shapes, Text, Charts and more. Windows only.

已驗證STDIO僅桌面效率與工作流媒體與設計

概覽

AI 產生的概覽

一個僅限 Windows 的 MCP 伺服器,讓 AI 助理操控本機執行的 Microsoft PowerPoint,建立、編輯、排版並匯出簡報。

可以做什麼
開啟、建立、儲存、列出與驗證簡報檔案,從其他簡報匯入投影片,並匯出為 PDF、圖片、影片或列印,另存新檔以及擷取文字和圖片。建立、複製、移動、刪除、隱藏投影片並套用版面配置,管理母片、版面配置、預留位置、背景、主題、節和自訂放映。新增、移動、縮放、設定樣式、群組、對齊和調整圖案層級,插入圖片、媒體、SmartArt、表格和圖表及其資料與格式。讀取和設定文字、項目符號、間距、超連結、標籤、演講者備忘稿、註解、頁首頁尾和文件屬性。新增動畫和轉場效果、播放簡報、檢查拼字、審查協助工具與閱讀順序,並執行 VBA 巨集、管理 PowerPoint 視窗。
適用情境
適用於在裝有 PowerPoint 的 Windows 電腦上,希望助理以對話方式製作或修改簡報的情境,例如產生投影片、填入圖表和表格、套用主題、新增備忘稿和註解,或匯出為 PDF 和影片。不適合伺服器端處理或大批量批次處理,也不適用於 Linux 和 macOS。
執行需求
Windows x64 桌面環境,並安裝 Microsoft PowerPoint 2016 或更新版本;COM 互通僅限 Windows。以本機 stdio 程序執行,可透過 .NET 全域工具 PptMcp.McpServer 安裝(需要 .NET 執行階段),或使用 npm 包裝套件,首次使用時下載自包含版本。未宣告任何帳號、API 金鑰或環境變數。使用前需關閉已開啟的簡報,因為伺服器需要獨占存取。
安裝前請注意
此伺服器操控真實的 PowerPoint 應用程式,可建立、編輯、儲存、刪除和覆寫簡報、投影片、圖案和註解,執行 VBA 巨集並啟動放映,變更是真實的,請保留備份。它需要獨占存取已開啟的檔案。啟動時會對外發出一次檢查新版本的請求,可用 PPTMCP_NO_UPDATE_CHECK=1 關閉。助理傳送給其模型供應商的內容受該供應商政策約束。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MCP Server for PowerPoint,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

PptMcp - MCP Server for Microsoft PowerPoint

[Release] [Release Workflow] [NuGet MCP Server] [NuGet CLI] [License: MIT] [.NET] [Platform] [Built with Copilot]

[Install in VS Code] [Install in VS Code Insiders] [Install in Cursor]

The install badges register the server as ppt-mcp running the mcp-ppt command. Install the tool first with dotnet tool install --global PptMcp.McpServer, otherwise the client has nothing to launch.

Automate PowerPoint with AI — A Model Context Protocol (MCP) server for comprehensive PowerPoint automation through conversational AI.

PptMcp enables AI assistants such as GitHub Copilot, Claude, and ChatGPT to automate Microsoft PowerPoint through natural language commands. It covers real presentation work end to end: create slides, edit text, place shapes and images, build charts and tables, apply themes, run VBA, export to PDF or video, and manage live PowerPoint windows safely through the native COM API.

Origin and credit: This project builds on the original MCP automation foundation created by Stefan Broenner (sbroenne) in mcp-server-excel, extended here into a full PowerPoint-focused toolchain.

Releases and packages: GitHub Releases | NuGet: PptMcp.McpServer | NuGet: PptMcp.CLI

For multi-phase build / verify / repair workflows from source, the repo also includes the official orchestration client under src\PptMcp.Agent.

🛡️ 100% Safe — Uses PowerPoint's Native COM API — Zero risk of file corruption. Uses PowerPoint's official COM API ensuring complete safety and compatibility.

💡 Interactive Development — See results instantly in PowerPoint. Add slides, create charts, format text, and iterate. PowerPoint becomes your AI-powered workspace.

Technical Requirements:

  • ⚠️ Windows Only — COM interop is Windows-specific
  • ⚠️ PowerPoint Required — Microsoft PowerPoint 2016 or later must be installed
  • ⚠️ Desktop Environment — Controls actual PowerPoint process (not for server-side processing)

🎯 What You Can Do

33 specialized tools with 224 operations:

  • 📁 Files (1 tool, 6 ops) — Open, close, create, save, list, validate presentations
  • 📄 Slides (1 tool, 15 ops) — Create, duplicate, move, delete, apply layouts, hide/unhide, thumbnails, clone-with-replace
  • 🔷 Shapes (1 tool, 35 ops) — Add, move, resize, fill, gradient, line, shadow, glow, reflection, opacity, 3D, rotation, z-order, grouping, connectors, merge, flip, scale
  • ✏️ Text (1 tool, 18 ops) — Get/set text, find, replace, format, spacing, bullets, case, symbols, alt-text audit
  • 📋 Slide Tables (1 tool, 13 ops) — Create, read/write cells and rows, add/delete rows and columns, merge, format, borders
  • 📊 Charts (1 tool, 10 ops) — Create, set data, title, type, legend, axis titles, data table
  • 🖼️ Images (1 tool, 4 ops) — Insert, crop, brightness/contrast, transparent color
  • 🎥 Media (1 tool, 4 ops) — Insert audio/video, media info, playback settings
  • 🧩 SmartArt (1 tool, 6 ops) — Diagram info, add/delete nodes, layout, style, level changes
  • 🎨 Design/Themes (1 tool, 19 ops) — Themes, color schemes, fonts, archetypes, palettes, layout grids, style profiles
  • 🖌️ Slide Background (1 tool, 5 ops) — Get, solid color, gradient, image, reset to master
  • 🎭 Masters & Layouts (1 tool, 5 ops) — List masters and layouts, edit master shapes, delete unused
  • 📌 Placeholders (1 tool, 3 ops) — List placeholders, set text, set image
  • 📃 Headers & Footers (1 tool, 2 ops) — Get/set footer text, slide numbers, date
  • 📐 Page Setup (1 tool, 3 ops) — Slide size, orientation, first slide number
  • ↔️ Shape Alignment (1 tool, 2 ops) — Align and distribute shapes on slides
  • 🎬 Animations (1 tool, 6 ops) — List, add, remove, clear, timing, reorder
  • 🔀 Transitions (1 tool, 4 ops) — Get, set, remove, copy to all slides
  • 📺 Slideshow (1 tool, 5 ops) — Start, stop, navigate, status, configure
  • 🎞️ Custom Shows (1 tool, 3 ops) — Create, list, delete custom slide shows
  • 📂 Sections (1 tool, 4 ops) — List, add, rename, delete presentation sections
  • 📥 Slide Import (1 tool, 1 op) — Import slides from another .pptx file
  • 📝 Notes (1 tool, 5 ops) — Get, set, clear, append, read all speaker notes
  • 💬 Comments (1 tool, 4 ops) — Add, list, delete, clear slide comments
  • 🔗 Hyperlinks (1 tool, 5 ops) — Add, get, list, remove, validate hyperlinks
  • 🏷️ Tags (1 tool, 3 ops) — Custom metadata on slides and shapes
  • 🗂️ Document Properties (1 tool, 4 ops) — Get/set built-in and custom properties
  • ♿ Accessibility (1 tool, 3 ops) — Audit, get/set reading order
  • 🔤 Proofing (1 tool, 3 ops) — Spell check, get/set language
  • 📤 Export (1 tool, 9 ops) — PDF, slide images, video (MP4), print, save-as, extract text/images
  • 🖨️ Print Options (1 tool, 2 ops) — Get/set print configuration
  • ⚙️ VBA (1 tool, 5 ops) — List, view, import, delete, run macros
  • 🪟 Window (1 tool, 7 ops) — Info, minimize, restore, maximize, zoom, view mode

📚 Complete Feature Reference → — Detailed documentation of all 224 operations

💬 Example Prompts

Create & Build Presentations:

  • "Create a new PowerPoint presentation called QuarterlyReport.pptx with a title slide"
  • "Add 5 slides with a 'Title and Content' layout"
  • "Insert a company logo image on the first slide"

Content & Formatting:

  • "Add a textbox on slide 2 with the text 'Q1 Revenue Summary' in bold 24pt Arial"
  • "Create a table on slide 3 with columns for Region, Q1, Q2, Q3, Q4"
  • "Set the shape fill color to #0078D4 and add a 2pt border"

Charts & Visuals:

  • "Create a bar chart on slide 4 showing quarterly revenue data"
  • "Set the chart title to 'Revenue by Quarter'"
  • "Add an entrance animation to the chart shape"

Automation:

  • "Export the presentation as PDF"
  • "Run the FormatAllSlides macro"
  • "Show me PowerPoint while you work" — watch changes in real-time

🪟 Agent Mode — Watch AI Work in PowerPoint:

  • "Show me PowerPoint side-by-side while you build this presentation" — real-time visibility
  • "Let me watch while you create the slides"
  • Status bar shows live progress: "PptMcp: Creating chart on slide 4..."

👥 Who Should Use This?

Perfect for:

  • ✅ Presenters automating repetitive PowerPoint workflows
  • ✅ Developers building PowerPoint-based reporting solutions
  • ✅ Business users managing complex presentation decks
  • ✅ Teams maintaining presentation templates and VBA macros

Not suitable for:

  • ❌ Server-side processing (use libraries like Open XML SDK instead)
  • ❌ Linux/macOS users (Windows + PowerPoint installation required)
  • ❌ High-volume batch operations (consider PowerPoint-free alternatives)

🚀 Quick Start

PlatformInstallation
Any MCP Client (no .NET)npx -y mcp-server-ppt
Any MCP Client (.NET tool)dotnet tool install --global PptMcp.McpServer
Details📖 Installation Guide

⚠️ Important: Close all PowerPoint files before using. The server requires exclusive access to presentations during automation.

🔧 CLI vs MCP Server

This package provides both CLI and MCP Server interfaces. Choose based on your use case:

InterfaceBest ForWhy
CLI (pptcli)Coding agents (Copilot, Cursor, Windsurf)Fewer tokens — single tool, no large schemas.
MCP ServerConversational AI (Claude Desktop, VS Code Chat)Rich tool discovery, persistent connection.

Manual Installation:

powershell
# Install MCP Server and CLIdotnet tool install --global PptMcp.McpServerdotnet tool install --global PptMcp.CLI

Without .NET installed: the MCP server is also published to npm as a wrapper that downloads a self-contained build on first use. Point any client at npx -y mcp-server-ppt instead of mcp-ppt. Windows x64 only.

Windows package managers (pending first submission): every release now builds a standalone pptcli archive with a SHA256 and renders ready-to-submit winget and Chocolatey manifests (see packaging/). The listings themselves are not live yet, so the commands below will not resolve until the first submission is accepted — tracked in #112.

powershell
# Not available yet - listed here so the intended install path is documentedwinget install trsdn.pptclichoco install pptcli

Both packages will pull the .NET 9 Desktop Runtime as a dependency, because the archive is a framework-dependent build. Neither can install Microsoft PowerPoint, which remains a prerequisite.

🤖 Optional: Official Agent Client from Source

For larger deck-building tasks, this repo also ships an official source-side controller: src\PptMcp.Agent.

It is intentionally not a third server surface. Instead, it sits above the MCP server and runs one client-side loop:

  • plan the deck
  • execute through normal sequential MCP tool calls
  • verify the generated deck
  • repair incomplete output when needed

Quick start:

powershell
dotnet build src\PptMcp.McpServer\PptMcp.McpServer.csproj -c Release
Set-Location src\PptMcp.Agentnpm installnpm run checknpm test
node .\src\cli.mjs run `  --task "Build a 5-slide executive deck on Q4 revenue performance and next actions." `  --output "C:\Users\you\Documents\q4-revenue-deck.pptx"

Read more:

⚙️ How It Works — COM Automation & Unified Service Architecture

PptMcp uses Windows COM automation to control the actual PowerPoint application (not just .pptx files).

Both the MCP Server and CLI communicate with a shared PptMcp Service that manages PowerPoint sessions. This unified architecture enables:

┌─────────────────────┐     ┌─────────────────────┐│   MCP Server        │     │   CLI (pptcli)    ││  (AI assistants)    │     │  (coding agents)    │└─────────┬───────────┘     └─────────┬───────────┘          │                           │          └──────────┬────────────────┘                     ▼          ┌─────────────────────────┐          │   PptMcp Service      │          │  (shared session mgmt)  │          └─────────┬───────────────┘                    ▼          ┌─────────────────────────┐          │   PowerPoint COM API    │          │  (PowerPoint.Application)│          └─────────────────────────┘

Key Benefits:

  • ✅ Shared Sessions — CLI and MCP Server can access the same open presentations
  • ✅ Single PowerPoint Instance — No duplicate processes or file locks
  • ✅ System Tray UI — Monitor active sessions via the PptMcp tray icon

💡 Tip: Watch PowerPoint While AI Works By default, PowerPoint runs hidden for faster automation. To see changes in real-time, just ask:

  • "Show me PowerPoint while you work"
  • "Let me watch what you're doing"
  • "Open PowerPoint so I can see the changes"

The AI will display the PowerPoint window so you can watch every operation happen live!

📋 Additional Information

📚 CLI Guide → | MCP Server Guide → | Agent Client → | Eval Framework → | Archetype Pipeline → | All Agent Skills →

License: MIT License - see LICENSE file

Contributing: See CONTRIBUTING.md for guidelines

Built With: This entire project was developed using GitHub Copilot AI assistance - mainly with Claude but lately with Auto-mode.

🔒 Privacy Policy

PptMcp runs entirely on your machine and collects no data.

Data collectionNone. No telemetry, no analytics, no crash reporting.
Usage and storagePresentations are opened, edited and saved locally by the PowerPoint installation on the same computer. Slide content, speaker notes, embedded data and file paths are never uploaded by this software.
Third-party sharingNone by this software. One outbound request is made at startup — a plain GET to api.nuget.org to check for a newer release. It sends no data about you, your files or your usage. Disable it with PPTMCP_NO_UPDATE_CHECK=1.
Data retentionNothing is retained, because nothing is collected.
ContactOpen an issue

One caveat worth stating plainly: PptMcp is normally driven by an AI assistant. Whatever that assistant sends to its own model provider is governed by that assistant's privacy policy, not this one.

📄 Full Privacy Policy →

Acknowledgments:

  • Microsoft PowerPoint Team — For comprehensive COM automation APIs
  • Model Context Protocol community — For the AI integration standard
  • Open Source Community — For inspiration and best practices

Related Projects

Upstream projects by Stefan Broenner:

來源:README.md,提交 d9ec6ab

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分