PowerPoint MCP server

Enables creation and editing of PowerPoint presentations with tools for slides, content, tables, charts and AI-generated images via Stable Diffusion
Back to servers
Setup instructions
Provider
Ichigo3766
Release date
Mar 25, 2025
Language
Python
Stats
36 stars

This MCP server creates PowerPoint presentations automatically, allowing you to generate slides with text, tables, charts, and AI-generated images through a simple interface.

Installation

Prerequisites

Make sure you have UV installed first:

For MacOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

For Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Setup Steps

  1. Clone the repository:
git clone https://github.com/Ichigo3766/powerpoint-mcp.git
  1. Configure the MCP server in your Claude Desktop configuration file:

    • On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json

Add the following to your configuration:

"mcpServers": {
  "powerpoint": {
    "command": "uv",
    "env": {
      "SD_WEBUI_URL": "http://your-sd-webui-url:7860",
      "SD_AUTH_USER": "your-username",
      "SD_AUTH_PASS": "your-password"
    },
    "args": [
      "--directory",
      "/path/to/powerpoint",
      "run",
      "powerpoint",
      "--folder-path",
      "/path/to/decks_folder"
    ]
  }
}

Note:

  • Replace /path/to/powerpoint with the full path to the cloned repository
  • Replace /path/to/decks_folder with the folder where presentations and images will be saved
  • The SD_AUTH_USER and SD_AUTH_PASS environment variables are optional and only needed if your Stable Diffusion WebUI requires authentication

Usage

The PowerPoint MCP server provides several tools for creating presentations:

Creating Presentations

You can interact with the server using natural language prompts like:

Create a presentation about fish, create some images and include tables and charts

Or:

Create a presentation about the attached paper. Please use the following images in the presentation: author.jpeg

If you have other MCP servers installed (like SQLite), you can combine them:

Review 2024 Sales Data table. Create a presentation showing current trends, use tables and charts as appropriate

Available Tools

The server implements the following tools:

  • create-presentation: Starts a new presentation with a given name
  • add-slide-title-only: Adds a title-only slide
  • add-slide-section-header: Adds a section header slide
  • add-slide-title-content: Adds a slide with title and content
  • add-slide-title-with-table: Adds a slide with a title and table
  • add-slide-title-with-chart: Adds a slide with a title and chart
  • add-slide-picture-with-caption: Adds a slide with a picture and caption
  • open-presentation: Opens an existing presentation for editing
  • save-presentation: Saves the presentation to a file
  • generate-and-save-image: Generates an image using Stable Diffusion API

The server uses a local Stable Diffusion WebUI (either ForgeUI or Automatic-1111) API for image generation instead of hosted AI services.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "powerpoint" '{"command":"uv","env":{"SD_WEBUI_URL":"http://your-sd-webui-url:7860","SD_AUTH_USER":"your-username","SD_AUTH_PASS":"your-password"},"args":["--directory","/path/to/powerpoint","run","powerpoint","--folder-path","/path/to/decks_folder"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "powerpoint": {
            "command": "uv",
            "env": {
                "SD_WEBUI_URL": "http://your-sd-webui-url:7860",
                "SD_AUTH_USER": "your-username",
                "SD_AUTH_PASS": "your-password"
            },
            "args": [
                "--directory",
                "/path/to/powerpoint",
                "run",
                "powerpoint",
                "--folder-path",
                "/path/to/decks_folder"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "powerpoint": {
            "command": "uv",
            "env": {
                "SD_WEBUI_URL": "http://your-sd-webui-url:7860",
                "SD_AUTH_USER": "your-username",
                "SD_AUTH_PASS": "your-password"
            },
            "args": [
                "--directory",
                "/path/to/powerpoint",
                "run",
                "powerpoint",
                "--folder-path",
                "/path/to/decks_folder"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later