ci: publish the hosted HyperFrames MCP to the official MCP registry (#7676)

This commit is contained in:
Ular Kimsanov
2026-11-13 23:05:34 +00:00
committed by GitHub
parent c727e890f2
commit 0f6ed7d57b
2 changed files with 52 additions and 2 deletions
@@ -0,0 +1,50 @@
name: Publish to MCP Registry
# Lists the hosted HyperFrames MCP (server.json) in the official MCP registry. The registry gives the
# io.github.heygen-com/* name to a run that GitHub vouches for as this repo (OIDC), so no secret is stored.
# The registry rejects a version it already has: to change the listing, edit server.json and raise "version".
# Steps follow https://modelcontextprotocol.io/registry/github-actions
permissions: {}
on:
push:
branches: [main]
paths: [server.json]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
id-token: write
contents: read
env:
MCP_PUBLISHER_VERSION: v1.8.9
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- name: Install cosign
uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2
- name: Download and verify mcp-publisher
run: |
set -euo pipefail
archive="mcp-publisher_linux_amd64.tar.gz"
base_url="https://github.com/modelcontextprotocol/registry/releases/download/${MCP_PUBLISHER_VERSION}"
curl --fail --location --silent --show-error --output "$archive" "$base_url/$archive"
curl --fail --location --silent --show-error --output "$archive.sigstore.json" "$base_url/$archive.sigstore.json"
cosign verify-blob \
--bundle "$archive.sigstore.json" \
--certificate-identity "https://github.com/modelcontextprotocol/registry/.github/workflows/release.yml@refs/tags/${MCP_PUBLISHER_VERSION}" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
"$archive"
tar xzf "$archive" mcp-publisher
rm -f "$archive" "$archive.sigstore.json"
- name: Log in to the MCP registry
run: ./mcp-publisher login github-oidc
- name: Publish server.json
run: ./mcp-publisher publish
+2 -2
View File
@@ -1,8 +1,8 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.heygen-com/hyperframes",
"title": "HyperFrames",
"description": "Compose, edit and render HyperFrames videos (HTML to MP4) in your HeyGen account from chat clients.",
"title": "HyperFrames by HeyGen",
"description": "Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.",
"repository": {
"url": "https://github.com/heygen-com/hyperframes",
"source": "github"