mcp-pptx
MCP server from h4ck4life/mcp-pptx-server
claude mcp add --transport stdio h4ck4life-mcp-pptx-server python server.py \ --env PORT="Port for the MCP server to listen on (optional, defaults to 25566 if not set)" \ --env TEMPLATES_DIR="Directory containing PPTX templates (optional)"
How to use
The MCP PPTX Server is a FastMCP-based service that lets clients generate and manipulate PowerPoint (.pptx) files through the MCP protocol. It provides capabilities to create slides, insert text and images, modify slide layouts, and apply simple formatting by accepting structured requests from MCP clients. The server exposes an RPC-style surface that can be invoked by tools or agents that speak the MCP protocol, enabling automation workflows for presentation generation and batch PPTX processing. To use it, run the server with your preferred Python environment and connect an MCP client to the specified host and port. Once running, you can send requests to modify or assemble PPTX documents and retrieve the resulting file path or binary payload as configured by the server.
How to install
Prerequisites:
- Python 3.x installed on your system
- FastMCP tooling installed (e.g., via pip install fastmcp or the project’s recommended install method)
- The MCP PPTX server files present in your project directory (as provided by the repository)
Step-by-step:
-
Install FastMCP tooling (if not already): pip install fastmcp
-
Ensure Python is available and accessible in your PATH.
-
Install or prepare the MCP PPTX server files in your project directory (the repository typically provides server.py as the entry point):
- Place server.py and any dependencies in your working directory.
-
Run the MCP server using the provided command example from the README: fastmcp install ./server.py
-
Start the server (if you need to run directly with Python): python server.py
-
Connect an MCP client to the server using the configured host/port (default port is often 25566 unless overridden by environment variables).
Notes:
- If you modify environment variables, ensure the server process picks up PORT and TEMPLATES_DIR as needed.
- Refer to the project’s documentation for any project-specific flags or configuration options.
Additional notes
Tips and common issues:
- Ensure Python 3.x and FastMCP are installed correctly before starting the server.
- If you encounter port conflicts, set the PORT environment variable to an available port.
- If your PPTX templates are stored separately, set TEMPLATES_DIR to the path containing .pptx templates to enable template-based generation.
- Check file permissions for read/write access to template directories and output directories.
- When debugging, run the server in a verbose mode if supported by your FastMCP tooling to get more detailed logs.
- If you update server.py, restart the MCP server to apply changes.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP