IP

ichigo3766/powerpoint-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

55 stars 8 forks 质量 55 趋势 0MIT

ichigo3766/PowerPoint-mcp 是从 https://github.com/ichigo3766/powerpoint-mcp. 导入的 MCP 候选服务器。

概览

ichigo3766/PowerPoint-mcp 是从 https://github.com/ichigo3766/powerpoint-mcp. 导入的 MCP 候选服务器。

概述(AI 翻译)

一个创建PowerPoint演示文稿的MCP服务器项目

本次分叉的主要变化

使用Stable Diffusion(ForgeUI/Automatic-1111)API代替Together AI。

组成部分

工具

服务器实现了多种工具:

:开始演讲

  • 将“name”作为必要的字符串参数
  • 创建展示对象

:为演示添加标题幻灯片

  • 将“presentation_name”和“title”作为字符串参数
  • 创建带有“title”的标题幻灯片并将其添加到演示中

:为演示添加章节标题幻灯片

  • 将“presentation_name”和“头”作为必要的字符串参数
  • 创建带有“header”(可选“subtitle”)的章节头滑灯片,并将其添加到演示文稿中

:为演示添加标题和内容幻灯片

  • 将“presentation_name”、“title”、“content”作为必要的字符串参数
  • 创建带有“title”和“content”的标题幻灯片,并将其添加到演示中

: 添加了带有表格的标题幻灯片

  • 将“presentation_name”、“title”、“data”作为字符串和数组参数
  • 创建带有“title”的标题幻灯片,并从数据动态构建表

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Powerpoint MCP server

A MCP server project that creates powerpoint presentations

Main Changes of this fork

Uses Stable Diffusion (ForgeUI/Automatic-1111) API instead of together ai.

Components

Tools

The server implements multiple tools:

  • create-presentation: Starts a presentation
    • Takes “name” as required string arguments
    • Creates a presentation object
  • add-slide-title-only: Adds a title slide to the presentation
    • Takes “presentation_name” and “title” as required string arguments
    • Creates a title slide with “title” and adds it to presentation
  • add-slide-section-header: Adds a section header slide to the presentation
    • Takes “presentation_name” and “header” as required string arguments
    • Creates a section header slide with “header” (and optionally “subtitle”) and adds it to the presentation
  • add-slide-title-content: Adds a title with content slide to the presentation
    • Takes “presentation_name”, “title”, “content” as required string arguments
    • Creates a title with content slide with “title” and “content” and adds it to presentation
  • add-slide-title-with-table: Adds a title slide with a table
    • Takes “presentation_name”, “title”, “data” as required string and array arguments
    • Creates a title slide with “title” and adds a table dynamically built from data
  • add-slide-title-with-chart: Adds a title slide with a chart
    • Takes “presentation_name”, “title”, “data” as required string and object arguments
    • Creates a title slide with “title” and adds a chart dynamically built from data. Attempts to figure out the best type of chart from the data source.
  • add-slide-picture-with-caption: Adds a picture with caption slide
    • Takes “presentation_name”, “title”, “caption”, “image_path” as required string arguments
    • Creates a picture with caption slide using the supplied “title”, “caption”, and “image_path”. Can either use images created via the “generate-and-save-image” tool or use an “image_path” supplied by the user (image must exist in folder_path)
  • open-presentation: Opens a presentation for editing
    • Takes “presentation_name” as required arguments
    • Opens the given presentation and automatically saves a backup of it as “backup.pptx”
    • This tool allows the client to work with existing pptx files and add slides to them. Just make sure the client calls “save-presentation” tool at the end.
  • save-presentation: Saves the presentation to a file.
    • Takes “presentation_name” as required arguments.
    • Saves the presentation to the folder_path. The client must call this tool to finalize the process.
  • generate-and-save-image: Generates an image for the presentation using a T2I model
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →