Browse documentation

Work with a live PowerPoint presentation through MCP

Share an open PowerPoint presentation with an external AI agent, inspect current slides, and apply version-safe native Office edits.

Last verified: 2026-10-23

Deckary's live document tools let an external AI agent work with the presentation currently open in desktop PowerPoint. Access is opt-in: the Deckary task pane must be open, you must be signed in, and MCP sharing must be enabled. Changes are executed by the add-in inside the live Office document. The same three tools also serve Excel workbooks and Word documents; this page covers what is specific to PowerPoint.

Start a live session

  1. Install and open the Deckary add-in in desktop PowerPoint.
  2. Sign in with the same Deckary account used during MCP authorization.
  3. Open the presentation you want the agent to access.
  4. Turn on MCP sharing in the Deckary task pane.
  5. Ask the agent to call list_live_documents and use the returned PowerPoint document's id.

Only active, explicitly shared sessions appear. The server does not search your computer for PPTX files and cannot queue offline work for a closed presentation.

Read before writing

read_live_document returns compact text. Without targets it returns the outline: theme fonts and colours, every slide's handle (sl_…), title and leading text, the layouts in use with their placeholder roles, and the names and ids of the other layouts. The outline is built from the exported presentation, so it costs no per-slide Office reads.

Pass slide handles as targets for one line per shape: its handle (sh_…), node id or name, kind, frame in points, fill and line, text style where it differs from the slide's text defaults, and the exact text. Pass a shape handle for that shape's exact runs, appearance, native table structure or Deckary chart configuration; large native tables take a cell window such as sh_table!A1:D10. Pass ly_<layoutId> for one layout's placeholders. Add pixels: true to receive PowerPoint's own rendering of up to four slides in the same call; for one slide, pixels: "atlas" adds an overlapping 3×2 close-up atlas with shape locators.

Rendering is useful when the external agent needs to judge hierarchy, spacing, clipping, contrast, or the visual result of a change. The external agent makes that judgment; the MCP server does not invoke a model to review the image.

Every result states the presentation's current version. Pass the version you last saw as basis and the result also lists what changed since then: who changed it (an agent write, the Deckary pane, or an edit in Office) and which slides and shapes. Handles are valid only while the presentation stays shared.

Create or patch one slide

author_live_document accepts one Slide DSL program for exactly one slide. It starts with slide { and can create a slide with an available layout or patch current shapes on an existing slide. Supported authoring includes text and shape changes, native tables and charts, consulting visuals, and targeted deletions where the contract permits them. A program can declare named styles once (a style named default applies to every new text and shape node), write plain strings for text, and fill placeholders by role with ph_title, ph_subtitle, ph_body or ph_content.

Before the first write, have the agent call describe_authoring_vocabulary once with the topic powerpoint, adding powerpoint_exhibits for native charts, tables, icons or chart edits. Call it again when a validation issue reports an unknown key.

The live MCP path does not expose protected slide replacement or nonempty source bindings. A create operation must satisfy the selected layout's editable placeholder obligations. A patch must use current slide and shape handles.

Immediately before mutation, the add-in captures fresh Office truth and applies the program to it. A write is never refused because the presentation changed after its basis, so people and other agents can keep working on the deck at the same time. Every result lists what changed since that version and who changed it; have the agent check that list before building on an earlier read. A handle to a slide or shape that no longer exists fails on its own, with nothing changed.

The outcomes:

  • Applied is terminal. The result contains the new version, a one-line summary, the slide's compact view with every new node's handle listed under its program id, and PowerPoint's own pixels. Do not read again only to refresh.
  • Not applied means nothing changed. The result lists the issues with line and column, or names the handle that no longer exists.
  • Already applied means the identical program on the identical basis was applied before, so it was not applied again. Resending after a timeout or an interrupted call is always safe.
  • Outcome unknown means PowerPoint may have changed partway. Resending the identical program returns the same outcome and runs nothing; read the presentation with your basis to see what changed before writing again.
  • A basis that is not from the current sharing session, or is too old, still writes; the result says it cannot list what changed since then.

Know when the session ends

A live presentation disappears when you turn off sharing, sign out, close the Deckary task pane, or lose the add-in connection. Commands run one at a time in arrival order; a command that waited too long behind others is dropped unexecuted and can be sent again.

For authorization and data-flow details, read Security and data handling. For recovery steps, see Troubleshooting.

Idle performance and freshness

Enabling sharing captures the presentation once to register the session. While connected and idle, Deckary maintains the relay heartbeat without periodically scanning or exporting the presentation. Reconnecting reuses the last observation. Discovery metadata is last observed; use read_live_document for current content. Reads reuse observations for at most five seconds and refresh on demand when needed. Authoring always performs a fresh pre-write capture before checking what changed.

Sharing is opt-in for the current loaded Deckary pane. A newly loaded pane starts with MCP disabled, even when the same account enabled it previously. Closing or reloading the pane clears consent and disconnects the live session.