OPF

Search docs

Loading documentation…
    OpenPresentation/opf
    Browse docs
    On this page

    Add OPF to Grok Build with the MCP server

    Add the hosted OPF MCP server to Grok Build, xAI's coding agent, with grok mcp add or in ~/.grok/config.toml. 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

    This page is for Grok Build, which xAI calls “a powerful and extensible coding agent” that you use in an interactive terminal UI, headlessly in scripts, or through the Agent Client Protocol in other apps. It is not Grok, xAI's chat app, nor Grok Bot, which xAI's Grok Build page lists as “AI teammates on a cloud computer”.

    If you meant another xAI product, see Grok (the chat app at grok.com and on iOS and Android) or Grok Bot (Bots that work from a cloud computer, in their own desktop and phone apps).

    xAI's documentation adds a remote server over HTTP with grok mcp add --transport http <name> <url>. Run this in a terminal:

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

    To ship the server with a repository instead, xAI's page says to pass --scope project to grok mcp add, which writes .grok/config.toml in the current directory; a project server replaces a user one with the same name.

    grok mcp list shows the configured servers, grok mcp doctor opf checks the configuration and the connection, and grok mcp remove opf deletes it. xAI's page says tools are namespaced as <server>__<tool>, so OPF's show up as opf__validate_deck and so on. This is from xAI's documentation, not yet tried by us.

    config.toml

    xAI's page also declares servers directly in ~/.grok/config.toml, one [mcp_servers.<name>] table each, with url for a remote server:

    ~/.grok/config.toml
    [mcp_servers.opf]
    url = "https://openpresentation.org/mcp"

    The same page says Grok Build also loads MCP configurations from ~/.claude.json, .cursor/mcp.json and a project's .mcp.json, below config.toml in priority, so a server you added for Claude Code or Cursor can appear there too. grok inspect shows every loaded server and where it came from.

    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.

    Grok Build calls the OPF tools and answers with the deck and its findings.

    Seeing the deck

    xAI's Grok Build 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

    xAI's page says /mcps in the terminal UI opens the MCP tab, where r refreshes after config edits. It does not say how Grok Build picks up a change in a server's tool list.

    On a phone

    xAI's Grok Build pages do not describe a phone app. On a phone, see Grok or Grok Bot.

    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.