Skip to main content
Glama
PowerPoint MCP Server

PowerPoint MCP Server

by Ichigo3766

Servidor MCP de PowerPoint

Un proyecto de servidor MCP que crea presentaciones de PowerPoint

Cambios principales de esta bifurcación

Utiliza la API de difusión estable (ForgeUI/Automatic-1111) en lugar de inteligencia artificial conjunta.

Related MCP server: PowerPoint Editor MCP Server

Componentes

Herramientas

El servidor implementa múltiples herramientas:

  • create-presentation : inicia una presentación

    • Toma "nombre" como argumento de cadena obligatorio

    • Crea un objeto de presentación

  • add-slide-title-only : agrega una diapositiva de título a la presentación

    • Toma "presentation_name" y "title" como argumentos de cadena obligatorios

    • Crea una diapositiva de título con "título" y la agrega a la presentación

  • add-slide-section-header : agrega una diapositiva de encabezado de sección a la presentación

    • Toma "presentation_name" y "header" como argumentos de cadena requeridos

    • Crea una diapositiva de encabezado de sección con "encabezado" (y opcionalmente "subtítulo") y la agrega a la presentación

  • add-slide-title-content : Agrega un título con una diapositiva de contenido a la presentación

    • Toma "presentation_name", "title", "content" como argumentos de cadena obligatorios

    • Crea un título con una diapositiva de contenido con "título" y "contenido" y la agrega a la presentación

  • add-slide-title-with-table : Agrega una diapositiva de título con una tabla

    • Toma "presentation_name", "title", "data" como argumentos de cadena y matriz requeridos

    • Crea una diapositiva de título con "título" y agrega una tabla construida dinámicamente a partir de datos

  • add-slide-title-with-chart : agrega una diapositiva de título con un gráfico

    • Toma "presentation_name", "title", "data" como argumentos de cadena y objeto requeridos

    • Crea una diapositiva de título con "título" y añade un gráfico generado dinámicamente a partir de los datos. Intenta determinar el mejor tipo de gráfico a partir de la fuente de datos.

  • add-slide-picture-with-caption : Agrega una diapositiva con imagen y título

    • Toma "presentation_name", "title", "caption", "image_path" como argumentos de cadena obligatorios

    • Crea una diapositiva de imagen con subtítulo usando los datos "título", "subtítulo" y "ruta_de_imagen". Se pueden usar imágenes creadas con la herramienta "generar y guardar imagen" o una "ruta_de_imagen" proporcionada por el usuario (la imagen debe estar en la ruta_de_carpeta).

  • open-presentation : abre una presentación para editarla

    • Toma "presentation_name" como argumento obligatorio

    • Abre la presentación dada y guarda automáticamente una copia de seguridad de la misma como "backup.pptx".

    • Esta herramienta permite al cliente trabajar con archivos PPTX existentes y agregarles diapositivas. Solo asegúrese de que el cliente abra la herramienta "Guardar presentación" al final.

  • save-presentation : guarda la presentación en un archivo.

    • Toma "presentation_name" como argumento obligatorio.

    • Guarda la presentación en la ruta de la carpeta. El cliente debe llamar a esta herramienta para finalizar el proceso.

  • generate-and-save-image : genera una imagen para la presentación utilizando un modelo T2I

    • Toma "prompt" y "file_name" como argumentos de cadena requeridos

    • Crea una imagen utilizando la API de difusión estable (ForgeUI/Automatic1111)

Configuración

Se requiere una variable de entorno para la generación de imágenes a través de la API de ForgeUI

"env": 
{
  "SD_WEBUI_URL": "http://your-sd-webui-url:7860",
  "SD_AUTH_USER": "your-username",  // Optional: if authentication is enabled
  "SD_AUTH_PASS": "your-password",  // Optional: if authentication is enabled
}

Se requiere una ruta de carpeta. Todas las presentaciones e imágenes se guardarán en esta carpeta.

"--folder-path",
  "/path/to/decks_folder"

Inicio rápido

Instalar

Asegúrese de tener instalado el sistema UV

MacOS/Linux

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

Ventanas

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

Clonar el repositorio

git clone https://github.com/Ichigo3766/powerpoint-mcp.git

Claude Desktop (funciona con cualquier cliente mcp)

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

  • --directory : la ruta donde clonó el repositorio anterior (ej: /ruta/completa/a/powerpoint-mcp/src)

  • --folder-path : la ruta donde se guardarán las presentaciones e imágenes de PowerPoint. También es la ruta donde debe colocar las imágenes que desea que use el servidor MCP.

  # Add the server to your claude_desktop_config.json
  "mcpServers": {
    "powerpoint": {
      "command": "uv",
      "env": {
        "SD_WEBUI_URL": "http://your-sd-webui-url:7860",
        "SD_AUTH_USER": "your-username",  // Optional: if authentication is enabled
        "SD_AUTH_PASS": "your-password",  // Optional: if authentication is enabled
      },
      "args": [
        "--directory",
        "/path/to/powerpoint",
        "run",
        "powerpoint",
        "--folder-path",
        "/path/to/decks_folder"
      ]
    }
  }

Ejemplos de uso

Create a presentation about fish, create some images and include tables and charts
Create a presentation about the attached paper. Please use the following images in the presentation:
author.jpeg

Suponiendo que tenga instalado SQLite MCP Server.

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

Créditos

Este proyecto es una bifurcación de PowerPoint de supercurses , con características y modificaciones adicionales. El proyecto original sentó las bases de este servidor MCP.

Licencia

Este servidor MCP cuenta con la licencia MIT. Esto significa que puede usar, modificar y distribuir el software libremente, sujeto a los términos y condiciones de la licencia MIT. Para más detalles, consulte el archivo de LICENCIA en el repositorio del proyecto.

Available Tools

11 tools
add-slide-comparisonA

Add a new a comparison slide with title and comparison content. Use when you wish to compare two concepts

Inputs: left_side_content (required), left_side_title (required), presentation_name (required), right_side_content (required), +2 more.

add-slide-picture-with-captionC

Add a new slide with a picture and caption to an existing presentation

Inputs: caption (required), image_path (required), presentation_name (required), title (required).

add-slide-section-headerC

This tool adds a section header (a.k.a segue) slide to the presentation you are working on. The tool doesn't return anything. It requires the presentation_name to work on.

Inputs: header (required), presentation_name (required), subtitle.

add-slide-title-contentC

Add a new slide with a title and content to an existing presentation

Inputs: content (required), presentation_name (required), title (required).

add-slide-title-onlyB

This tool adds a new title slide to the presentation you are working on. The tool doesn't return anything. It requires the presentation_name to work on.

Inputs: presentation_name (required), title (required).

add-slide-title-with-chartC

Add a new slide with a title and chart. The chart type will be automatically selected based on the data structure.

Inputs: data (required), presentation_name (required), title (required).

add-slide-title-with-tableC

Add a new slide with a title and table containing the provided data

Inputs: data (required), presentation_name (required), title (required).

create-presentationB

This tool starts the process of generating a new powerpoint presentation with the name given by the user. Use this tool when the user requests to create or generate a new presentation.

Inputs: name (required).

generate-and-save-imageB

Generates an image using a FLUX model and save the image to the specified path. The tool will return a PNG file path. It should be used when the user asks to generate or create an image or a picture.

Inputs: file_name (required), prompt (required).

open-presentationB

Opens an existing presentation and saves a copy to a new file for backup. Use this tool when the user requests to open a presentation that has already been created.

Inputs: presentation_name (required), output_path.

save-presentationA

Save the presentation to a file. Always use this tool at the end of any process that has added slides to a presentation.

Inputs: presentation_name (required), output_path.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 11 tools

    Disambiguation4/5

    Most tools have distinct purposes focused on slide types or presentation management, but 'generate-and-save-image' stands out as unrelated to PowerPoint operations, potentially causing confusion. The slide-adding tools are well-differentiated by content type (comparison, picture, title-only, etc.), making them easy to distinguish for their specific use cases.

    Naming Consistency4/5

    The naming follows a consistent 'verb-noun' pattern with hyphens (e.g., add-slide-comparison, create-presentation), which is clear and predictable. However, 'generate-and-save-image' deviates slightly by including an 'and' conjunction, breaking the pure verb-noun flow, though it remains readable and understandable.

    Tool Count4/5

    With 11 tools, the count is reasonable for a PowerPoint server, covering slide creation, presentation management, and an image generation tool. It's slightly on the higher side but well-scoped for the domain, with each tool serving a specific function without obvious redundancy.

    Completeness3/5

    The toolset covers core presentation operations like creating, opening, saving, and adding various slide types, but lacks tools for editing or deleting slides, updating content, or managing slide order. The inclusion of 'generate-and-save-image' adds an unrelated capability, but for PowerPoint-specific tasks, there are notable gaps in lifecycle coverage.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers