PptMcp - MCP Server for Microsoft PowerPoint


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
| Platform | Installation |
|---|
| 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:
| Interface | Best For | Why |
|---|
CLI (pptcli) | Coding agents (Copilot, Cursor, Windsurf) | Fewer tokens β single tool, no large schemas. |
| MCP Server | Conversational AI (Claude Desktop, VS Code Chat) | Rich tool discovery, persistent connection. |
Manual Installation:
# Install MCP Server and CLI
dotnet tool install --global PptMcp.McpServer
dotnet 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.