这是一个创建PowerPoint演示文稿的MCP服务器项目。
<a href="https://glama.ai/mcp/servers/@Ichigo3766/powerpoint-mcp"> <img width="380" height="200" src="https://gips1.baidu.com/it/u=4193799869,550896370&fm=3081&app=3081&f=PNG?w=760&h=400" alt="PowerPoint服务器MCP" /> </a>使用Stable Diffusion(ForgeUI/Automatic-1111)API代替Together AI。
该服务器实现了多个工具:
create-presentation:启动一个演示文稿
add-slide-title-only:向演示文稿添加标题幻灯片
add-slide-section-header:向演示文稿添加章节标题幻灯片
add-slide-title-content:向演示文稿添加带有内容的标题幻灯片
add-slide-title-with-table:向演示文稿添加带有表格的标题幻灯片
add-slide-title-with-chart:向演示文稿添加带有图表的标题幻灯片
add-slide-picture-with-caption:向演示文稿添加带有说明文字的图片幻灯片
open-presentation:打开演示文稿进行编辑
save-presentation:将演示文稿保存到文件。
generate-and-save-image:使用T2I模型为演示文稿生成图像
需要环境变量来通过ForgeUI API生成图像
"env":
{
"SD_WEBUI_URL": "http://your-sd-webui-url:7860",
"SD_AUTH_USER": "your-username", // 可选:如果启用了身份验证
"SD_AUTH_PASS": "your-password", // 可选:如果启用了身份验证
}
需要一个folder_path。所有演示文稿和图像都将保存到这个文件夹。
"--folder-path",
"/path/to/decks_folder"
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/Ichigo3766/powerpoint-mcp.git
在MacOS上:~/Library/Application\ Support/Claude/claude_desktop_config.json
在Windows上:%APPDATA%/Claude/claude_desktop_config.json
--directory:克隆上述仓库的路径(例如:/full/path/to/powerpoint-mcp/src)--folder-path:PowerPoint演示文稿和图像将保存到的路径。也是您应放置任何希望MCP服务器使用的图像的路径。 # 将服务器添加到您的claude_desktop_config.json
"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"
]
}
}
创建一个关于鱼类的演示文稿,生成一些图像,并包含表格和图表
创建一个关于所附论文的演示文稿。请在演示文稿中使用以下图像:
author.jpeg
假设您已经安装了SQLite MCP服务器。
审查2024年销售数据表。创建一个展示当前趋势的演示文稿,适当地使用表格和图表
该项目是Powerpoint由supercurses的一个分支,增加了额外的功能和修改。原始项目为此MCP服务器提供了基础。
此MCP服务器采用MIT许可证。这意味着您可以自由地使用、修改和分发软件,但需遵守MIT许可证中的条款和条件。更多详情,请参见项目存储库中的LICENSE文件。