Real-time PowerPoint control on Windows and macOS — an MCP server with 156 tools for AI agents
pip install ppt-mcp==2.3.0 Copy PIP instructions
An MCP (Model Context Protocol) server that gives AI agents full control over a live Microsoft PowerPoint instance, over COM on Windows and Apple Events on macOS. Unlike file-based libraries like python-pptx, this server interacts directly with a running PowerPoint application.
An agent building a deck in a live PowerPoint window (15x speed):
On macOS the server drives PowerPoint over Apple Events instead of COM. The first tool call raises the system's automation prompt, and PowerPoint has to be allowed there once. See macOS support for what differs.
Standard config — works in Claude Desktop, Cursor, .mcp.json, and most other MCP clients:
{ "mcpServers": { "powerpoint": { "command": "uvx", "args": ["ppt-mcp"] } } } Claude Code User-scoped (available in all projects)
claude mcp add powerpoint uvx ppt-mcp Project-scoped (stored in .mcp.json, shared with your team)
claude mcp add --scope project powerpoint uvx ppt-mcp Cursor
Or add manually to ~/.cursor/mcp.json using the standard config above.
Edit %APPDATA%\Claude\claude_desktop_config.json using the standard config above.
[mcp_servers.ppt-mcp] command = "uvx" args = ["ppt-mcp"] Or use the standard JSON config above in .codex/config.json.
code --add-mcp '{"name":"powerpoint","command":"uvx","args":["ppt-mcp"]}' From source git clone https://github.com/ykuwai/ppt-mcp.git cd ppt-mcp uv sync { "mcpServers": { "powerpoint": { "command": "uv", "args": [ "--directory", "C:\\path\\to\\ppt-mcp", "run", "mcp", "run", "src/server.py" ] } } } 🛠️ Tool Categories Category Tools Description App 5 Connect to PowerPoint, app info, active window, window state, list presentations Presentation 8 Create (with templates), open (a local file, or on Windows a SharePoint or OneDrive URL), save, close, info, activate target, list templates Slides 10 Add, delete (bulk), duplicate (positional/multi), move (bulk), copy (cross-presentation), list, info, notes, navigation Shapes 10 Add shapes/textboxes/pictures/lines (with z-order placement, including behind the text), list, info (position, fill, line, text frame), update (one shape, a set, or the whole slide, absolute or by offset), delete, z-order Text 10 Set text (whole frame, one span keeping its formatting, or as runs), get text (with measurement and overflow), format one span or many in a batch, paragraph format, bullets, find/replace (optionally inside groups), textframe, extract all text as Markdown, typography check Placeholders 6 List, get, set placeholder content Formatting 3 Fill, line, shadow (on the shape or on its text) Tables 13 Add tables, get/set cells, batch set data, merge/split cells, add/delete rows/columns, styles, layout, borders Export 4 PDF, images, slide preview, clipboard copy Slideshow 6 Start, stop, next, previous, go to slide, status Charts 7 Add charts, set/get data, format, format axis, series, change type Animation 6 Transitions, add/list/update/remove/clear animations (entrance, exit, emphasis, motion path, interactive sequences) Themes 4 Apply themes, get/set theme colors, headers/footers Groups 3 Group, ungroup, get group items Connectors 2 Add, format Hyperlinks 3 Add, get, remove Sections 3 Add, list, manage Properties 2 Set/get presentation metadata Media 3 Video, audio, media settings SmartArt 3 Add, modify, list layouts Edit Operations 6 Undo and redo (on the target presentation), copy shapes/formatting between slides Layout 7 Align, distribute, slide size, background, flip, merge shapes Effects 3 Glow and reflection (on the shape or on its text), soft edge Comments 3 Add, list, delete Advanced 19 Tags, fonts (set defaults + bulk replace), crop, picture format, shape export, visibility, selection, view, animation copy, picture from URL, SVG icons, icon search, aspect ratio lock, batch apply, default shape style Freeform 7 Build freeform paths, get/set node positions, insert/delete nodes, node editing type, segment type 156 💡 Example Prompts Just describe what you want in plain language — no code required.
"Create a 3-slide intro deck for a productivity app called Flowly."
"Make a 4-slide presentation on the benefits of async work. Dark navy style, add icons for each benefit."
Detailed — topic + design intent + slide structure
"Build a 5-slide pitch for an AI note-taking app called NoteAI. White background, teal accent. Slides: title, problem, solution, features with icons, closing."
ppt_activate_presentation sets a session-level target so every subsequent tool call operates on that specific file — regardless of which window is active in PowerPoint. Switch targets anytime by calling it again.
ppt_activate_presentation(presentation_name="report.pptx") # All tools now operate on report.pptx ppt_activate_presentation(presentation_name="demo.pptx") # Switched — all tools now operate on demo.pptx The activated presentation is one value for the whole server, and a client such as Claude Desktop routes every conversation through one server. When several conversations work on different files at once, pass presentation on each call. It applies to that call only, leaves the activated presentation alone, and accepts a full path, a file name, or a file name without extension. A file that is not open is an error, never a fallback to another one.
ppt_add_textbox(params={...}, presentation="report.pptx") # Lands in report.pptx whatever another conversation has activated 📁 Template Support Auto-detects your personal PowerPoint templates folder (registry, OneDrive, or default paths). Use ppt_list_templates to discover available templates, then ppt_create_presentation(template_path=...) to create a new presentation from any template.
Search 2,500+ Google Material Symbols icons with ppt_search_icons(query="...") and insert them as SVG with ppt_add_svg_icon:
Every write operation automatically navigates PowerPoint to the target slide. You see changes happening in real-time — no need to manually switch slides.
Modes can be combined: use a preset as a base and override specific slots. All accents are guaranteed 3:1+ contrast on white.
ppt_check_typography detects and optionally auto-fixes common typography issues:
Auto-fix strategies include widening text boxes and inserting soft returns.
When PowerPoint has a modal dialog open (e.g., SmartArt layout picker, Save dialog, Insert dialog), COM calls return RPC_E_CALL_REJECTED. The MCP server automatically retries for up to 15 seconds (5 retries × 3 s), so the server stays connected and responsive even when a dialog is blocking PowerPoint.
Auto-dismiss (opt-in): By default, the server waits for you to close the dialog manually. To have the server automatically send ESC on the first retry — dismissing the dialog without user interaction — set PPT_AUTO_DISMISS_DIALOG=true:
12 tools refuse on macOS. The rest work. The 12 are listed by name in MACOS_PORT.md section 6.1, and a test keeps that list honest.
The same tools, the same arguments, the same answers. What differs is what PowerPoint for Mac's scripting dictionary can reach, and where it cannot reach something the tool says so rather than doing something unexpected.
ai-agent applescript automation com llm mcp powerpoint
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.




