diff --git a/.github/workflows/publish-mcp-registry.yml b/.github/workflows/publish-mcp-registry.yml new file mode 100644 index 0000000000..a248551385 --- /dev/null +++ b/.github/workflows/publish-mcp-registry.yml @@ -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 diff --git a/server.json b/server.json index 882516a09d..41110a8403 100644 --- a/server.json +++ b/server.json @@ -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"