From 1daabf5742721da78e904d43e0aad289e0604cf5 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Sat, 14 Nov 2026 23:13:48 +0100 Subject: [PATCH] Publish hosted Proofline metadata to the MCP Registry --- .github/workflows/mcp-registry.yml | 44 ++++++++++++++++++++++++++++++ README.md | 7 +++++ server.json | 14 ++++++++++ 3 files changed, 65 insertions(+) create mode 100644 .github/workflows/mcp-registry.yml create mode 100644 server.json diff --git a/.github/workflows/mcp-registry.yml b/.github/workflows/mcp-registry.yml new file mode 100644 index 0000000..6a6e9a8 --- /dev/null +++ b/.github/workflows/mcp-registry.yml @@ -0,0 +1,44 @@ +name: Publish MCP Registry +on: + workflow_dispatch: +permissions: + contents: read +concurrency: + group: mcp-registry + cancel-in-progress: false +jobs: + publish: + if: github.ref == 'refs/heads/main' + runs-on: ubuntu-24.04 + timeout-minutes: 10 + permissions: + contents: read + id-token: write + env: + MCP_PUBLISHER_VERSION: v1.8.1 + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - name: Install cosign + uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2 + - name: Download and verify publisher + shell: bash + 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 + - name: Validate metadata + run: ./mcp-publisher validate + - name: Authenticate using GitHub OIDC + run: ./mcp-publisher login github-oidc + - name: Publish hosted server metadata + run: ./mcp-publisher publish diff --git a/README.md b/README.md index 97367b6..339fb9a 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,13 @@ The bridge supports Proofline's stateless JSON transport with protocol `2025-11- ## Development and releases +The hosted endpoint's Official MCP Registry entry is maintained in `server.json`. +Run the **Publish MCP Registry** workflow from `main` after reviewing a metadata +change. It validates the file and publishes with GitHub OIDC; no stored registry +token is needed. Published versions are immutable, so increment the registry +version before publishing changed metadata. This workflow does not publish the +npm bridge. + Run the verification suite locally before submitting a pull request: ```sh diff --git a/server.json b/server.json new file mode 100644 index 0000000..80e8e48 --- /dev/null +++ b/server.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "io.github.prooflinedev/proofline", + "title": "Proofline", + "description": "Read Proofline review status, findings and review guidance, and request or rerun reviews.", + "version": "0.1.0", + "websiteUrl": "https://proofline.sh", + "remotes": [ + { + "type": "streamable-http", + "url": "https://proofline.sh/mcp" + } + ] +}