/ 目錄 / 演練場 / Office PowerPoint MCP
● 社群 GongRzhe ⚡ 即開即用

Office PowerPoint MCP

作者 GongRzhe · GongRzhe/Office-PowerPoint-MCP-Server

透過 Claude 建立 .pptx 簡報——投影片、版面配置、圖表、圖片、備忘稿,以及範本感知插入。

Office PowerPoint MCP 封裝 python-pptx,給予 Claude 對 PowerPoint 檔案的完整控制。從大綱生成簡報、以資料填充範本投影片、新增圖表和圖片、撰寫備忘稿——完全不需要手動開啟 PowerPoint。與配套的 Word MCP 完美搭配,用於文件與簡報的工作流程。

為什麼要用

核心特性

即時演示

實際使用效果

office-powerpoint-mcp.replay ▶ 就緒
0/0

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "office-powerpoint-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "office-powerpoint-mcp-server",
        "ppt_mcp_server"
      ]
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "office-powerpoint-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "office-powerpoint-mcp-server",
        "ppt_mcp_server"
      ]
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "office-powerpoint-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "office-powerpoint-mcp-server",
        "ppt_mcp_server"
      ]
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "office-powerpoint-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "office-powerpoint-mcp-server",
        "ppt_mcp_server"
      ]
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "office-powerpoint-mcp",
      "command": "uvx",
      "args": [
        "--from",
        "office-powerpoint-mcp-server",
        "ppt_mcp_server"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "office-powerpoint-mcp": {
      "command": {
        "path": "uvx",
        "args": [
          "--from",
          "office-powerpoint-mcp-server",
          "ppt_mcp_server"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add office-powerpoint-mcp -- uvx --from office-powerpoint-mcp-server ppt_mcp_server

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: Office PowerPoint MCP

將 Markdown 大綱轉換為精美投影片

👤 需要呈現研究、狀態或提案的任何人 ⏱ ~30 min beginner

何時使用: 你有筆記或文件,明天早上需要投影片。

前置條件
  • 來源大綱 — 帶有 H1/H2 層級結構的 Markdown 檔案
步驟
  1. 選擇基礎範本
    Use ppt-mcp. Open ~/templates/corporate.pptx and list the available layouts.✓ 已複製
    → 版面配置清單(標題投影片、章節標題、內容、兩欄內容)
  2. 將大綱對應到投影片
    Read outline.md. Each H1 is a section header slide; each H2 is a content slide. Bullet content under each H2.✓ 已複製
    → 計畫摘要:N 個章節標題投影片,M 個內容投影片
  3. 渲染並審查
    Build the deck and save as deck-2026-04-27.pptx. Then read back the slide count and titles for sanity check.✓ 已複製
    → 簡報已儲存;標題與大綱相符

結果: 簡報可在 PowerPoint 中精修,而非從空白開始建立。

注意事項
  • 自訂範本使用非標準版面配置名稱 — 先列出版面配置;若名稱不清楚,按索引對應
搭配使用: office-word-mcp

從資料生成圖表並嵌入簡報

👤 每季更新報告的分析師 ⏱ ~25 min intermediate

何時使用: 數字每季更新;格式穩定不變。

前置條件
  • 來源資料為 CSV 或內嵌格式 — Claude 可讀取的任何表格格式
步驟
  1. 為每個指標選擇圖表類型
    From q1-data.csv, decide chart type per metric (revenue → bar, growth-rate → line, segment-mix → pie).✓ 已複製
    → 每個指標的對應關係
  2. 插入圖表為原生物件
    Add each chart on its own slide with the metric name as title. Use the Two Content layout.✓ 已複製
    → 原生圖表物件(在 PowerPoint 中可編輯),而非點陣圖

結果: 簡報中可編輯的圖表;收件人可深入查看。

注意事項
  • 來源變更時圖表資料不會更新 — 每季重新執行生成器;圖表已烘焙進 .pptx 中

根據投影片內容為每張投影片新增備忘稿

👤 需要逐字稿等級準備的簡報者 ⏱ ~20 min beginner

何時使用: 你要在不熟悉的情況下進行簡報,需要每張投影片的腳本。

步驟
  1. 讀取投影片內容
    Open the deck. For each slide, extract the visible bullets.✓ 已複製
    → 列出每張投影片的內容
  2. 生成備忘稿
    Write 60-second speaker notes per slide. Conversational, no jargon. Save into the speaker-notes pane.✓ 已複製
    → 每張投影片的備忘稿面板已填入

結果: 簡報同時作為演講腳本。

組合

與其他 MCP 搭配,撬動十倍槓桿

office-powerpoint-mcp + office-word-mcp

從單一來源生成對應的報告和簡報

office-powerpoint-mcp + filesystem

在渲染簡報前從磁碟讀取來源資料

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
create_presentation filename, template_path? 開始新簡報 0
add_slide filename, layout_name 每張新投影片 0
set_slide_title filename, slide_index, title 填充標題預留位置 0
add_text_box filename, slide_index, text, x, y, w, h 自訂文字疊加 0
add_chart filename, slide_index, type, data, position 資料視覺化 0
add_image filename, slide_index, image_path, x, y 圖片放置 0
set_speaker_notes filename, slide_index, text 每張投影片的演講者準備 0

成本與限制

運行它的成本

API 配額
不適用——本地執行
每次呼叫 Token 數
每次呼叫 100–600
費用
免費(MIT)
提示
逐張投影片建立,而非在一個提示中傾倒整個簡報計畫

安全

權限、密鑰、影響範圍

最小權限: filesystem-read filesystem-write
憑證儲存:
資料出站:

故障排查

常見錯誤與修復

找不到版面配置

版面配置名稱因範本而異;先使用 list_layouts 列出精確名稱

圖表看起來是空白的

python-pptx 使用 XML 圖表參照;確保基礎試算表資料非空

圖片太大,超出投影片

以 EMU 傳入明確的寬度/高度;使用 pptx.util.Inches() 輔助工具

替代方案

Office PowerPoint MCP 對比其他方案

替代方案何時用它替代權衡
Office Word MCP你需要文件,而非簡報不同功能面;同一作者
Excel MCP Server純表格資料Excel 用於分析,PPT 用於敘事

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills