PPTX Generator MCP Server

PPTX Generator MCP Server

Generates professional PowerPoint presentations from Markdown with support for code blocks, tables, custom branding, and mixed formatting. Transforms lesson plans and documentation into styled PPTX files with syntax highlighting and customizable themes.

Category
访问服务器

README

PPTX Generator MCP Server

Model Context Protocol (MCP) server for generating professional PowerPoint presentations from Markdown.

Transform your lesson plans and documentation into beautiful PPTX presentations with support for:

  • Inline code with monospace formatting
  • Code blocks with syntax highlighting background
  • Tables with styled headers
  • Bold text and mixed formatting
  • Bullet lists with proper indentation
  • Mixed content slides (bullets + code + tables)
  • Custom branding (logos, colors, instructor info)

📋 Table of Contents


🔧 Requirements

  • Node.js 18.0 or higher (Download)
  • Claude Desktop (Download)
  • macOS, Linux, or Windows

Check your Node.js version:

node -v

📦 Installation

Method 1: Quick Install (Recommended)

1. Clone the repository:

cd ~/Documents  # or any directory you prefer
git clone https://github.com/dmytro-ustynov/pptx-generator-mcp.git
cd pptx-generator-mcp

2. Run the installation script:

./install.sh

The script will:

  • Install all dependencies
  • Install the command globally
  • Show you the Claude Desktop configuration

3. Configure Claude Desktop:

The installer will show you what to add. Copy the configuration to:

  • macOS/Linux: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "pptx-generator": {
      "command": "pptx-generator-mcp"
    }
  }
}

4. Restart Claude Desktop

✅ Done! The pptx-generator tools are now available in Claude.


Method 2: Manual Install

1. Clone and install dependencies:

# Change dmytro-ustynov to your username if you want to use your fork
git clone https://github.com/dmytro-ustynov/pptx-generator-mcp.git 
cd pptx-generator-mcp
npm install

2. Install globally:

npm install -g .

Or with sudo if needed:

sudo npm install -g .

3. Verify installation:

which pptx-generator-mcp
# Should show: /usr/local/bin/pptx-generator-mcp (or similar)

4. Configure Claude Desktop (same as Method 1, step 3)


⚙️ Configuration

Claude Desktop Setup

After installation, configure Claude Desktop to use the MCP server.

macOS/Linux:

# Open the config file
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
# or
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json

Windows:

notepad %APPDATA%\Claude\claude_desktop_config.json

Add this configuration:

{
  "mcpServers": {
    "pptx-generator": {
      "command": "pptx-generator-mcp"
    }
  }
}

If you have other MCP servers:

{
  "mcpServers": {
    "pptx-generator": {
      "command": "pptx-generator-mcp"
    },
    "other-server": {
      "command": "other-server-command"
    }
  }
}

Restart Claude Desktop for changes to take effect.


Customization

Customize colors, fonts, and branding by editing config.json in the installation directory.

Find your installation:

npm list -g pptx-generator-mcp
# Shows: /usr/local/lib/node_modules/pptx-generator-mcp

Edit config:

cd $(npm root -g)/pptx-generator-mcp
nano config.json

Configuration options:

Instructor Information

{
  "instructor": {
    "rank": "майор",
    "name": "Дмитро УСТИНОВ",
    "position": "викладач"
  }
}

Institution Details

{
  "institution": {
    "name": [
      "Військовий інститут",
      "телекомунікацій та інформатизації",
      "імені Героїв Крут"
    ],
    "department": "кафедри Комп'ютерних наук та інтелектуальних технологій"
  }
}

Colors

Colors are adjusted according to the official Armed Forces of Ukraine brandbook, and the logo is Armed Forces of Ukraine emblem.

{
  "colors": {
    "step": "#6A653A",        // Dividers and table headers
    "titleText": "#003366",   // Slide titles
    "bodyText": "#333333"     // Regular text
  }
}

Fonts

{
  "fonts": {
    "title": "Raleway",
    "body": "Open Sans",
    "code": "JetBrains Mono"  // For inline code and code blocks
  }
}

Font Sizes

{
  "sizes": {
    "slideTitle": 28,
    "body": 18,
    "code": 14
  }
}

After editing config.json:

  • No need to restart Claude Desktop
  • Changes apply to next generated presentation

🎯 Usage

In Claude Desktop

Once installed and configured, you can use these tools in Claude:

1. Generate a presentation:

Create a presentation about Docker basics with 5 slides

Claude will use the pptx-generator:generate_presentation tool automatically.

2. Get a template:

Show me the markdown template for presentations

Uses pptx-generator:get_template tool.

3. View configuration:

What are the current presentation settings?

Uses pptx-generator:get_config tool.

4. Update instructor:

Change the instructor to "капітан Іван ПЕТРЕНКО"

Uses pptx-generator:update_instructor tool.


Markdown Format

Presentations are created from Markdown with special syntax:

Frontmatter (Required)

---
discipline: Веб-розробка
type: practical
module: "3: Docker та контейнеризація"
lesson: "3.1: Основи Docker"
---

Types:

  • practical - Практичне заняття
  • lecture - Лекційне заняття
  • group - Групове заняття

Slide Types

Plan Slide:

## [plan] План заняття

- Topic 1
- Topic 2
- Topic 3

Divider Slide:

## [divider] 🔹 ЧАСТИНА 1. Introduction

Content Slide:

## [content] Slide Title

Regular text with **bold** and `inline code`.

Bullet points:
- First point with **bold**
- Second point with `code`
- Third point with **bold** and `code` mixed

Code block:
```bash
docker ps
docker images

Table:

Column 1 Column 2
value1 Description 1
value2 Description 2

#### Formatting

- **Bold text:** `**text**`
- **Inline code:** `` `code` ``
- **Code blocks:** Triple backticks with optional language
- **Tables:** Standard Markdown table syntax
- **Bullets:** `-` or `*` with optional indentation

---

## 📚 Examples

### Simple Presentation

```markdown
---
discipline: Programming Basics
type: lecture
module: "1: Introduction"
lesson: "1.1: Hello World"
---

## [plan] План заняття

- What is programming
- First program
- Variables and types

## [divider] 🔹 Getting Started

## [content] What is Programming?

**Programming** is giving instructions to computers.

Key concepts:
- Variables store data
- Functions perform actions
- Loops repeat tasks

Example:
```python
print("Hello, World!")

### Advanced Features

```markdown
## [content] Docker Commands

Common commands:

| Command | Description |
|---------|-------------|
| `docker ps` | List running containers |
| `docker images` | List images |
| `docker run` | Run a container |

Example usage:
```bash
docker run -d -p 80:80 nginx

The -d flag runs in detached mode.


---

## 🐛 Troubleshooting

### Command not found: pptx-generator-mcp

**Solution 1:** Check if installed globally
```bash
npm list -g pptx-generator-mcp

Solution 2: Add npm global bin to PATH

# Find npm global bin path
npm config get prefix

# Add to PATH (add to ~/.bashrc or ~/.zshrc)
export PATH=$(npm config get prefix)/bin:$PATH

Solution 3: Reinstall

cd /path/to/pptx-generator-mcp
npm install -g .

Tools not showing in Claude

  1. Check Claude Desktop config:

    cat ~/Library/Application\ Support/Claude/claude_desktop_config.json
    
  2. Verify JSON syntax (use JSONLint)

  3. Restart Claude Desktop completely:

    • Quit Claude Desktop (Cmd+Q on macOS)
    • Reopen Claude Desktop
  4. Check MCP server logs (if available in Claude Desktop)


Permission denied when installing

Solution: Use sudo

sudo npm install -g .

Or install without sudo by configuring npm:

mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

Fonts not displaying correctly

Issue: Custom fonts like JetBrains Mono not showing

Solution: Install the font on your system:

  1. Download JetBrains Mono
  2. Install the font
  3. Restart PowerPoint/Keynote

🔄 Updating

To update to the latest version:

# Navigate to repository
cd /path/to/pptx-generator-mcp

# Pull latest changes
git pull

# Reinstall
npm install
npm install -g .

No need to restart Claude Desktop - changes take effect immediately for new presentations.


🗑️ Uninstalling

# Uninstall global command
npm uninstall -g pptx-generator-mcp

# Remove repository
rm -rf /path/to/pptx-generator-mcp

# Remove from Claude Desktop config
# Edit: ~/Library/Application Support/Claude/claude_desktop_config.json
# Remove the "pptx-generator" section

📖 Additional Resources

  • MCP Documentation: https://modelcontextprotocol.io/
  • Claude Desktop: https://claude.ai/download
  • Markdown Guide: https://www.markdownguide.org/

📝 License

MIT License - See LICENSE file for details


🤝 Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

💬 Support

For issues or questions:


Made with ❤️ for VITI education

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选