Skip to content

Conversation

@vchomakov
Copy link
Member

Add MCP Registry Publishing to Release Workflow

Summary

Extends the release workflow to automatically publish the Redis MCP Server to the Model Context Protocol Registry alongside PyPI releases.

What's Changed

New Job: publish-mcp-registry

Adds automated publishing to the MCP Registry using GitHub OIDC authentication:

  • Triggers: Runs on GitHub releases or manual workflow dispatch (when not in dry-run mode)
  • Authentication: Uses GitHub OIDC (id-token: write permission) for secure, keyless publishing
  • Version Sync: Automatically updates server.json with the release version
  • Validation: Verifies server.json is valid JSON before publishing
  • Dry-run Support: Respects the existing dry_run input to test without publishing

Updated server.json

  • Removed OCI/Docker package entry (until Docker image versioning is resolved)
  • Kept PyPI package configuration for registry publishing

Enhanced Success Notifications

  • Added MCP Registry link to success notifications
  • Updated messaging to reflect dual publishing (PyPI + MCP Registry)

How It Works

  1. Version Detection: Extracts version from release tag or manual input
  2. Update server.json: Injects the version into the MCP server manifest
  3. Download Publisher: Fetches the official mcp-publisher CLI tool
  4. Validate: Ensures server.json is valid JSON
  5. Authenticate: Uses GitHub OIDC to authenticate with the registry
  6. Publish: Submits the server to the MCP Registry

Workflow Steps

publish-mcp-registry:
  - Checkout repository
  - Update server.json version
  - Install MCP Publisher CLI
  - Verify server.json is valid
  - Login to MCP Registry (via GitHub OIDC)
  - Publish to registry

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR extends the release workflow to automatically publish the Redis MCP Server to the Model Context Protocol Registry alongside PyPI releases, using GitHub OIDC authentication for secure, keyless publishing.

Key Changes:

  • Added publish-mcp-registry job that updates server.json with release version and publishes to MCP Registry via OIDC
  • Removed OCI/Docker package entry from server.json (deferred until Docker versioning is resolved)
  • Enhanced success notifications to include MCP Registry links

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 10 comments.

File Description
server.json Removed Docker/OCI package entry, keeping only PyPI configuration for registry publishing
.github/workflows/release.yml Added new publish-mcp-registry job with version sync, MCP Publisher CLI installation, OIDC authentication, and publishing steps; updated success notifications to reflect dual publishing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

vchomakov and others added 2 commits November 14, 2025 14:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Member

@bobymicroby bobymicroby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@redis redis deleted a comment from Copilot AI Nov 14, 2025
…ase workflow

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@redis redis deleted a comment from Copilot AI Nov 14, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@redis redis deleted a comment from Copilot AI Nov 14, 2025
@redis redis deleted a comment from Copilot AI Nov 14, 2025
@redis redis deleted a comment from Copilot AI Nov 14, 2025
@redis redis deleted a comment from Copilot AI Nov 14, 2025
@vchomakov vchomakov requested a review from Copilot November 14, 2025 16:23
Copilot finished reviewing on behalf of vchomakov November 14, 2025 16:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@redis redis deleted a comment from Copilot AI Nov 17, 2025
@redis redis deleted a comment from Copilot AI Nov 17, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@redis redis deleted a comment from Copilot AI Nov 17, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@redis redis deleted a comment from Copilot AI Nov 17, 2025
@vchomakov vchomakov merged commit af23ff0 into main Nov 17, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants