Skip to content

h5p-author: a ChatGPT app that plays the activity in the chat, through an MCP server that stores nothing #210

Open

Description

@alekswebnet

In a chat that built nothing, the skill hands over the source and the build page's address (route 4, #208). The person copies the source, opens a tab, pastes it and presses Build. On 2026-11-15 the owner tried another H5P app from ChatGPT's directory. It plays a multiple-choice quiz inside the chat and offers downloads, and it sends the quiz to its own server, which builds the file.

This issue plans the same convenience for every type the skill offers, with the build still done in the person's browser. The way without a server stays as it is and stays the default (the owner, 2026-11-15: "we already have full private way, without a server"). The app is a second way, for people who want the activity in the chat.

Nothing here is built. Step 0 is a probe, and its results decide whether the rest goes ahead.

What it is

  1. An MCP server with one tool that takes the source. It stores nothing and logs no request body. Its answer is a short text for the model. The card does not need the source back from it: ChatGPT gives a card the tool's arguments itself (window.openai.toolInput).
  2. A card. Its script compresses the source into the build page's #source= form, so no model writes a link, and it frames the build page in a card mode: the activity, Download and the problems, with no editor. The build page builds and plays in the browser as it does today. The frame is needed because the player's Service Worker runs only on our own origin.
  3. One ChatGPT plugin holding the skill and the server. The skill writes the source as now, and calls the tool where it exists in place of route 4's hand-over.
  4. The server as a package a school can run on its own address and add to its ChatGPT workspace as a custom app. For a chat that has the server but not the skill, the server also gives the skill's text through tools, read from the h5p-author package, which already ships SKILL.md and references/.

The source still passes through the server's memory on each call. With the public server that is one more party than today, when only the chat's provider sees it. With a school's own server it is the school.

Measured already

  • 2026-10-23, ChatGPT in developer mode, Chrome: a card that framed a hosted player page, declared in frameDomains, kept its origin and its worker and played an Interactive Video (ready in 3.1 s cold, about 1 s warm). The card's request for fullscreen worked, and so did opening a link in a new tab. ui/download-file answered "Method not found".
  • The build page opens a compressed #source= link, builds and plays (live, checked at each release).

Not measured: the build page inside a card, a source passed as a tool argument, a published app, the mobile apps.

Open questions, in the order to settle them

  1. Is it available where the teachers are? Apps in ChatGPT launched outside the EEA, Switzerland and the UK, and I found no page saying that has changed. If it has not, the app reaches no teacher in the EU.
  2. Free accounts need a published app. Per OpenAI's submission page, that takes individual or business verification, four listing addresses (a privacy policy and a support page among them), exactly five positive and three negative test cases, a demo video, and a stable public HTTPS endpoint (no sign-in is allowed). Without publishing, a custom server works fully on Business, Enterprise and Edu. Guides disagree on Plus and Pro, and one says Free is excluded.
  3. A frame slows review. OpenAI's reference says a card shows no frames by default, that frame_domains needs a justification at submission, and that frames can bring more review or a slower approval. The way without a frame is a player that needs no worker, built so far by hand for one quiz (2026-11-10).
  4. Download in the chat. Three candidates, to try in this order:
    • a download link inside the framed page (untested; the reference sandbox allows no downloads);
    • the card gives the built file to ChatGPT with window.openai.uploadFile, then asks for its address with getFileDownloadUrl. The file then sits in the person's own ChatGPT files, not on a server of ours. The reference describes the upload for a file the user chose, so a file the card made is untested;
    • the card opens the build page in a new tab with the link its script made. Opening a link is measured, so this is the floor: one press more than a download.
  5. Does a weak model write a whole source as a tool argument? ChatGPT's free model could not write a link that carried the source (0.10.1, h5p-author route 4: the source as a JSON block or file, and the build page's plain address; no link carries the source #208). A tool argument is JSON by its form, but the source's shape differs for every type, so no fixed schema checks it. To measure with a Question Set, a Drag the Words and a Course Presentation.
  6. The words "no MCP server". The site says them in three places (the build page's description and feature card, the guide's privacy paragraph), and so do the plugin's description and design/author.md. Proposal: the present plugin stays as it is, with the skill alone and no server, and the app is a second listing that says "nothing is stored". The promise then stays true for everyone who picks the first.
  7. Claude is not part of this. Claude drops frameDomains, so a card there cannot frame our pages, and design/author.md records the owner's choice: A preview inside Claude is the desktop app's browser panel, not a card.

Steps

  1. Probe, nothing shipped. A server behind a tunnel, added in developer mode, with a card that frames the build page. First check that the owner's account still has developer mode. Then measure: the build page builds and plays in the card; the three download candidates; a source of each of the three types as a tool argument; the mobile app if developer mode reaches it. Question 1 is answered by asking, not by building.
  2. If the probe passes: the server and the card as a new package here, with tests; the build page's card mode on the organisation's site (its own issue there); the rule and the probe's numbers in design/author.md.
  3. The skill: one line in route 4 for a chat that has the tool, tested on Haiku first.
  4. Publishing, which is the owner's: verification, the privacy policy and support pages, the test cases and the video, and where the public server runs.
  5. Self-hosting: the package's start command, one deploy recipe, and the tools that give the skill's text.

Not in this issue

  • A card in Claude, and the player that needs no worker.
  • A SCORM button in the card. The build page already links to the SCORM page.

Sources

Activity

  1. added
    enhancement
    on Nov 15, 2026
  2. self-assigned this
    on Nov 18, 2026
  3. alekswebnet commented on Nov 23, 2026

    @alekswebnet
    ContributorAuthor

    Status, 2026-11-23: the probe passed

    Step 0 ran on 2026-11-20 and 2026-11-23, in ChatGPT on the web (Chrome), with a custom app added from the plugins page. The issue's text above is from before it. What is known now:

    Question above Answer
    Does the page build and play in a card? Yes. The card frames /h5p/play/ on the organisation's site, which was made for it. A Question Set and an Interactive Video built and played; a 5.3 MB build took about 5 s.
    Does a source arrive as a tool argument (question 5)? Yes for a Question Set and an Interactive Video. The first call failed in every run on the author's role, until the tool's schema listed the roles; then it passed at the first call. Drag the Words and Course Presentation are not run yet.
    Does a file attached in the chat reach the activity? Yes, in three runs of three on 2026-11-23. The tool gets the file as { download_url, file_id, … } (openai/fileParams); the card's own input holds only the model's text, so the server hands the file's reference back in the result's _meta, and the card fetches the bytes in the browser. They never pass the server. On 2026-11-20 the tool got only the file's name in three runs of three, so this is not reliable, and the page's "Choose the file" stays.
    A large video? Downloaded whole and built in: 9 min 13 s for 230 MB (0.4 MB/s from the file's storage). Played straight from the link, in parts: ready in 1.4 s, a jump under a second. That is #263, merged as #264.
    Download in the chat (question 4) uploadFile + getFileDownloadUrl + openExternal works, behind ChatGPT's "open external link" dialog. ui/download-file is now advertised and answered without an error for 5.3 MB; it carries the file in one message, so it cannot carry a large one. The page's own link inside the card is not tried.
    Available where the teachers are (question 1)? No change found: apps are still not launched in the EEA, Switzerland and the UK.

    Two things the card needs that cost a run each to find: it must finish the MCP Apps handshake (ui/notifications/initialized), and its policy must be on the resource's content, not only on the listing. The file's host differs by file (two storage regions seen), so the policy names the storage by a wildcard.

    Done since

    What is left, and what it is made of

    Nothing below is written twice. The rule of design/mcp.md holds here too: the server keeps no rules of its own.

    1. The play page plays from the link (the organisation's site, after the author release with linked): it takes a file's address from the card, plays at once, and asks the card for the bytes only when the person wants the .h5p.
    2. The app's server, in packages/mcp, as a second entry beside the local one, not a new package:
      • h5p_types, the list, the type files and the instructions' flow are the local server's, shared from lib/server.mjs.
      • The source's fields in the tool's schema are the author package's sourceSchema, as h5p_build shows them. That is what stopped the wrong author's role locally (0 of 9), and the probe met the same mistake without it.
      • The check before the card shows is buildPackage with check, confined to an empty folder and fetching nothing, as the probe did.
      • New: one tool, h5p_play, the card, and an HTTP entry with the SDK's own handler. The local server's h5p_build, h5p_read and h5p_preview are not offered there: they act on a person's disk.
      • The build and the player stay the play page's: the author package's browser build and <h5p-player>.
    3. The card, for people: no probe's report or test buttons; it sends the chat's theme and a file's progress to the page (VS Code extension: say which video and audio VS Code cannot play, with Open in Browser #91's messages).
    4. Still to measure: Drag the Words and Course Presentation as tool arguments, the mobile apps, a link's life (under an hour) for a video left paused, a chat reopened later.
    5. The owner's: where the public server runs, publishing (questions 2 and 3), and the words "no MCP server" on the site (question 6).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions