powerpoint MCP 服务器
创建 PowerPoint 演示文稿的 MCP 服务器项目
成分
工具
服务器实现了多个工具:
create-presentation
:开始演示- 将“name”作为必需的字符串参数
- 创建一个演示对象
add-slide-title-only
:向演示文稿添加标题幻灯片- 将“presentation_name”和“title”作为必需的字符串参数
- 创建带有“标题”的标题幻灯片并将其添加到演示文稿中
add-slide-section-header
:向演示文稿添加节标题幻灯片- 将“presentation_name”和“header”作为必需的字符串参数
- 创建带有“标题”(以及可选的“副标题”)的章节标题幻灯片并将其添加到演示文稿中
add-slide-title-content
:向演示文稿添加带有内容幻灯片的标题- 将“presentation_name”、“title”、“content”作为必需的字符串参数
- 创建带有“标题”和“内容”的内容幻灯片标题,并将其添加到演示文稿中
add-slide-title-with-table
:添加带有表格的标题幻灯片- 将“presentation_name”、“title”、“data”作为必需的字符串和数组参数
- 创建带有“标题”的标题幻灯片,并添加一个由数据动态构建的表格
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
需要指定 folder_path。所有演示文稿和图片都将保存到此文件夹。
快速入门
安装
确保已安装 UV
MacOS/Linux
视窗
克隆 repo
克劳德桌面
在 MacOS 上: ~/Library/Application\ Support/Claude/claude_desktop_config.json
在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
--directory
:上面克隆 repo 的路径--folder-path
:PowerPoint 演示文稿和图片的保存路径。同时也是您希望 MCP 服务器使用的图片的存放路径。
使用示例
假设您已安装 SQLite MCP 服务器。
执照
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
创建和操作 PowerPoint 演示文稿,具有添加各种幻灯片类型、生成图像以及通过自然语言命令合并表格和图表的功能。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityEnables users to create UI flowcharts by generating visualizations of user interfaces and interactions through an easy-to-use API within MCP-compatible systems.Last updated -175TypeScript
- -securityFlicense-qualityA Model Context Protocol server that enables AI models to create and manipulate PowerPoint presentations with advanced features like financial charts, formatting, and template management.Last updated -1Python
- -securityAlicense-qualityA server that enables creating and editing PowerPoint presentations programmatically through the Model Context Protocol, supporting features like adding slides, images, textboxes, charts, and tables.Last updated -43PythonMIT License
- AsecurityAlicenseAqualityA server that enables AI assistants to create and edit PowerPoint presentations with features for adding various slide types, tables, charts, and AI-generated images through Stable Diffusion.Last updated -111PythonMIT License