Skip to content

The app server and its play page become @missing-elements/h5p-mcp-app #305

Done

Description

@alekswebnet

The play page is copied word for word into a second site that hosts the chat app: play-page.ts, build-source.ts, json-scan.ts and its markup. So a change to the card's protocol takes three PRs in three repos: #301 took #303, missing-elements/missing-elements.github.io#134 and one in the other site. The card also frames missing-elements.github.io's play page by default, although the app server is a package anyone can host.

The owner's decisions (2026-11-28 and 29):

  • The play page moves into the packages with the card.
  • Its styles stay as they are, with no separate design.
  • The app server's domain serves its own page.
  • h5p-mcp stays a local MCP server with no page in it, and the app server, its card and the page become a package of their own.

Plan

  • @missing-elements/h5p-mcp-app holds the command h5p-mcp-app, createApp(), the card and the play page. h5p-mcp keeps the local server and exports what both say as ./answers.
  • The page ships ready-built as dist/play/, with the player, runtime and library files beside it.
  • The command serves /mcp and /h5p/play/ on one origin. The card frames the page on the request's own origin unless a host names site.
  • Tests. The page gets tests; the site it comes from has none. The card is tested with the real page.

Then

  1. Release h5p-mcp-app and h5p-mcp.
  2. The hosted Worker moves to h5p-mcp-app.
  3. missing-elements.github.io serves the package's page in place of its copy.

Not in this

  • The build page and the sites' own design (stylesheet, top bar, footer, policy pages) stay with the sites.

Activity

  1. added
    enhancement
    on Nov 28, 2026
  2. changed the title [-]One package for the play page, the build page and their design, themed by CSS variables[/-] [+]The play page moves into h5p-mcp, and h5p-mcp-app serves it[/+] on Nov 28, 2026
  3. changed the title [-]The play page moves into h5p-mcp, and h5p-mcp-app serves it[/-] [+]The app server and its play page become @missing-elements/h5p-mcp-app[/+] on Nov 29, 2026
  4. added 2 commits that reference this issue on Nov 29, 2026
  5. self-assigned this
    on Nov 29, 2026
  6. alekswebnet commented on Nov 29, 2026

    @alekswebnet
    ContributorAuthor

    Done. The play page lives in one place, @missing-elements/h5p-mcp-app, and both sites serve it from the package:

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