PPTX MCP Server logo

PPTX MCP Server

by samos123

PPTX MCP Server is a FastMCP-powered server that allows you to programmatically create, edit, and render PowerPoint (PPTX) presentations. It supports various functionalities like slide creation, text insertion, image embedding, and slide rendering to PNG.

View on GitHub

Last updated: N/A

What is PPTX MCP Server?

PPTX MCP Server is a server built on FastMCP that enables programmatic creation, editing, and rendering of PowerPoint presentations. It provides an API to manipulate PPTX files, add content, and convert slides to images.

How to use PPTX MCP Server?

To use the server, first install the required Python dependencies and LibreOffice. Then, start the server using python server.py. You can customize the host and port using environment variables. The server exposes various API endpoints via FastMCP for creating, modifying, and rendering PPTX files.

Key features of PPTX MCP Server

  • Create/Clear Presentations

  • Add Slides with Customizable Layouts

  • Insert Text & Content (Titles, Textboxes)

  • Insert Shapes (including flowchart elements)

  • Embed Images

  • Render Slides as PNG Images (with LibreOffice)

  • Download PPTX Files

Use cases of PPTX MCP Server

  • Automated report generation

  • Dynamic presentation creation from data

  • Generating slide previews

  • Batch processing of PPTX files

FAQ from PPTX MCP Server

What is FastMCP?

FastMCP is a framework used to build the server's API.

Do I need LibreOffice?

Yes, LibreOffice is required for rendering slides as PNG images.

Where are the presentations saved?

Presentations are saved in the presentations/ directory.

How do I add my own templates?

You can add your own templates in the presentations/templates/ directory.

What Python version is required?

Python 3.12 or higher is required.