From d10cdd1d2d3c3fe2d1e4927d66e6681c99793d69 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 22 Oct 2026 21:45:53 +0000 Subject: [PATCH 1/2] Add workflow to deprecate legacy io.github.pascalorg/editor registry entry Co-authored-by: Aymeric Rabot --- .../mcp-registry-deprecate-legacy.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/mcp-registry-deprecate-legacy.yml diff --git a/.github/workflows/mcp-registry-deprecate-legacy.yml b/.github/workflows/mcp-registry-deprecate-legacy.yml new file mode 100644 index 0000000000..760ecb4ce3 --- /dev/null +++ b/.github/workflows/mcp-registry-deprecate-legacy.yml @@ -0,0 +1,32 @@ +name: MCP Registry deprecate legacy entry + +on: + workflow_dispatch: + +permissions: + id-token: write + contents: read + +jobs: + deprecate: + runs-on: ubuntu-latest + steps: + - name: Install MCP Registry publisher + run: | + curl --fail --location \ + "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" \ + --output "$RUNNER_TEMP/mcp-publisher.tar.gz" + tar -xzf "$RUNNER_TEMP/mcp-publisher.tar.gz" -C "$RUNNER_TEMP" mcp-publisher + + - name: Log in to MCP Registry + run: "$RUNNER_TEMP/mcp-publisher login github-oidc" + + # Flags must precede the server name; --yes skips the bulk confirmation prompt. + - name: Deprecate io.github.pascalorg/editor + run: | + "$RUNNER_TEMP/mcp-publisher" status \ + --status deprecated \ + --message "Superseded by app.pascal/editor" \ + --all-versions \ + --yes \ + io.github.pascalorg/editor From e335e673a773a269f387c02ed5011cd96930d4fa Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 22 Oct 2026 21:48:03 +0000 Subject: [PATCH 2/2] Pin mcp-publisher and make the legacy entry status a dispatch input Co-authored-by: Aymeric Rabot --- .../mcp-registry-deprecate-legacy.yml | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mcp-registry-deprecate-legacy.yml b/.github/workflows/mcp-registry-deprecate-legacy.yml index 760ecb4ce3..50e395f420 100644 --- a/.github/workflows/mcp-registry-deprecate-legacy.yml +++ b/.github/workflows/mcp-registry-deprecate-legacy.yml @@ -2,11 +2,23 @@ name: MCP Registry deprecate legacy entry on: workflow_dispatch: + inputs: + status: + description: Registry status for every version of io.github.pascalorg/editor + type: choice + options: + - deleted + - deprecated + default: deleted permissions: id-token: write contents: read +env: + MCP_PUBLISHER_VERSION: 1.8.1 + MCP_PUBLISHER_LINUX_AMD64_SHA256: a06c9096dcb9727c13555b6be26c7effa707b01f06a4c561ba7a3635443cf2cc + jobs: deprecate: runs-on: ubuntu-latest @@ -14,18 +26,22 @@ jobs: - name: Install MCP Registry publisher run: | curl --fail --location \ - "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" \ + "https://github.com/modelcontextprotocol/registry/releases/download/v${MCP_PUBLISHER_VERSION}/mcp-publisher_linux_amd64.tar.gz" \ --output "$RUNNER_TEMP/mcp-publisher.tar.gz" + echo "${MCP_PUBLISHER_LINUX_AMD64_SHA256} $RUNNER_TEMP/mcp-publisher.tar.gz" | sha256sum --check tar -xzf "$RUNNER_TEMP/mcp-publisher.tar.gz" -C "$RUNNER_TEMP" mcp-publisher - name: Log in to MCP Registry run: "$RUNNER_TEMP/mcp-publisher login github-oidc" + # Only a deleted entry releases its remote URL for another server name. # Flags must precede the server name; --yes skips the bulk confirmation prompt. - - name: Deprecate io.github.pascalorg/editor + - name: Update io.github.pascalorg/editor status + env: + STATUS: ${{ inputs.status }} run: | "$RUNNER_TEMP/mcp-publisher" status \ - --status deprecated \ + --status "$STATUS" \ --message "Superseded by app.pascal/editor" \ --all-versions \ --yes \