PowerPoint MCP Server
Manipulate PowerPoint presentations using the python-pptx library.
PowerPoint MCP Server
A comprehensive Model Context Protocol (MCP) server for PowerPoint presentation manipulation using python-pptx. This server provides programmatic access to PowerPoint operations through the MCP protocol, optimized for use with AI assistants like Claude in Cursor IDE.
Features
Core Presentation Management
create_presentation- Create presentations from scratch or templatesload_presentation- Load existing PowerPoint files for editingsave_presentation- Save presentations with automatic path resolutionadd_slide- Add slides with different layouts (title, content, blank, etc.)extract_text- Extract all text content for analysisget_presentation_info- Get metadata and structure information
Content Creation & Manipulation
add_text_box- Rich text formatting (font size, bold, italic, colors)add_image- Images from files or URLs with precise positioningadd_chart- Data-driven charts (column, bar, line, pie, area)create_from_json- Schema-driven presentation creationadd_professional_shape- Professional shapes from built-in library
Visual Analysis & Review
screenshot_slides- Generate high-quality slide screenshots (Windows only)critique_presentation- Comprehensive analysis (design, content, accessibility, technical)
Style Management & Automation
analyze_presentation_style- Extract style patterns for learningcreate_style_profile- Build reusable style profilesapply_style_profile- Apply learned styles to presentationssave_style_profile/load_style_profile- Persist style data
Professional Layout & Design
create_layout_grid- Professional alignment gridssnap_to_grid- Snap shapes to grid positionsdistribute_shapes- Even spacing distributioncreate_color_palette/apply_color_palette- Brand-consistent colorscreate_typography_profile/apply_typography_style- Typography hierarchies
Master Themes & Templates
create_master_slide_theme- Master slide themes with consistent formattingapply_master_theme- Apply themes across entire presentationscreate_template- Reusable templates with placeholders and logicapply_template- Data-driven template applicationbulk_generate_presentations- Generate multiple presentations from templates
Installation
- Install dependencies:
pip install -r requirements.txt
- Verify python-pptx installation:
python -c "import pptx; print('python-pptx installed successfully')"
Usage
Starting the Server
python powerpoint_mcp_server.py
The server will start and listen for MCP protocol messages via stdio.
Integration with Cursor
- Copy
cursor_config.json.exampletocursor_config.json - Update the path in the configuration if needed
- Add to your Cursor MCP settings
Example configuration:
{
"mcpServers": {
"powerpoint": {
"command": "python",
"args": ["./powerpoint_mcp_server.py"],
"env": {},
"description": "PowerPoint MCP Server for presentation manipulation"
}
}
}
Architecture
MCP Integration
- Resources: Exposes presentations as readable resources
- Tools: Provides comprehensive PowerPoint manipulation tools
- Protocol: Full MCP compliance with proper error handling
Limitations
- Memory usage: Presentations are kept in memory during operations
- File formats: Only supports .pptx format (PowerPoint 2007+)
- Concurrent access: Single-threaded operation
- Template complexity: Advanced template features may not be fully supported
License
This project is licensed under the MIT License.
Acknowledgments
- Built on the python-pptx library
Related Servers
Quip MCP Server
An MCP server for performing document operations on Quip, enabling direct interaction from AI assistants.
AI Collaboration MCP Server
An MCP server for AI-to-AI collaboration, enabling autonomous workflows and role-based task management between different AI models.
Mesh Scanner
A simple, self-contained notes system with resources, tools, and prompts, implemented as an MCP server.
YouTrack
Access the YouTrack REST API to manage projects and track issues in real-time.
Resume Generator
Generates professional PDF resumes using LaTeX templates.
Bear MCP Server
Allows AI assistants to read notes from the Bear note-taking app by connecting directly to its SQLite database.
TikTok Ads MCP Server
A Model Context Protocol (MCP) server for TikTok Ads API integration. This server enables AI assistants like Claude to interact with TikTok advertising campaigns, providing comprehensive campaign management, analytics, and optimization capabilities. Part of the AdsMCP project - MCP servers for advertising platforms.
Mowen Note
An MCP server for interacting with the Mowen Note API, enabling note management and file uploads within MCP clients.
macOS Automator
Run AppleScript and JXA scripts to automate tasks on macOS.
Todo MCP Server
A Todo and Task Manager server for creating, updating, and managing tasks, using a SQLite database.