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-MCPcreate 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
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_type | No | Type of analysis to perform | comprehensive |
| detailed | No | Whether to provide detailed analysis | |
| file_path | Yes | Path to the PowerPoint file to analyze |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'analyze' and 'provide insights', which imply a read-only operation, but doesn't clarify if it modifies the file, requires specific permissions, or has limitations like file size or format. For a tool with no annotation coverage, this leaves significant gaps in understanding its behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded, consisting of a single sentence that directly states the tool's purpose. There's no wasted language or redundancy, making it efficient and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (analyzing presentations with multiple parameters) and the lack of annotations and output schema, the description is incomplete. It doesn't cover behavioral aspects like whether the tool is read-only, what insights are provided, or how results are returned. This leaves users with insufficient information to use the tool effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description doesn't add meaning beyond the input schema, which has 100% coverage. It mentions 'structure, content, and provide insights', which loosely relates to the 'analysis_type' parameter but doesn't explain the semantics of parameters like 'detailed' or 'file_path'. With high schema coverage, the baseline is 3, as the schema adequately documents the parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Analyze PowerPoint presentation structure, content, and provide insights.' It specifies the verb ('analyze'), resource ('PowerPoint presentation'), and scope ('structure, content, and insights'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate from sibling tools like 'read_presentation' or 'edit_presentation', which might also involve analyzing content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'read_presentation' or 'edit_presentation', nor does it specify prerequisites, such as needing an existing PowerPoint file. Without this context, users might struggle to choose between similar tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_presentationC
Create a new PowerPoint presentation with specified title and number of slides
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Output file path (optional, defaults to current directory) | |
| slides | No | Number of slides to create (default: 1) | |
| template | No | Presentation template style | basic |
| title | Yes | Title of the presentation |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool creates a presentation but doesn't mention critical aspects like whether it overwrites existing files, requires authentication, has rate limits, or what the output looks like (e.g., file format, success indicators). This leaves significant gaps for an agent to understand the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose without unnecessary words. Every part of the sentence contributes directly to understanding the tool's function, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of a creation tool with no annotations and no output schema, the description is insufficient. It doesn't explain what happens upon execution (e.g., file creation, error handling), return values, or behavioral constraints. For a tool that modifies the system by creating files, more context is needed to ensure safe and effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description mentions 'title and number of slides', which aligns with two of the four parameters in the schema. However, with 100% schema description coverage, the schema already fully documents all parameters, including 'output_path' and 'template' with their defaults and options. The description adds minimal value beyond what's in the schema, meeting the baseline for high coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Create a new PowerPoint presentation') and specifies the key inputs ('with specified title and number of slides'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'edit_presentation' or 'read_presentation' beyond the creation aspect, which prevents a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'edit_presentation' or 'read_presentation'. It lacks context about prerequisites, such as whether it requires specific software or permissions, or when it's appropriate for initial creation versus modification.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
edit_presentationC
Edit an existing PowerPoint presentation by adding slides or modifying content
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Content to add based on operation type | |
| file_path | Yes | Path to the existing presentation file | |
| operation | Yes | Type of edit operation | |
| slide_index | No | Slide index to edit (1-based, optional for add_slide) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states this is an edit operation but doesn't describe what 'edit' entailsβwhether it modifies the original file or creates a copy, what permissions are needed, error handling, or side effects. This is inadequate for a mutation tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose. It avoids unnecessary words, though it could be slightly more structured by separating operation types more clearly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with no annotations and no output schema, the description is incomplete. It lacks details on behavioral traits (e.g., file modification behavior, error cases), usage context, and output expectations, leaving significant gaps for an agent to understand how to invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so parameters are well-documented in the schema. The description adds no additional parameter semantics beyond implying that 'edit' involves operations like adding slides or modifying content, which aligns with the operation enum. Baseline 3 is appropriate as the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('edit') and resource ('existing PowerPoint presentation') with specific operations ('adding slides or modifying content'). It distinguishes from siblings like create_presentation (new vs. existing) and read_presentation/analyze_presentation (edit vs. read/analyze), though it doesn't explicitly name these distinctions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like create_presentation or analyze_presentation. It mentions 'existing PowerPoint presentation' which implies it's for editing rather than creating, but offers no explicit when/when-not rules or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_presentationB
Read and extract content from PowerPoint presentations
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the PowerPoint file to read | |
| include_notes | No | Whether to include speaker notes | |
| output_format | No | Output format for the content | text |
| slide_range | No | Range of slides to read (optional) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool reads and extracts content, implying a read-only operation, but doesn't address critical aspects like error handling (e.g., invalid file paths), performance expectations, or whether it modifies the original file. This leaves significant gaps in understanding the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It's front-loaded with the core purpose ('read and extract content'), making it easy to grasp quickly. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (4 parameters, nested objects) and lack of annotations or output schema, the description is minimally adequate but incomplete. It covers the basic purpose but fails to address behavioral traits, usage context, or output details, leaving the agent to rely heavily on the schema for operational understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, meaning all parameters are well-documented in the schema itself. The description adds no additional semantic context beyond what's already in the schema (e.g., it doesn't explain how 'output_format' affects readability or why 'slide_range' is optional). This meets the baseline for high schema coverage but doesn't enhance parameter understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('read and extract content') and resource ('PowerPoint presentations'), making the tool's purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'analyze_presentation' or 'edit_presentation', which might have overlapping functionality with content extraction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'analyze_presentation' or 'create_presentation'. There's no mention of prerequisites, such as file accessibility, or when this tool is preferred over others for content extraction tasks.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.0.0- First observed
analyze_presentation - First observed
create_presentation - First observed
edit_presentation - First observed
read_presentation
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.β¦
Generate, edit, merge, translate and PDF-convert PowerPoint (.pptx) over MCP. 8 tools.
Deterministic, fully editable PowerPoint from typed slide intents. 200+ layouts, brand templates.
Presentations.AI MCP server β create designed slide decks from a topic, text, or document.
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.11144MIT
- AlicenseNot gradedqualityCmaintenanceCreates 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
- FlicenseAqualityDmaintenanceEnables AI assistants to create, edit, and manipulate PowerPoint presentations programmatically with support for text styling, shapes, slide rearrangement, and direct Office XML access.81-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to programmatically create, manipulate, and analyze Microsoft PowerPoint presentations with advanced formatting and template management.4MIT