安装配置步骤详解
Office-PowerPoint-MCP-Server提供多种安装方式,支持本地和云端部署环境。
基础安装流程
- Getting the source code:通过git克隆仓库
git clone https://github.com/GongRzhe/Office-PowerPoint-MCP-Server.git
cd Office-PowerPoint-MCP-Server - Installation of dependencies:使用pip安装依赖包
pip install -r requirements.txt
或运行安装脚本python setup_mcp.py
MCP服务器配置
需要编辑AI助手客户端的配置文件(如~/.cursor/mcp.json),添加服务器信息:
{ "mcpServers": { "ppt": { "command": "python", "args": ["/path/to/ppt_mcp_server.py"], "env": {} } } }
Start the server
运行命令启动服务:python ppt_mcp_server.py
成功启动后,AI助手即可通过MCP协议与服务器交互。
This answer comes from the articleOffice-PowerPoint-MCP-Server: Tools for creating and editing PowerPoint presentations through AI assistantsThe