Okppt
@NeekChaw
这个项目是一个基于MCP (Model Context Protocol) 的服务器工具,名为 "MCP OKPPT Server"。它的核心功能是允许大型语言模型(如Claude、GPT等)通过生成SVG图像来间接设计和创建PowerPoint演示文稿。工具负责将这些SVG图像高质量地插入到PPTX幻灯片中,并保留其矢量特性,确保图像在PowerPoint中可缩放且清晰。
Overview
What is Okppt?
Okppt is an MCP server that inserts SVG images into PowerPoint presentations while preserving vector properties, ensuring high quality and scalability. It enables large language models (e.g., Claude, GPT) to autonomously design PowerPoint slides by generating SVG images and inserting them full-screen.
How to use Okppt?
Install via pip or uv: pip install mcp-server-okppt or uv pip install mcp-server-okppt. Configure in Claude Desktop or Cursor IDE by adding the server configuration to the respective JSON file. Use tools like insert_svg, save_svg_code, convert_svg_to_png, etc., via an MCP client.
Key features of Okppt
- Inserts SVG as true vector graphics into PPTX
- Supports batch processing of multiple SVG files and slides
- Creates new presentations directly from SVG files
- Copies and replaces SVG slides intelligently
- Handles SVG code input and saves as files
- Built-in SVG to PNG conversion
Use cases of Okppt
- AI-generated PowerPoint slides with full design control
- Creating high-quality, scalable vector graphics presentations
- Batch inserting multiple SVGs into existing or new presentations
- Replacing slide content with new SVG designs
- Converting SVG code to editable PPTX slides
FAQ from Okppt
Why does SVG become a bitmap instead of vector after insertion?
Use copy_svg_slide or create_pptx_from_svg functions, which are designed to preserve SVG vector properties.
How to batch process multiple SVG files?
Use insert_svg with a list of SVG paths, or use create_pptx_from_svg to create a presentation with multiple SVGs at once.
Why are filenames long and complex?
Each operation appends a timestamp. Use the "new file method" to create the final file in one step, or specify a concise output filename in the last operation.