loading…
Search for a command to run...
loading…
Enables AI assistants to create and manipulate PowerPoint presentations programmatically, including adding slides, exporting to PDF, and reading metadata.
Enables AI assistants to create and manipulate PowerPoint presentations programmatically, including adding slides, exporting to PDF, and reading metadata.
A Model Context Protocol (MCP) plugin for PowerPoint operations, allowing AI assistants to create and manipulate PowerPoint presentations programmatically.
# 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
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"
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
Creates a new PowerPoint presentation.
Parameters:
outputPath: Path where to save the PowerPoint file (must end with .pptx)title: (Optional) Title of the presentationAdds a slide to an existing PowerPoint presentation.
Parameters:
file: Path to the PowerPoint filetitle: (Optional) Title of the slidecontent: (Optional) Content of the slideGets slides from a PowerPoint presentation.
Parameters:
file: Path to the PowerPoint fileExports a PowerPoint presentation to PDF.
Parameters:
file: Path to the PowerPoint fileoutputPath: Path where to save the PDF file (must end with .pdf)Reads metadata and structure from a PowerPoint presentation.
Parameters:
file: Path to the PowerPoint fileMIT
Contributions are welcome! Please feel free to submit a Pull Request. ### Topics
Run in your terminal:
claude mcp add mcp-powerpoint -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.