PowerPoint MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PowerPoint MCP ServerCreate a presentation with a title slide and a bullet list slide"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PowerPoint Model Context Protocol (MCP) Server
A Python-based Model Context Protocol (MCP) server that provides tools for creating, inspecting, and editing PowerPoint presentations using fastmcp and python-pptx.
Prerequisites
Windows OS
Python 3.12 (already installed in
C:\Users\Lumbini_User\AppData\Local\Programs\Python\Python312)Local virtual environment
.venvwith installed dependencies.
Related MCP server: Office-PowerPoint-MCP
Exposed Tools
The server registers and runs the following tools:
create_presentation(path: str): Creates a new, blank PowerPoint presentation at the specified path.add_slide(path: str, layout_idx: int = 6): Adds a new slide to the presentation atpathusing layout template indices (e.g.6for blank).add_text(path, slide_idx, text, left_in, top_in, width_in, height_in, font_name, font_size_pt, bold, italic, color_hex, align): Adds a textbox with custom formatted text.add_bullet_points(path, slide_idx, points, left_in, top_in, width_in, height_in, font_name, font_size_pt, color_hex): Adds a formatted list of bullet points.add_shape(path, slide_idx, shape_type, left_in, top_in, width_in, height_in, fill_color_hex, line_color_hex, line_width_pt): Inserts geometric shapes like rectangles, ellipses, triangles, etc.add_picture(path, slide_idx, image_path, left_in, top_in, width_in, height_in): Inserts a local image.add_table(path, slide_idx, rows, cols, left_in, top_in, width_in, height_in, data): Inserts and populates tables.get_presentation_info(path): Returns detailed structures, shape locations, texts, and tables of all slides.search_replace_text(path, search_str, replace_str): Performs full-presentation find-and-replace across textboxes, shapes, and tables.delete_slide(path, slide_idx): Deletes the slide at the specified index.
MCP Client Configuration
To register this server with an MCP host (such as Claude Desktop or cursor), add the following entry to your host configuration file:
{
"mcpServers": {
"powerpoint": {
"command": "c:\\Users\\Lumbini_User\\Desktop\\PPT\\.venv\\Scripts\\python.exe",
"args": [
"c:\\Users\\Lumbini_User\\Desktop\\PPT\\ppt_mcp_server.py"
],
"env": {}
}
}
}Local Development & Testing
Active the virtual environment:
.venv\Scripts\Activate.ps1Run the server directly:
python ppt_mcp_server.py
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate, edit, merge, translate and PDF-convert PowerPoint (.pptx) over MCP. 8 tools.
Generate professional PowerPoint presentations from text, YouTube videos, or structured JSON data.…
Create professionally designed, editable PowerPoint presentations from a prompt.
Generate polished PowerPoint presentations from text prompts, YouTube videos, or structured outlin…
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI assistants to create, edit, and manipulate PowerPoint presentations programmatically with support for text styling, shapes, slide rearrangement, and direct Office XML access.81-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to programmatically create, manipulate, and analyze Microsoft PowerPoint presentations with advanced formatting and template management.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create and manipulate PowerPoint presentations programmatically, including adding slides, exporting to PDF, and reading metadata.21 npm5MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to create, modify, and manage PowerPoint presentations programmatically using python-pptx.17-