OPF

Search docs

Loading documentation…
    OpenPresentation/opf
    Browse docs
    On this page

    Add OPF to Claude Code with the MCP server

    Add the hosted OPF MCP server to Claude Code with one command, or run it locally. The server is https://openpresentation.org/mcp: no account, no key.

    Steps for the other assistants, what each one shows and what we have tried ourselves are on Connect to the OPF MCP server.

    Add OPF

    Run this in your project. Anthropic's Claude Code documentation gives claude mcp add --transport http <name> <url> for a remote server:

    shell
    claude mcp add --transport http opf https://openpresentation.org/mcp

    Anthropic's documentation says local scope is the default: this adds OPF for you, in the current project only. For every project, add --scope user; to share it with the project through .mcp.json, use --scope project:

    shell (every project)
    claude mcp add --transport http --scope user opf https://openpresentation.org/mcp

    Type /mcp in Claude Code to check that opf is connected. To run the server on your machine instead, see Run it locally.

    First prompt

    Start a new conversation with a prompt like this one, with your topic in place of the angle brackets:

    First prompt
    Use the OPF tools to make a five-slide deck about <topic> and validate it. Then give me the deck as OPF JSON in one code block.

    Claude Code calls the OPF tools, for example validate_deck, and answers with the deck and its findings. It can also write the deck to a file in your project.

    Seeing the deck

    Anthropic's Claude Code documentation does not say that it shows MCP Apps views, so plan on tools only. There, show_deck answers with the deck's name, its slide titles and the validation findings as text instead of opening the OPF viewer.

    To see and edit the deck, ask for it as OPF JSON (or as YAML or Markdown, which the convert tool writes), save it as a file and open it with Open in the Playground, which takes .json, .opf, .yaml, .yml and .md files, or paste the JSON into the Playground's editor. The Playground draws the slides, checks them and exports PowerPoint, PDF and images on your computer.

    When the server updates

    Anthropic's documentation says Claude Code fetches the new tool list when a connected server announces a change, and that you can reconnect the server from /mcp to pick up changes sooner.

    On a phone

    Claude Code runs in a terminal. On a phone, use Claude instead.

    Sources

    We read these pages on November 16 and 17, 2026. If a menu or a name on them has changed since, follow the vendor's page.