MCP Server

A Python package to insert SVG images into PowerPoint presentations, with MCP server capabilities.

Local serverstdioPython

What is the MCP MCP server?

A Python package to insert SVG images into PowerPoint presentations, with MCP server capabilities. That is what the mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

一个基于Model Context Protocol (MCP)的服务器工具,专门用于将SVG图像插入到PowerPoint演示文稿中。它能够保留SVG的矢量特性,确保在PowerPoint中显示的图像保持高品质和可缩放性。

The tools it exposes

The server publishes 14 tools. What each one is for:

  • pptx_path — PPTX文件路径
  • svg_path — SVG文件路径或路径列表
  • slide_number — 要插入的幻灯片编号(从1开始)
  • x_inches — X坐标(英寸)
  • y_inches — Y坐标(英寸)
  • width_inches — 宽度(英寸)
  • height_inches — 高度(英寸)
  • output_path — 输出文件路径
  • create_if_not_exists — 如果PPTX不存在是否创建
  • directory — 目录路径
  • file_type — 文件类型过滤,可以是"svg"或"pptx"
  • file_path — 文件路径

Getting it running

Installation goes through your MCP client rather than a global install: point it at mcp-server-okppt on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

How it compares

Plenty of file and storage access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP's toolset — pptx_path, svg_path, slide_number and 11 more — is a fair guide to whether it matches your workflow.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
pptx_pathPPTX文件路径
svg_pathSVG文件路径或路径列表
slide_number要插入的幻灯片编号(从1开始)
x_inchesX坐标(英寸)
y_inchesY坐标(英寸)
width_inches宽度(英寸)
height_inches高度(英寸)
output_path输出文件路径
create_if_not_exists如果PPTX不存在是否创建
directory目录路径
file_type文件类型过滤,可以是"svg"或"pptx"
file_path文件路径
svg_codeSVG代码内容
layout_index幻灯片布局索引,默认为6(空白布局)

How to install the MCP MCP server

{
  "mcpServers": {
    "server-okppt": {
      "command": "uvx",
      "args": ["mcp-server-okppt"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use MCP to pptx path.
  • Use MCP to svg path.
  • Use MCP to slide number.

Frequently asked questions

It connects MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (pptx_path, svg_path, slide_number, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP directly.