Powerpoint MCP Server

Powerpoint MCP Server

通过自然语言命令创建和操作 PowerPoint 演示文稿,具备添加各种幻灯片类型、生成图像以及整合表格和图表的功能。

Category
访问服务器

Tools

create-presentation

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.

generate-and-save-image

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.

add-slide-title-only

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.

add-slide-section-header

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.

add-slide-title-content

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

add-slide-comparison

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

add-slide-title-with-table

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

add-slide-title-with-chart

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

add-slide-picture-with-caption

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

open-presentation

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.

save-presentation

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

README

powerpoint MCP 服务器

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

<a href="https://glama.ai/mcp/servers/h1wl85c8gs"> <img width="380" height="200" src="https://glama.ai/mcp/servers/h1wl85c8gs/badge" alt="Powerpoint Server MCP server" /> </a>

组件

工具

该服务器实现了多个工具:

  • create-presentation: 启动一个演示文稿
    • 接受 "name" 作为必需的字符串参数
    • 创建一个演示文稿对象
  • add-slide-title-only: 向演示文稿添加一个仅标题的幻灯片
    • 接受 "presentation_name" 和 "title" 作为必需的字符串参数
    • 创建一个带有 "title" 的标题幻灯片,并将其添加到演示文稿中
  • add-slide-section-header: 向演示文稿添加一个节标题幻灯片
    • 接受 "presentation_name" 和 "header" 作为必需的字符串参数
    • 创建一个带有 "header" (以及可选的 "subtitle") 的节标题幻灯片,并将其添加到演示文稿中
  • add-slide-title-content: 向演示文稿添加一个带有内容的标题幻灯片
    • 接受 "presentation_name", "title", "content" 作为必需的字符串参数
    • 创建一个带有 "title" 和 "content" 的标题内容幻灯片,并将其添加到演示文稿中
  • add-slide-title-with-table: 添加一个带有表格的标题幻灯片
    • 接受 "presentation_name", "title", "data" 作为必需的字符串和数组参数
    • 创建一个带有 "title" 的标题幻灯片,并添加一个从数据动态构建的表格
  • add-slide-title-with-chart: 添加一个带有图表的标题幻灯片
    • 接受 "presentation_name", "title", "data" 作为必需的字符串和对象参数
    • 创建一个带有 "title" 的标题幻灯片,并添加一个从数据动态构建的图表。尝试从数据源中找出最佳图表类型。
  • add-slide-picture-with-caption: 添加一个带有标题的图片幻灯片
    • 接受 "presentation_name", "title", "caption", "image_path" 作为必需的字符串参数
    • 使用提供的 "title"、"caption" 和 "image_path" 创建一个带有标题的图片幻灯片。可以使用通过 "generate-and-save-image" 工具创建的图像,也可以使用用户提供的 "image_path"(图像必须存在于 folder_path 中)
  • open-presentation: 打开一个演示文稿进行编辑
    • 接受 "presentation_name" 作为必需的参数
    • 打开给定的演示文稿,并自动将其备份保存为 "backup.pptx"
    • 此工具允许客户端使用现有的 pptx 文件并向其中添加幻灯片。只需确保客户端在最后调用 "save-presentation" 工具。
  • save-presentation: 将演示文稿保存到文件。
    • 接受 "presentation_name" 作为必需的参数。
    • 将演示文稿保存到 folder_path。客户端必须调用此工具才能完成该过程。
  • generate-and-save-image: 使用 FLUX 模型为演示文稿生成图像
    • 接受 "prompt" 和 "file_name" 作为必需的字符串参数
    • 使用 TogetherAI 上的免费 FLUX 模型创建图像(需要 API 密钥)

配置

通过 TogetherAI 生成图像需要一个环境变量 注册一个帐户:https://api.together.xyz/settings/api-keys

"env": {
        "TOGETHER_API_KEY": "api_key"
      }

需要一个 folder_path。所有演示文稿和图像都将保存到此文件夹。

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

快速开始

安装

确保您已安装 UV

MacOS/Linux

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

Windows

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

克隆仓库

git clone https://github.com/supercurses/powerpoint.git

Claude Desktop

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

  • --directory: 您在上面克隆仓库的路径
  • --folder-path: powerpoint decks 和图像将保存到的路径。也是您应该放置任何您希望 MCP 服务器使用的图像的路径。
  # 将服务器添加到您的 claude_desktop_config.json
  "mcpServers": {
    "powerpoint": {
      "command": "uv",
      "env": {
        "TOGETHER_API_KEY": "api_key"
      },
      "args": [
        "--directory",
        "/path/to/powerpoint",
        "run",
        "powerpoint",
        "--folder-path",
        "/path/to/decks_folder"
      ]
    }

使用示例

创建一个关于鱼的演示文稿,创建一些图像,并包含表格和图表
创建一个关于所附论文的演示文稿。请在演示文稿中使用以下图像:
author.jpeg

假设您已安装 SQLite MCP Server。

查看 2024 年销售数据表。创建一个演示文稿,显示当前趋势,并根据需要使用表格和图表

许可证

此 MCP 服务器是在 MIT 许可证下获得许可的。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。有关更多详细信息,请参阅项目存储库中的 LICENSE 文件。

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选