PPTX MCP Server
@samos123
Create Slides with a simple MCP server using Python PPTX library
Overview
What is PPTX MCP Server?
A FastMCP-powered server for programmatically creating, editing, and rendering PowerPoint (PPTX) presentations. It supports slide creation, text and shape insertion, image embedding, and slide rendering to PNG (with LibreOffice).
How to use PPTX MCP Server?
Install Python dependencies, optionally install LibreOffice for image rendering, then start the server with python server.py or fastmcp dev server.py. Configure host/port via environment variables or a .env file.
Key features of PPTX MCP Server
- Create or clear presentations
- Add slides with customizable layouts
- Insert titles, content, and custom textboxes
- Add a wide variety of PowerPoint shapes
- Embed images into slides
- Get textual slide content descriptions
- Render slides as PNG images (requires LibreOffice)
- Download the generated presentation file
Use cases of PPTX MCP Server
- Automate report generation with dynamic slides
- Create presentations from structured data or templates
- Embed images and verify slide contents programmatically
- Generate slide previews for web or documentation
FAQ from PPTX MCP Server
Does PPTX MCP Server require LibreOffice?
Yes, for slide image rendering. LibreOffice must be installed separately and available in your system PATH.
What Python version is needed?
Python 3.12 or later is required.
Where are generated presentations saved?
Presentations are saved in the presentations/ directory. You can add your own templates in presentations/templates/.
How do I configure the server’s host and port?
Set the HOST and PORT environment variables (defaults are 127.0.0.1 and 8000) or use a .env file.
What dependencies are installed?
python-pptx, Pillow, FastMCP, and optionally python-dotenv for development.