Логотип PowerPoint MCP

PowerPoint MCP

Сообщество
ykuwai

The world's best PowerPoint MCP server. Real-time control of a live PowerPoint on Windows and macOS, 156 tools for AI agents

Издательykuwai
Репозиторийppt-mcp
ЯзыкPython
Форки
12
Звёзды
80
Доступные инструменты
0
Тип транспортаstdio
Категории
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    PowerPoint MCP предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 0

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 80, форки: 12 — в связанном репозитории.


An MCP (Model Context Protocol) server that gives AI agents full control over a live Microsoft PowerPoint instance via COM automation. Unlike file-based libraries like python-pptx, this server interacts directly with a running PowerPoint application.

🎬 Demo

An agent building a deck in a live PowerPoint window (15x speed):

https://github.com/user-attachments/assets/178b9b5b-624d-4de0-a1dd-619dc13d4bd7

✨ Key Features

  • Real-time control — Directly manipulates a running PowerPoint instance; changes appear instantly on screen
  • 156 tools across 26 categories — Slides, shapes, text, tables, charts, animations, SmartArt, media, freeform paths, and more
  • Safe for AI agents — ppt_activate_presentation locks all tools to a specific file, preventing accidental edits to the wrong presentation
  • Google Material Symbols icons — Search 2,500+ icons by keyword and insert as SVG with theme colors
  • Theme color awareness — Use accent1, accent2, etc. instead of hardcoded RGB values

📋 Requirements

  • Windows 11, or macOS with Apple Silicon or Intel
  • Microsoft PowerPoint
  • uv

On macOS the server drives PowerPoint over Apple Events instead of COM. The first tool call raises the system's automation prompt, and PowerPoint has to be allowed there once. See macOS support for what differs.

🚀 Getting Started

Standard config — works in Claude Desktop, Cursor, .mcp.json, and most other MCP clients:

json
{
  "mcpServers": {
    "powerpoint": {
      "command": "uvx",
      "args": ["ppt-mcp"]
    }
  }
}

Claude Code

User-scoped (available in all projects)

bash
claude mcp add powerpoint uvx ppt-mcp

Project-scoped (stored in .mcp.json, shared with your team)

bash
claude mcp add --scope project powerpoint uvx ppt-mcp

Cursor

Install in Cursor

Or add manually to ~/.cursor/mcp.json using the standard config above.

Claude Desktop

Edit %APPDATA%\Claude\claude_desktop_config.json using the standard config above.

Codex

Edit ~/.codex/config.toml:

toml
[mcp_servers.ppt-mcp]
command = "uvx"
args = ["ppt-mcp"]

Or use the standard JSON config above in .codex/config.json.

VS Code

bash
code --add-mcp '{"name":"powerpoint","command":"uvx","args":["ppt-mcp"]}'

From source

bash
git clone https://github.com/ykuwai/ppt-mcp.git
cd ppt-mcp
uv sync
json
{
  "mcpServers": {
    "powerpoint": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\path\\to\\ppt-mcp",
        "run",
        "mcp",
        "run",
        "src/server.py"
      ]
    }
  }
}

🛠️ Tool Categories

CategoryToolsDescription
App5Connect to PowerPoint, app info, active window, window state, list presentations
Presentation8Create (with templates), open, save, close, info, activate target, list templates
Slides10Add, delete (bulk), duplicate (positional/multi), move (bulk), copy (cross-presentation), list, info, notes, navigation
Shapes10Add shapes/textboxes/pictures/lines (with z-order placement, including behind the text), list, info (position, fill, line, text frame), update (one shape, a set, or the whole slide, absolute or by offset), delete, z-order
Text10Set text (whole frame, one span keeping its formatting, or as runs), get text (with measurement and overflow), format one span or many in a batch, paragraph format, bullets, find/replace (optionally inside groups), textframe, extract all text as Markdown, typography check
Placeholders6List, get, set placeholder content
Formatting3Fill, line, shadow
Tables13Add tables, get/set cells, batch set data, merge/split cells, add/delete rows/columns, styles, layout, borders
Export4PDF, images, slide preview, clipboard copy
Slideshow6Start, stop, next, previous, go to slide, status
Charts7Add charts, set/get data, format, format axis, series, change type
Animation6Transitions, add/list/update/remove/clear animations (entrance, exit, emphasis, motion path, interactive sequences)
Themes4Apply themes, get/set theme colors, headers/footers
Groups3Group, ungroup, get group items
Connectors2Add, format
Hyperlinks3Add, get, remove
Sections3Add, list, manage
Properties2Set/get presentation metadata
Media3Video, audio, media settings
SmartArt3Add, modify, list layouts
Edit Operations6Undo, redo, copy shapes/formatting between slides
Layout7Align, distribute, slide size, background, flip, merge shapes
Effects3Glow, reflection, soft edge
Comments3Add, list, delete
Advanced19Tags, fonts (set defaults + bulk replace), crop, picture format, shape export, visibility, selection, view, animation copy, picture from URL, SVG icons, icon search, aspect ratio lock, batch apply, default shape style
Freeform7Build freeform paths, get/set node positions, insert/delete nodes, node editing type, segment type
156

💡 Example Prompts

Just describe what you want in plain language — no code required.


Simple — topic only

"Create a 3-slide intro deck for a productivity app called Flowly."


With style direction — topic + visual style

"Make a 4-slide presentation on the benefits of async work. Dark navy style, add icons for each benefit."


Detailed — topic + design intent + slide structure

"Build a 5-slide pitch for an AI note-taking app called NoteAI. White background, teal accent. Slides: title, problem, solution, features with icons, closing."


Design keywords that elevate results:

AspectKeywords / PhrasesWhat it does
Iconsadd icons · icon for each point · use icons throughoutSearches Google Material Symbols and places crisp SVG icons automatically
Color schemedark navy · white background · monochrome · light graySets the overall color palette and mood
Accent colorteal accent · blue accent · brand color #2563EBApplies a specific highlight color to headings, icons, and shapes
Style tonemodern minimal · bold and vibrant · clean and professional · playfulSignals the overall visual personality
Deck typepitch deck · investor presentation · workshop slides · status reportGuides layout and content density toward the intended purpose
Slide structureSlides: title, problem, solution, features, CTA · 4 slidesDefines the narrative arc and slide count up front
Layoutcard layout · two-column · centered · full-bleed backgroundShapes how content is arranged on each slide
Text densityminimal text · one message per slide · bullet pointsControls how much text appears and how it's formatted
Backgroundsgradient background · solid dark background · soft light backgroundSpecifies the background treatment across slides
Emphasishighlight key numbers · bold headings · accent bar on each slideDraws attention to the most important information

🔍 Features in Detail

🎯 Presentation Targeting

ppt_activate_presentation sets a session-level target so every subsequent tool call operates on that specific file — regardless of which window is active in PowerPoint. Switch targets anytime by calling it again.

python
ppt_activate_presentation(presentation_name="report.pptx")
# All tools now operate on report.pptx
ppt_activate_presentation(presentation_name="demo.pptx")
# Switched — all tools now operate on demo.pptx

📁 Template Support

Auto-detects your personal PowerPoint templates folder (registry, OneDrive, or default paths). Use ppt_list_templates to discover available templates, then ppt_create_presentation(template_path=...) to create a new presentation from any template.

🎨 Google Material Symbols Icons

Search 2,500+ Google Material Symbols icons with ppt_search_icons(query="...") and insert them as SVG with ppt_add_svg_icon:

  • 3 styles: outlined, rounded, sharp
  • Filled variants: set filled=True
  • Theme colors: color="accent1" uses the presentation's accent color
  • Auto-fit: preserves aspect ratio within the specified area

⚡ Real-Time Navigation

Every write operation automatically navigates PowerPoint to the target slide. You see changes happening in real-time — no need to manually switch slides.

✍️ Text Formatting

  • \n — Paragraph break (Enter). Each paragraph gets its own bullet/indent level.
  • \v — Line break (Shift+Enter). Stays in the same paragraph, preserving formatting.
  • Per-character formatting with ppt_format_text_range
  • Auto-fit control: shrink text to fit, resize shape, or overflow

🎨 Theme Color Presets & Auto-Generation

ppt_set_theme_colors supports three modes:

  • 17 curated presets — WCAG AA accessible palettes across 5 categories: Classic (corporate_blue, executive, consulting), Design Systems (tailwind, chakra, open_color, radix), Nature (ocean, forest, sunset, sage), Modern (nord_light, pastel_deep, swiss), Vibrant (vivid, rainbow, neon_safe)
  • Primary color generation — provide a single brand color (primary="#2B579A") to auto-generate a full harmonious palette using color harmony (split-complementary + analogous)
  • Manual — set individual color slots (accent1, accent2, etc.)

Modes can be combined: use a preset as a base and override specific slots. All accents are guaranteed 3:1+ contrast on white.

🔍 Typography Check

ppt_check_typography detects and optionally auto-fixes common typography issues:

  • Widow lines — isolated 1-3 character lines caused by word wrapping
  • Short lines after soft returns — side effects of manual line breaks (\v)
  • Auto-shrunk text — text silently compressed by PowerPoint's shrink-to-fit feature

Auto-fix strategies include widening text boxes and inserting soft returns.

⚙️ Advanced Configuration

Handling PowerPoint Modal Dialogs

When PowerPoint has a modal dialog open (e.g., SmartArt layout picker, Save dialog, Insert dialog), COM calls return RPC_E_CALL_REJECTED. The MCP server automatically retries for up to 15 seconds (5 retries × 3 s), so the server stays connected and responsive even when a dialog is blocking PowerPoint.

Auto-dismiss (opt-in): By default, the server waits for you to close the dialog manually. To have the server automatically send ESC on the first retry — dismissing the dialog without user interaction — set PPT_AUTO_DISMISS_DIALOG=true:

json
{
  "mcpServers": {
    "powerpoint": {
      "command": "uvx",
      "args": ["ppt-mcp"],
      "env": {
        "PPT_AUTO_DISMISS_DIALOG": "true"
      }
    }
  }
}

ESC cancels without committing, so there are no destructive side effects. This is particularly useful in automated workflows where no human is present to close dialogs.

🍎 macOS support

12 tools refuse on macOS. The rest work. The 12 are listed by name in MACOS_PORT.md section 6.1, and a test keeps that list honest.

The same tools, the same arguments, the same answers. What differs is what PowerPoint for Mac's scripting dictionary can reach, and where it cannot reach something the tool says so rather than doing something unexpected.

Not available on macOS:

  • SmartArt. The dictionary has no class and no command for it, so it cannot be created or edited from a script. An existing graphic is still an ordinary shape and can be moved, resized, read and deleted.
  • A freeform node's editing type. Corner, smooth and symmetric are not stored anywhere a script can reach; move the node's handles instead.
  • Removing one animation. Clearing a slide's animations works.
  • Tags, ppt_select_shapes, ppt_set_table_style and ppt_execute_mso. Nothing in the dictionary reaches any of them.

Smaller differences:

  • Call the tools one after another, not several in the same turn. Only one request at a time reaches PowerPoint, so the rest queue behind it and come out in whatever order they arrived. A call left waiting too long is taken back and says so, having changed nothing.
  • A few tools accept an argument that has no counterpart, a screen tip on a hyperlink for instance. Those refuse with a message naming the argument, so dropping it and retrying works.
  • Video and audio go in embedded, never linked, and of the eight playback settings only looping and hiding the frame exist. Hiding the frame is refused on a slide that already has animations, because writing it rewrites them.
  • Exports are staged through PowerPoint's own container and moved out, because the application is sandboxed and cannot write to arbitrary folders.
  • Slide images come from a PDF render rather than PNG export, which is sharper than the Windows route.
  • Automation consent belongs to whichever application launched the server, so running it from a different terminal or editor raises the prompt again.
  • Save the deck early and at each break. It costs nothing, and PowerPoint has been seen to close every open document and then exit when a sandbox prompt went up behind a script (#191).
  • Charts, freeform paths and grouping go through the clipboard, which means the operation takes it for a moment and puts back what was there. This is how those three reach a dictionary that has no words for them.
  • Editing an existing chart or path recreates the shape. The chart data, type, title, legend, axis and series tools, and the node tools, copy the shape, rewrite it and paste it back, then delete the original. The name, position and z order are kept; animations on the shape are not, and the result says how many were lost. A few formatting arguments that depend on the chart's rendered size (chart_style, legend and title coordinates, the 8-direction legend presets, tick_label_font_size) are refused by name.
  • Icons are rasterised with sips before they are inserted, because PowerPoint for Mac cannot read an SVG. That needs macOS 13 or newer; older systems get a refusal naming the reason rather than a blank box.

📄 License

MIT

🙏 Credits

Установка

TypingMind
{
  "mcpServers": {
    "ppt-mcp": {
      "command": "uvx",
      "args": [
        "ppt-mcp"
      ]
    }
  }
}

Используйте MCP PowerPoint MCP с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения PowerPoint MCP вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Эта интеграция MCP работает локально на вашем устройстве через коннектор MCP TypingMind.

Руководство по настройке локального коннектора

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте PowerPoint MCP как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для PowerPoint MCP.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "ppt-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для PowerPoint MCP, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для PowerPoint MCP.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью PowerPoint MCP?
PowerPoint MCP
Конечно. Я всё прочитал.
Вот что я нашёл с помощью PowerPoint MCP.

Часто задаваемые вопросы

Для чего используется сервер MCP PowerPoint MCP?

PowerPoint MCP — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP PowerPoint MCP с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать PowerPoint MCP с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP PowerPoint MCP с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив PowerPoint MCP, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP PowerPoint MCP к TypingMind?

PowerPoint MCP работает через локальный коннектор MCP TypingMind. Этот вариант лучше всего подходит, когда серверу MCP нужен доступ к локальным файлам, настольным приложениям, инструментам командной строки или закрытым ресурсам на вашем компьютере.

Какие инструменты предоставляет сервер MCP PowerPoint MCP в TypingMind?

PowerPoint MCP предоставляет возможности MCP, которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP PowerPoint MCP?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если PowerPoint MCP требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇