PowerPoint MCP 服务器

PowerPoint MCP 服务器

基于 python-pptx 的 PowerPoint 操作工具,通过 MCP 协议创建和编辑演示文稿。

快速入门

安装

推荐:使用 Smithery 自动安装

npx -y @smithery/cli install @GongRzhe/Office-PowerPoint-MCP-Server --client claude

手动安装

  1. 克隆仓库:
    git clone https://github.com/GongRzhe/Office-PowerPoint-MCP-Server.git
    cd Office-PowerPoint-MCP-Server
    
  2. 安装依赖:
    pip install -r requirements.txt
    
  3. 启动服务:
    python ppt_mcp_server.py
    

使用示例

创建新演示文稿并添加标题: 调用 create_presentationadd_slide 工具完成基本操作。 更多功能参考 README 文档。