Skip to content

Conversation

@jonathannorris
Copy link
Member

Update the MCP schema version as the old version is depricated, and update the MCP publisher version to latest as it's being updated frequently right now.

Copilot AI review requested due to automatic review settings October 27, 2025 17:48
@jonathannorris jonathannorris requested a review from a team as a code owner October 27, 2025 17:48
Copy link

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 updates the MCP (Model Context Protocol) integration by migrating to a newer schema version and updating the publisher tool to use the latest release. The changes address deprecation of the old schema version (2025-07-09) and ensure the workflow uses the most current MCP publisher version.

Key Changes:

  • Updated MCP schema version from 2025-07-09 to 2025-10-17
  • Modified MCP publisher installation to use latest release instead of hardcoded v1.0.0
  • Standardized quote styles from single to double quotes across workflow file

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
server.json Updates schema version to 2025-10-17 and renames website_url to websiteUrl per new schema requirements
.github/workflows/cli-release.yml Updates MCP publisher to use latest release and standardizes quote style throughout workflow inputs

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

curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
chmod +x mcp-publisher
Copy link

Copilot AI Oct 27, 2025

Choose a reason for hiding this comment

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

The download URL no longer includes the version number in the filename pattern. The previous pattern was mcp-publisher_1.0.0_... but the new pattern is mcp-publisher_... without any version number. This assumes the latest release maintains this naming convention. Consider adding error handling or verification that the downloaded file exists before attempting to use it.

Suggested change
if [ ! -x mcp-publisher ]; then
echo "Error: mcp-publisher was not downloaded or is not executable."
exit 1
fi

Copilot uses AI. Check for mistakes.
- name: Install MCP Publisher
run: |
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
Copy link
Member

Choose a reason for hiding this comment

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

not version pinning?

Copy link
Member Author

Choose a reason for hiding this comment

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

no its being updated / broken so fast right now I think we should just keep it on latest (that's what they updated their docs to recommend)

@@ -1,13 +1,13 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
Copy link
Member

Choose a reason for hiding this comment

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

if we're pinning the schema - we should pin the release?

Copy link
Member Author

Choose a reason for hiding this comment

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

its moving so fast, the "old" schema version from 2025-07-09 is depricated lol.

@jonathannorris jonathannorris merged commit 25d85e8 into main Oct 27, 2025
8 checks passed
@jonathannorris jonathannorris deleted the chore-update-mcp-schema-version branch October 27, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants