Skip to content

h5p-mcp 0.1.0, author 0.12.0, verify 1.6.0, normalize 1.4.0

Choose a tag to compare

@alekswebnet alekswebnet released this 18 Nov 11:48

New: H5P Author MCP, @missing-elements/h5p-mcp 0.1.0

A local MCP server for apps without a shell, such as Claude Desktop. It builds an H5P package of any content type onto your disk, checks that it plays in a real player, and opens it in your browser. It has three tools: h5p_types, which lists the content types and explains how to write a source for one; h5p_build; and h5p_preview.

  • Claude Code: claude mcp add h5p -- npx -y @missing-elements/h5p-mcp
  • Claude Desktop and VS Code: see the README.

Where it reads and writes: only in the folders you give it with --allow. Without those, it uses the folders your app shares with it, and failing that, Desktop, Documents and Downloads.

What it never does: overwrite a file, download from an address on your local network, or send anything to a server of ours.

It needs Node 22 or later, plus Chrome or Edge for the check. It's built on v2 of the MCP TypeScript SDK.

author 0.12.0

  • A source's own fields as a schema: sourceSchema (#230). The build checks type, title, language, license, authors and a source's other fields against it.
    • It's exported, so a tool can show a model the shape of a source before one is written. toJSONSchema from zod 4.2 or later turns it into JSON Schema.
    • Every problem with an author is now reported at once. An author written as a bare name is told the object to write.
    • The Source type is the schema's output, with params optional.
    • New dependency: zod.
  • Videos and recordings are checked by their bytes (#218).
    • A web page saved as clip.mp4 is refused by name, and so is an MP4 without an index a player can read.
    • An MP4 with no sound, with no picture, or encoded in HEVC gets a note.
    • In an Interactive Video, an interaction, bookmark, end screen or start time that falls after the video ends is refused.
  • inside(path, folders): the folder check within applies, for a tool that reads files of its own. It tells whether a path, with links followed, is in one of the folders.

verify 1.6.0

  • A video or recording the browser couldn't play is now a warning (#218): video does not play: <file>: …, with the browser's reason. In a browser without H.264 (or without AAC, for a recording), such as Playwright's Chromium, an MP4 is reported as not checked instead.
  • previewPackage() and openBrowser() are exported, so code can serve a preview the way --preview does.

normalize 1.4.0

  • mp4Info(read, size) from @missing-elements/h5p-normalize/mp4 (#218). It reads an MP4's length and each track's kind and codec from its index, without reading the media. It runs on a file in Node or on a Blob in a page.
  • The faststart rewrite now uses the same reader, which stops after 10,000 atoms, so a file of millions of tiny atoms can't exhaust memory.

Full Changelog: author-v0.11.0...mcp-v0.1.0