-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Fetch tags in registry publish workflow #1131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this 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 introduces automated publishing to the MCP Registry by adding a GitHub Actions workflow and server manifest configuration. The changes enable the GitHub MCP server to be automatically published to the registry when version tags are created.
- Adds MCP Registry publishing workflow triggered by version tags
- Creates server.json manifest with package and environment configuration
- Configures OCI container registry integration for Docker-based distribution
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| server.json | New MCP server manifest defining package configuration, runtime arguments, and environment variables |
| .github/workflows/registry-releaser.yml | GitHub Actions workflow for automated registry publishing with version management |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| "version": "0.0.0", | ||
| "packages": [ | ||
| { | ||
| "registryType": "oci", | ||
| "registryBaseUrl": "https://ghcr.io", | ||
| "identifier": "ghcr.io/github/github-mcp-server", | ||
| "version": "0.0.0", |
Copilot
AI
Sep 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hardcoded version '0.0.0' should be dynamically updated. Consider using a placeholder or template variable that gets replaced during the build process to avoid manual version updates.
| "version": "0.0.0", | |
| "packages": [ | |
| { | |
| "registryType": "oci", | |
| "registryBaseUrl": "https://ghcr.io", | |
| "identifier": "ghcr.io/github/github-mcp-server", | |
| "version": "0.0.0", | |
| "version": "${VERSION}", | |
| "packages": [ | |
| { | |
| "registryType": "oci", | |
| "registryBaseUrl": "https://ghcr.io", | |
| "identifier": "ghcr.io/github/github-mcp-server", | |
| "version": "${VERSION}", |
| "registryType": "oci", | ||
| "registryBaseUrl": "https://ghcr.io", | ||
| "identifier": "ghcr.io/github/github-mcp-server", | ||
| "version": "0.0.0", |
Copilot
AI
Sep 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hardcoded version should match the root version field and be dynamically managed. Having multiple hardcoded version fields creates maintenance overhead and potential inconsistencies.
| "version": "0.0.0", |
This pull request introduces automated publishing to the MCP Registry and adds a new
server.jsonmanifest describing the server and its package configuration. The main changes are the addition of a GitHub Actions workflow for publishing and the creation of a detailed MCP server manifest.