Logo PowerPoint MCP Server

PowerPoint MCP Server

Cộng đồng
Ayushmaniar

Open Source Model Context Protocol server for PowerPoint automation on Windows via pywin32

Nhà phát hànhAyushmaniar
Kho mãpowerpoint-mcp
Ngôn ngữPython
Bản fork
17
Sao
114
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    PowerPoint MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    114 sao và 17 bản fork từ kho mã được liên kết.

PowerPoint MCP Server

The best open-source MCP server for PowerPoint automation. Free, no subscriptions, no credits.

Built by a UCSD grad student who was tired of spending 3-4 hours per week making presentations.

Languages

PyPI version License: MIT Python 3.10+


Demo Video

Watch the PowerPoint MCP Demo

Watch Claude build a complete "Fourier Transform and Fourier Series" lecture from scratch - equations, diagrams, and animations included.


Windows Only

This MCP server works exclusively on Windows because it uses pywin32 COM automation to control the PowerPoint application directly. This is what enables bidirectional read/write access, real-time editing, LaTeX rendering, templates, and animations.

macOS/Linux alternatives like python-pptx don't get access to the full PowerPoint feature set. PRs for an AppleScript-based macOS version are welcome.


Why This Is Different

There are a lot of PowerPoint automation tools out there. Here is why this one is actually worth using:

Template-first design Point the LLM at your desired template and it just works. Tell Claude: "Make a GPU performance comparison presentation using our company's Nvidia_Black_Green_2025 template" - it discovers the template, analyzes its layouts, and populates them correctly.

Actually bidirectional and real-time Unlike python-pptx (write-only) or other popular MCP implementations, this uses COM automation. Claude can READ your existing presentations and edit them in real time without closing PowerPoint first.

Multimodal slide analysis The slide_snapshot tool gives the LLM both visual context (screenshots with annotated bounding boxes) AND detailed text/chart/table extraction. Claude can literally see what is on your slides.

LaTeX rendering that actually works The server renders LaTeX equations by controlling PowerPoint's built-in equation editor directly. Just write <latex>E=mc^2</latex> and it appears as a native PowerPoint equation object.

HTML formatting that saves tokens Bold, italic, colors, and bullet points via HTML tags (<b>, <i>, <red>, <ul>, <ol>). One formatting pass, no repeated tool calls to apply fonts and colors separately.

Animations with progressive disclosure Real controllable PowerPoint animations, including paragraph-level entrance effects. Bullet-by-bullet reveals work out of the box - no need to split content across multiple shapes.

One-line install, no subscriptions

bash
claude mcp add powerpoint -- uvx powerpoint-mcp

Works with Claude Code, Cursor, GitHub Copilot, or any MCP client. No third-party services, no monthly fees, no expiring credits.

11 focused tools, not 30+ LLM decision paralysis is real. Every tool has a clear purpose and sensible defaults so Claude spends time building your presentation, not figuring out which tool to call.


Real Workflows

These are actual workflows tested in production:

Research and Create

"Research the latest developments in quantum computing, then create a 15-slide presentation on it"

Claude uses web search to find sources, then builds the deck with citations and formatted content.

Data Analysis and Visualization

"Analyze Titanic_dataset.csv, perform a detailed EDA, and make a presentation explaining the findings"

Free-form Python/matplotlib plotting that renders directly into slide placeholders.

Codebase Documentation

"Analyze my entire repository and create a technical architecture presentation"

Claude reads your local files, understands the structure, and generates slides explaining the system.

Template-Driven Corporate Decks

"Use the Nvidia_Black_Green_template to create a Q4 sales presentation from nvidia_quarterly_sales_data.csv"

Template layouts are discovered automatically, placeholders are identified and populated correctly.

Academic LaTeX Heavy

"Make a 20-slide lecture teaching Fourier Series and Fourier Transforms with equations"

Native PowerPoint equation objects rendered from LaTeX, with animations for progressive disclosure.

Interactive Learning

"Help me understand this presentation on PAM and BLOSUM matrices from my Computational Biology course, explain each slide and quiz me after each section"

Claude reads your slides (including charts, tables, and speaker notes), explains the content, and creates an interactive quiz.


Quick Start

Step 1: Install

bash
claude mcp add powerpoint -- uvx powerpoint-mcp

Step 2: Open PowerPoint Open Microsoft PowerPoint (any presentation, or just the blank start screen).

Step 3: Give Claude a command

Make a 10-slide presentation on machine learning fundamentals using my company template.
Add equations where relevant and animate the bullet points on each slide.

That is it. Claude handles the rest.


Installation

Prerequisites

  • Windows 10/11
  • Microsoft PowerPoint installed
  • Python 3.10+

Claude Code

bash
# Single project
claude mcp add powerpoint -- uvx powerpoint-mcp

# Available across all projects (install once, use everywhere)
claude mcp add powerpoint --scope user -- uvx powerpoint-mcp

Cursor

  1. Click Settings -> Tools & MCP -> New MCP Server
  2. ~/.cursor/mcp.json will open
  3. Add the following:
json
{
  "mcpServers": {
    "powerpoint": {
      "command": "uvx",
      "args": ["powerpoint-mcp"]
    }
  }
}
  1. Restart your IDE after configuration.

Trae

  1. Create .trae/mcp.json in your project root
  2. Add the following:
json
{
  "mcpServers": {
    "powerpoint": {
      "command": "uvx",
      "args": ["powerpoint-mcp"]
    }
  }
}
  1. Restart Trae after configuration and use an MCP-enabled agent mode

Trae CN

  1. Trae CN currently supports the same project-level .trae/mcp.json format
  2. Add the following to .trae/mcp.json in your project root:
json
{
  "mcpServers": {
    "powerpoint": {
      "command": "uvx",
      "args": ["powerpoint-mcp"]
    }
  }
}
  1. Restart Trae CN after configuration and use an MCP-enabled agent mode such as Builder with MCP / SOLO Coder if available in your build

Codex

This server is Windows-only, so on Windows PowerShell use:

bash
codex mcp add powerpoint -- cmd /c uvx powerpoint-mcp

After adding it, restart Codex CLI or run /mcp to verify the server is available.

CodeBuddy

  1. In the sidebar chat panel, click the CodeBuddy Settings button
  2. Open the MCP tab
  3. Click Add MCP
  4. Add the following JSON:
json
{
  "mcpServers": {
    "powerpoint": {
      "type": "stdio",
      "command": "uvx",
      "args": ["powerpoint-mcp"],
      "description": "PowerPoint automation on Windows"
    }
  }
}
  1. Save the configuration, then use Try to Run or invoke it from an agent

CodeBuddy CN

  1. 在侧栏对话面板右上方点击 CodeBuddy Settings
  2. 切换到 MCP 标签页
  3. 点击 Add MCP
  4. 添加以下 JSON:
json
{
  "mcpServers": {
    "powerpoint": {
      "type": "stdio",
      "command": "uvx",
      "args": ["powerpoint-mcp"],
      "description": "PowerPoint automation on Windows"
    }
  }
}
  1. 保存配置后,可通过 Try to Run 验证,或直接在 Agent 中调用

OpenCode

  1. Open ~/.config/opencode/opencode.json for a global setup, or opencode.json in your project root for a project-specific setup
  2. Add the following:
json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "powerpoint": {
      "type": "local",
      "command": ["uvx", "powerpoint-mcp"]
    }
  }
}
  1. Restart OpenCode after configuration.

VS Code (GitHub Copilot)

  1. Open C:\Users\Your_User_Name\AppData\Roaming\Code\User\mcp.json
  2. Add the following:
json
{
  "mcpServers": {
    "powerpoint": {
      "command": "uvx",
      "args": ["powerpoint-mcp"]
    }
  }
}
  1. Restart your IDE after configuration.

Google Antigravity

  1. Open an Agent session in Antigravity
  2. Click the "..." (dot menu) at the top of the editor's side panel
  3. Select MCP Servers → Manage MCP Servers → View raw config
    • This opens mcp_config.json directly. You can also edit it manually at:
      • Windows: C:\Users\<USERNAME>\.gemini\antigravity\mcp_config.json
      • macOS / Linux: ~/.gemini/antigravity/mcp_config.json
  4. Add the following:
json
{
  "mcpServers": {
    "powerpoint": {
      "command": "uvx",
      "args": ["powerpoint-mcp"]
    }
  }
}
  1. Return to Manage MCP Servers and click Refresh to activate the server.

Tool Reference

All 11 tools, each with a single clear responsibility:

ToolWhat It Does
manage_presentationOpen, close, create, or save presentations. The entry point for any workflow.
slide_snapshotComprehensive slide analysis: screenshot with annotated bounding boxes, text extraction, chart data, table parsing, hyperlinks, comments, and speaker notes.
switch_slideNavigate to a specific slide number in the active presentation.
add_speaker_notesAdd or replace speaker notes on any slide using the official COM approach.
populate_placeholderFill any placeholder with text (HTML formatting), LaTeX equations, or matplotlib plots.
manage_slideDuplicate, delete, or move slides within the presentation.
list_templatesDiscover all available PowerPoint templates from Personal, User, and System template directories.
analyze_templateAnalyze a template's layouts with placeholder positions and screenshots.
add_slide_with_layoutAdd a new slide using a specific layout from a template, preserving all template styling.
add_animationAdd entrance animations (fade, appear, fly, wipe, zoom) to shapes with optional paragraph-level progressive disclosure.
powerpoint_evaluateExecute arbitrary Python code in the PowerPoint context for complex batch operations.

Content Formatting Reference

The populate_placeholder tool accepts HTML-style tags for rich formatting:

<b>bold text</b>
<i>italic text</i>
<u>underlined text</u>
<red>colored text</red>  (also: blue, green, orange, purple, white, black)
<ul><li>unordered list item</li></ul>
<ol><li>ordered list item</li></ol>
<latex>E = mc^2</latex>

For matplotlib plots, pass your plotting code directly as the content with content_type="plot" - the server executes it and inserts the resulting image.


How It Works

PowerPoint MCP uses Windows COM automation (pywin32) to control Microsoft PowerPoint directly, the same mechanism used by VBA macros and Office add-ins. This gives it full access to every PowerPoint feature: the equation editor, animation engine, template system, and real-time slide reading.

The server is built on FastMCP and published on PyPI for easy installation via uvx.

Screenshots are saved automatically to ~/.powerpoint-mcp/ with timestamp-based filenames.


Limitations

  • Windows only: COM automation is a Windows technology. No macOS or Linux support currently.
  • PowerPoint required: Microsoft PowerPoint must be installed. LibreOffice is not supported.
  • Python 3.10+: Required for the server runtime.

Star History

Star History Chart


Fully open source (MIT License). If this saves you time, a star on GitHub goes a long way.

GitHub: https://github.com/Ayushmaniar/powerpoint-mcp

Cài đặt

TypingMind
{
  "mcpServers": {
    "powerpoint-mcp": {
      "command": "uvx",
      "args": [
        "powerpoint-mcp"
      ]
    }
  }
}

Dùng MCP PowerPoint MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối PowerPoint MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm PowerPoint MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của PowerPoint MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "powerpoint-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của PowerPoint MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của PowerPoint MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng PowerPoint MCP Server giúp tôi làm việc này không?
PowerPoint MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng PowerPoint MCP Server.

Câu hỏi thường gặp

Máy chủ MCP PowerPoint MCP Server dùng để làm gì?

PowerPoint MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP PowerPoint MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng PowerPoint MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP PowerPoint MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối PowerPoint MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP PowerPoint MCP Server với TypingMind?

PowerPoint MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP PowerPoint MCP Server cung cấp những công cụ nào trong TypingMind?

PowerPoint MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP PowerPoint MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu PowerPoint MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇