mcp-powerpoint
Enables AI assistants to create and manipulate PowerPoint presentations programmatically, including adding slides, exporting to PDF, and reading metadata.
README
MCP PowerPoint Plugin
A Model Context Protocol (MCP) plugin for PowerPoint operations, allowing AI assistants to create and manipulate PowerPoint presentations programmatically.
Features
- Create new PowerPoint presentations
- Add slides to presentations
- Get slides information from a presentation
- Export presentations to PDF
- Read presentation metadata and structure
Installation
# Clone the repository
git clone https://github.com/islem-zaraa/mcp-powerpoint.git
# Navigate to the project directory
cd mcp-powerpoint
# Install dependencies
npm install
# Link for local development
npm link
Usage as CLI
This plugin can be used directly as a command-line tool:
# Create a new presentation
mcp-powerpoint create --outputPath="presentation.pptx" --title="My Presentation"
# Add a slide to an existing presentation
mcp-powerpoint add-slide --file="presentation.pptx" --title="New Slide" --content="This is the content of the slide"
# Get slides from a presentation
mcp-powerpoint get-slides --file="presentation.pptx"
# Export presentation to PDF
mcp-powerpoint export-pdf --file="presentation.pptx" --outputPath="presentation.pdf"
# Read presentation metadata
mcp-powerpoint read --file="presentation.pptx"
Usage as MCP Plugin
This plugin can be integrated into an MCP-compatible AI assistant system:
const mcpPowerPointPlugin = require('mcp-powerpoint/src/mcp-plugin');
// Register the plugin with your MCP system
mcpSystem.registerPlugin(mcpPowerPointPlugin);
// Now the AI can use the PowerPoint functions through the MCP protocol
// Example function calls:
// - mcp_powerpoint_create_presentation
// - mcp_powerpoint_add_slide
// - mcp_powerpoint_get_slides
// - mcp_powerpoint_export_to_pdf
// - mcp_powerpoint_read_presentation
Function Descriptions
mcp_powerpoint_create_presentation
Creates a new PowerPoint presentation.
Parameters:
outputPath: Path where to save the PowerPoint file (must end with .pptx)title: (Optional) Title of the presentation
mcp_powerpoint_add_slide
Adds a slide to an existing PowerPoint presentation.
Parameters:
file: Path to the PowerPoint filetitle: (Optional) Title of the slidecontent: (Optional) Content of the slide
mcp_powerpoint_get_slides
Gets slides from a PowerPoint presentation.
Parameters:
file: Path to the PowerPoint file
mcp_powerpoint_export_to_pdf
Exports a PowerPoint presentation to PDF.
Parameters:
file: Path to the PowerPoint fileoutputPath: Path where to save the PDF file (must end with .pdf)
mcp_powerpoint_read_presentation
Reads metadata and structure from a PowerPoint presentation.
Parameters:
file: Path to the PowerPoint file
Limitations
- The plugin currently provides basic PowerPoint functionality
- Editing existing slides has limitations due to the complexity of the PPTX format
- The PDF export is a simulated feature in this version
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. ### Topics
- mcp
- model-context-protocol
- mcp-server
- powerpoint
- presentation
- slides
- office
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.