modelscope·@samos123/pptx-mcp
一个由FastMCP驱动的服务器,用于通过编程方式创建、编辑和渲染PowerPoint(PPTX)演示文稿,具有幻灯片创建、内容插入和PNG渲染等功能。
一个由 FastMCP 支持的服务器,用于以编程方式创建、编辑和渲染 PowerPoint (PPTX) 演示文稿。支持幻灯片创建、文本和形状插入、图像嵌入以及将幻灯片渲染为 PNG(使用 LibreOffice)。
安装 Python 依赖项: bash pip install -r requirements.txt
(或者查看 pyproject.toml 了解依赖项)
安装 LibreOffice(用于图像渲染):
sudo pacman -S libreoffice-fresh 或 sudo apt install libreofficebrew install --cask libreoffice启动服务器: bash python server.py
您可以使用环境变量设置服务器的主机名和端口:
HOST(默认:127.0.0.1)PORT(默认:8000)例如,要在所有接口上运行并在端口 9000 上运行: bash HOST=0.0.0.0 PORT=9000 python server.py
或者(对于使用 FastMCP 的开发): bash fastmcp dev server.py
服务器通过 FastMCP 提供工具和资源,包括:
create_or_clear_presentation(filename)add_slide(filename, layout_index)add_title_and_content(filename, slide_index, title, content)add_textbox(filename, slide_index, text, left_inches, top_inches, width_inches, height_inches, font_size_pt, bold)add_shape(filename, slide_index, shape_type_name, left_inches, top_inches, width_inches, height_inches, text)add_picture(filename, slide_index, image, left_inches, top_inches, width_inches, height_inches)get_slide_content_description(filename, slide_index)get_slide_image(filename, slide_index) (需要 LibreOffice)get_pptx_file(filename)请参阅代码以获取完整的参数详情和可用形状类型。
presentations/ 目录中。presentations/templates/ 中添加自己的模板。详见 LICENSE。
通过模型上下文协议(MCP)将 Ableton Live 与人工智能助手连接起来,实现对音乐制作任务的自然语言控制,例如轨道创建、MIDI 编辑、乐器加载和播放控制。
暂无描述。
暂无描述。
暂无描述。
暂无描述。
一个基于FastAPI的MCP服务器,它与smartscreen.tv集成,允许您通过HTTP命令显示媒体、发送通知和控制播放来编程控制网络显示屏。