PPT-MCP
The PPT-MCP server provides a pure Node.js solution for comprehensive PowerPoint presentation management with AI-powered workflows through Claude integration.
Create presentations with customizable titles, slide counts, output paths, and template styles (basic, professional, modern)
Edit existing presentations by adding slides, text, images, or tables with precise positioning options
Read and extract content from PowerPoint files in text, JSON, or markdown format with optional slide ranges and speaker notes
Analyze presentations for structure, content, statistics, readability, or comprehensive insights with detailed reporting
AI-powered workflows supporting natural language commands, intelligent template suggestions, and batch operations
Cross-platform compatibility with custom file management using pure Node.js/TypeScript
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PPT-MCP create a 10-slide presentation titled 'Annual Marketing Strategy' using the modern template"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
šÆ PPT-MCP
Pure Node.js PowerPoint MCP Server - Create, analyze, and manage PowerPoint presentations with AI assistance
1 PPT-MCP is a Model Context Protocol (MCP) server that provides comprehensive PowerPoint presentation management capabilities using pure JavaScript/TypeScript. Built with PptxGenJS, the most popular PowerPoint library for Node.js with 3,500+ GitHub stars.
⨠Features
š Pure Node.js Stack
Zero Python Dependencies - 100% JavaScript/TypeScript implementation
Cross-Platform - Works on Windows, macOS, and Linux
Modern Architecture - Built with latest Node.js and TypeScript
Lightweight - Minimal dependencies, fast startup
š Core Capabilities
šØ Create Presentations - Generate professional PowerPoint files with custom templates
āļø Edit Existing Files - Advanced editing capabilities with pptx-automizer for real PowerPoint modification
š File Analysis - Analyze presentation structure and metadata
š§ Template Support - Basic, Professional, and Modern design templates
š File Management - Smart file handling and directory management
šÆ AI-Powered Workflow
Claude Integration - Seamless integration with Claude Desktop
Natural Language - Create presentations using conversational commands
Intelligent Templates - AI-suggested layouts and designs
Batch Operations - Handle multiple presentations efficiently
Related MCP server: Deckbuilder MCP Server
š Quick Start
Prerequisites
Node.js 18+
Claude Desktop (for MCP integration)
Installation
Option 1: NPM Package (Recommended)
npm install -g ppt-mcpOption 2: From Source
git clone https://github.com/guangxiangdebizi/PPT-MCP.git
cd PPT-MCP
npm install
npm run buildClaude Desktop Configuration
Add to your Claude Desktop config:
Stdio Mode (Local Development)
{
"mcpServers": {
"ppt-mcp": {
"command": "node",
"args": ["path/to/PPT-MCP/build/index.js"]
}
}
}SSE Mode (Production)
# Install and run with Supergateway
npm install -g supergateway
npx supergateway --stdio "node build/index.js" --port 3100{
"mcpServers": {
"ppt-mcp": {
"type": "sse",
"url": "http://localhost:3100/sse",
"timeout": 600
}
}
}š ļø Available Tools
1. create_presentation
Create new PowerPoint presentations with customizable options.
Parameters:
title(required) - Presentation titleslides(optional) - Number of slides (default: 1)output_path(optional) - Custom save locationtemplate(optional) - Design template:basic,professional,modern
Example:
Create a presentation titled "Q4 Business Review" with 5 slides using the professional template2. edit_presentation
Basic editing of existing presentations (Note: Limited by PptxGenJS library capabilities).
Parameters:
file_path(required) - Path to existing presentationoperation(required) - Edit type:add_slide,add_text,add_image,add_tableslide_index(optional) - Target slide numbercontent(optional) - Content to add
2.5. edit_presentation_enhanced š
Enhanced PowerPoint editing with comprehensive guidance and step-by-step instructions for manual editing.
Parameters:
file_path(required) - Path to existing presentationoperation(required) - Operation type:get_guidance,add_slide,replace_text,extract_contentslide_index(optional) - Target slide number (1-based)content(optional) - Content specifications
Features:
š Step-by-step editing instructions
š§ Multiple solution approaches
š” Best practice recommendations
šÆ Operation-specific guidance
Example:
Get guidance for editing "report.pptx" to replace text content3. read_presentation
Analyze and extract information from PowerPoint files.
Parameters:
file_path(required) - Path to presentation fileoutput_format(optional) - Format:text,json,markdownslide_range(optional) - Specific slides to readinclude_notes(optional) - Include speaker notes
4. analyze_presentation
Perform comprehensive analysis of presentation structure and content.
Parameters:
file_path(required) - Path to presentation fileanalysis_type(optional) - Analysis type:structure,content,statistics,readability,comprehensivedetailed(optional) - Enable detailed analysis
š Project Structure
PPT-MCP/
āāā src/
ā āāā index.ts # MCP server entry point
ā āāā tools/
ā āāā ppt-creator.ts # Creation & editing tools
ā āāā ppt-reader.ts # Reading & analysis tools
āāā build/ # Compiled JavaScript
āāā package.json # Dependencies & scripts
āāā tsconfig.json # TypeScript configuration
āāā README.md # Documentation
āāā LICENSE # Apache 2.0 Licenseš§ Development
Build Commands
npm run build # Compile TypeScript
npm run dev # Watch mode compilation
npm start # Run compiled server
npm run sse # Start with Supergateway SSETesting
# Test server startup
node build/index.js
# Test presentation creation
# (Use Claude Desktop or MCP client)šØ Template Showcase
Basic Template
Clean, minimal design
Black text on white background
Perfect for academic or simple business presentations
Professional Template
Corporate color scheme (Dark Slate Gray)
Sophisticated typography
Ideal for business meetings and reports
Modern Template
Vibrant blue and green accents
Contemporary design elements
Great for creative and tech presentations
š Technology Stack
Runtime: Node.js 18+
Language: TypeScript
PPT Engine: 1 PptxGenJS (3,500+ ā)
MCP SDK: @modelcontextprotocol/sdk
Build System: TypeScript Compiler
Package Manager: NPM
š Migration from Python
This version represents a complete rewrite from Python to pure Node.js:
Advantages of Node.js Version:
ā Faster Startup - No Python interpreter overhead
ā Simpler Deployment - Single runtime environment
ā Better Integration - Native JavaScript ecosystem
ā Modern Tooling - TypeScript, ESM, and modern Node.js features
ā Cross-Platform - Consistent behavior across operating systems
Current Limitations:
ā ļø Direct File Modification - PptxGenJS is creation-focused, not editing-focused
ā ļø Complex Animations - Advanced animations not yet supported
ā ļø Embedded Media - Video/audio embedding requires additional implementation
Solutions Provided:
ā Comprehensive Guidance -
edit_presentation_enhancedtool provides step-by-step instructionsā Multiple Approaches - Manual editing, hybrid workflows, and programmatic creation
ā Best Practices - Detailed recommendations for different editing scenarios
The edit_presentation_enhanced tool bridges the gap by providing expert guidance for PowerPoint editing workflows.
š¤ Contributing
We welcome contributions! Here's how to get started:
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureCommit your changes:
git commit -m 'Add amazing feature'Push to the branch:
git push origin feature/amazing-featureOpen a Pull Request
Development Guidelines
Follow TypeScript best practices
Add tests for new features
Update documentation
Ensure cross-platform compatibility
š License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
šØāš» Author
Xingyu Chen
š LinkedIn: Xingyu Chen
š§ Email: guangxiangdebizi@gmail.com
š GitHub: @guangxiangdebizi
š¦ NPM: @xingyuchen
š Acknowledgments
PptxGenJS Team - For the excellent PowerPoint generation library
Anthropic - For the Model Context Protocol specification
TypeScript Team - For the amazing type system
Node.js Community - For the robust runtime environment
ā Star this repo if you find it helpful!
š Report Bug ⢠⨠Request Feature ⢠š Documentation
Available Tools
4 toolsanalyze_presentationC
Analyze PowerPoint presentation structure, content, and provide insights
Inputs: file_path (required), analysis_type, detailed.
create_presentationC
Create a new PowerPoint presentation with specified title and number of slides
Inputs: title (required), output_path, slides, template.
edit_presentationC
Edit an existing PowerPoint presentation by adding slides or modifying content
Inputs: file_path (required), operation (required), content, slide_index.
read_presentationB
Read and extract content from PowerPoint presentations
Inputs: file_path (required), include_notes, output_format, slide_range.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: analyze for insights, create for new presentations, edit for modifications, and read for content extraction. There is no overlap in functionality, making tool selection straightforward for an agent.
All tool names follow a consistent verb_noun pattern (e.g., analyze_presentation, create_presentation), using snake_case throughout. This predictability enhances readability and usability for agents.
With 4 tools, the server is well-scoped for PowerPoint presentation management. Each tool serves a distinct and essential function (create, read, edit, analyze), with no unnecessary or redundant tools, making the count appropriate for the domain.
The toolset covers core CRUD-like operations (create, read, edit) and analysis, providing a solid foundation for presentation workflows. A minor gap exists in deletion or more advanced editing features, but agents can work effectively with the current tools.
Maintenance
Related MCP Connectors
Generate professional PowerPoint presentations from text, YouTube videos, or structured JSON data.ā¦
Create, edit, export and manage presentations. Requires a paid PPT.AI API merchant account.
Generate, edit, merge, translate and PDF-convert PowerPoint (.pptx) over MCP. 8 tools.
Generate AI slide decks and export native PowerPoint (.pptx) and PDF presentations from chat.
Related MCP Servers
- AlicenseAqualityDmaintenanceCreates and manipulates PowerPoint presentations with capabilities for adding various slide types, generating images, and incorporating tables and charts through natural language commands.11145MIT
- AlicenseNot gradedqualityDmaintenanceCreates professional PowerPoint presentations from Markdown or JSON with intelligent layout recommendations, rich content support including tables and images, and automatic template selection based on content analysis.7Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to programmatically create, manipulate, and analyze Microsoft PowerPoint presentations with advanced formatting and template management.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create and manipulate PowerPoint presentations programmatically, including adding slides, exporting to PDF, and reading metadata.18 npm5MIT