Office-PowerPoint-MCP-Server logo

Office-PowerPoint-MCP-Server

by GongRzhe

A MCP (Model Context Protocol) server for PowerPoint manipulation using python-pptx. This server provides tools for creating, editing, and manipulating PowerPoint presentations through the MCP protocol.

View on GitHub

Last updated: N/A

What is Office-PowerPoint-MCP-Server?

The Office-PowerPoint-MCP-Server is a server that allows you to programmatically create, edit, and manipulate PowerPoint presentations using the Model Context Protocol (MCP) and the python-pptx library.

How to use Office-PowerPoint-MCP-Server?

The server can be installed using Smithery or manually. Once installed, you can start the server and configure your MCP settings to communicate with it. You can then use the available tools to create, modify, and save PowerPoint presentations through MCP calls, as demonstrated in the provided examples.

Key features of Office-PowerPoint-MCP-Server

  • Round-trip any Open XML presentation (.pptx file) including all its elements

  • Add slides

  • Populate text placeholders

  • Add image to slide at arbitrary position and size

  • Add textbox to a slide; manipulate text font size and bold

  • Add table to a slide

  • Add auto shapes to a slide

  • Add and manipulate column, bar, line, and pie charts

  • Access and change core document properties

Use cases of Office-PowerPoint-MCP-Server

  • Automated report generation

  • Dynamic presentation creation based on data

  • Batch editing of PowerPoint presentations

  • Integration with AI tools for presentation design

FAQ from Office-PowerPoint-MCP-Server

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for communication between different applications, allowing them to share and manipulate data.

What is python-pptx?

python-pptx is a Python library for creating and updating PowerPoint (.pptx) files.

How do I install the server?

You can install the server using the provided setup script or manually by cloning the repository and installing the dependencies.

How do I start the server?

You can start the server by running the ppt_mcp_server.py script using Python.

How do I configure MCP to use this server?

You need to add the server to your MCP settings configuration file, specifying the command and arguments to run the server.