Hosted MCP server (beta)
Connect to the hosted endpoint at https://www.pptx.dev/mcp today. No local stdio package or Docker image is published, so the hosted endpoint is the only supported way to connect. It exposes the same tool shape as the REST API.
A short overview for people, with what the tools do in plain words, is at pptx.dev/mcp.
Tools
Each tool runs the matching REST endpoint with your API key, so auth, limits and usage are the same as over HTTP. Tools accept JSON documents or base64 file bytes; the hosted server does not read filesystem paths.
Files never come back as base64. A tool that gives you a file returns a download link that works for 15 minutes, for one version of one deck, with the file's name, size and type (also as an MCP resource link). Whoever has the link can download that file until it expires, so treat it like the file. Download links are not share links: they do not appear in your share list and never use up a deck's share-link limit; a deck keeps its five newest download links working. Generated and exported files are temporary (deleted after an hour, not listed among your decks) unless you pass save: true; a link to a temporary file never outlives the file. An account keeps its 10 newest temporary files (older ones are deleted when a new one is stored), but never one under 15 minutes old or one with a download link that has not expired. It holds at most 30 such files at once; at 30 the tools say so before charging anything. Calls made in parallel near 30 can go over it by a few, or one can be refused after it was charged; retrying it the same UTC day does not charge again.
Rate limits: a tool call spends one unit of your per-minute limit for each request it makes inside pptx.dev. generate_presentation: 4 (storage check, generate, store, link). export_author_version: 5. A retry after an earlier temporary file expired adds up to 4 more stores. download_deck: 2. send_author_message: 2 without baseVersion, 1 with it. Accepting or rejecting a proposal: 2, or 3 when replayed. Most others: 1.
Every tool says whether it changes anything (MCP tool annotations), so a chat app can run read-only tools without asking and asks you before deleting, revoking or deciding a proposal. The Author tools draft and refine with Author's rules-based path and finish within the call; the AI deck agent is not available over MCP yet, because one of its runs can take longer than a chat app lets a tool call run. Writes take an optional idempotency key; without one the tool derives a key from its arguments, so a retried call does not do the work twice (the result then says replayed). To repeat a request on purpose, pass a new key.
Changes
- 0.2.0: files are returned as download links, never inline.
generate_presentationno longer returns the file's bytes (contentBase64is gone) anddownload_deckreturns a link instead of base64. New Author tools draft, refine, review, list and export decks. Every tool is annotated.
| Tool | Purpose |
|---|---|
| generate_presentation | Build a .pptx from an OPF document and get a 15-minute download link with the file name, size and slide count. The file is temporary (deleted after an hour) unless you pass save: true. Charged per slide; the same document on the same UTC day is charged once (pass an idempotencyKey to make a retry across midnight UTC safe). PDF/PNG/SVG are not implemented and return a not_implemented error. |
| parse_pptx | Convert a .pptx file into OPF JSON (or return a parseId for per-slide reads). Takes the file as base64 bytes; the hosted server does not read filesystem paths. |
| validate_opf | Validate an OPF document against the canonical schema. Always free — use before generate_presentation to catch schema errors client-side. |
| render_format | Render a .pptx to web slide data (text runs per slide). svg and png are not implemented and return a not_implemented error. |
| upload_deck | Store a .pptx or OPF JSON file (base64) in deck storage as a new deck, or as a new version of an existing deck (beta). |
| list_decks | List stored decks, most recently updated first, with storage usage and limits. |
| get_deck | Read a stored deck's metadata and its versions. |
| download_deck | Get a 15-minute download link for a stored version, with its file name, size and media type. |
| delete_deck | Delete a stored deck with every version and share link. |
| create_deck_share_link | Create an expiring download link that needs no account; the URL is shown once. |
| list_deck_share_links | List a deck's share links (tokens are never shown again). |
| revoke_deck_share_link | Revoke a share link; its URL stops working at once. |
| import_data | Turn CSV, TSV, JSON or .xlsx data into an OPF table or chart: a new one-slide document, a slide appended to your document, or a table/chart at a path (beta). |
| diff_decks | Diff two OPF decks, inline or stored: slide matches, categorized changes, a summary, a text report and an RFC 6902 patch from a to b (beta). |
| apply_patch | Apply an RFC 6902 patch to an OPF deck atomically, validated, with the inverse patch for undo; can store the result as a new version (beta). |
| lint_deck | Lint, design and accessibility audit, and font report for an OPF deck (beta). |
| check_fonts | Font policy, open replacements and viewer diagnostics for the families an OPF deck, a .pptx or a list names (beta). |
| create_author_draft | Start an Author thread from a brief and draft version 1 of a deck. Finishes within the call (beta). |
| send_author_message | Send an instruction on an Author thread. A change usually comes back as a proposal to review; nothing is applied until you accept it (beta). |
| get_author_run | Read a run: its status, the version it made, slide count and titles, and what to do next (beta). |
| get_author_proposal | Read the changes a run proposes, at most 50, with short before and after text (beta). |
| accept_author_proposal | Apply a proposal, all of it or the changes you name, as a new version. Earlier versions are kept. A named change that needs a change you left out is refused with dependent_changes, and nothing is applied (beta). |
| reject_author_proposal | Reject a proposal; the deck stays as it is (beta). |
| list_author_versions | List the versions of an Author thread's deck, newest first (beta). |
| export_author_version | Export a version as .pptx and return a 15-minute download link. The file is temporary unless you pass save: true (beta). |
Hosted (remote)
No install is needed: use HTTP streaming MCP against our hosted endpoint (same Clerk API key as the REST API).
Endpoint URLs
https://www.pptx.dev/mcp
Alias: https://mcp.pptx.dev (host rewrite to the same handler).
Send your Clerk API key as a bearer token:
Authorization: Bearer ak_your_clerk_api_key
Claude Desktop (remote)
Claude Desktop speaks stdio only — bridge with mcp-remote.
{
"mcpServers": {
"pptx": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://www.pptx.dev/mcp",
"--header",
"Authorization: Bearer ak_your_clerk_api_key"
]
}
}
}Cursor (remote)
{
"mcpServers": {
"pptx": {
"url": "https://www.pptx.dev/mcp",
"headers": {
"Authorization": "Bearer ak_your_clerk_api_key"
}
}
}
}Continue (remote)
Use the same stdio bridge as Claude Desktop, or place the snippet in .continue/mcpServers/ per Continue MCP docs.
name: pptx MCP (remote)
version: 0.0.1
schema: v1
mcpServers:
- name: pptx
command: npx
args:
- "-y"
- "mcp-remote"
- "https://www.pptx.dev/mcp"
- "--header"
- "Authorization: Bearer ak_your_clerk_api_key"API keys
The bearer token / PPTX_API_KEY is your Clerk API key. Required for every tool except validate_opf, which is free. Get a key from the API Keys page.
Example prompt
Once configured, ask your agent something like:
“Generate a pptx with one title slide that says ‘Q1 Review’ and return the generated PPTX bytes.”
The agent calls generate_presentation with an OPF document like:
{
"$schema": "https://openpresentation.org/schema/opf/v1",
"name": "Q1 Review",
"filename": "q1-review",
"slides": [{ "title": "Q1 Review" }]
}