chore: update server.json path (#1985)

In this PR, the following was updated: 
* Updated the server.json file
* Added the requirement to add an annotation to the Docker image
([here](https://github.com/modelcontextprotocol/registry/blob/9ce229d3/docs/guides/publishing/publish-server.md#requirements-3)).

```
curl --request GET \
  --url 'https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.googleapis%2Fgenai-toolbox' \
  --header 'Accept: application/json, application/problem+json'
 ```
This commit is contained in:
Yuan Teoh
2025-11-19 13:19:47 -08:00
committed by GitHub
parent 8a497a8227
commit 02a11af350
3 changed files with 5 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ jobs:
shell: bash
run: |
MAX_ATTEMPTS=10
VERSION=$(jq -r '.version' .registry/server.json)
VERSION=$(jq -r '.version' server.json)
REGISTRY_URL="https://us-central1-docker.pkg.dev/v2/database-toolbox/toolbox/toolbox/manifests/${VERSION}"
# initially sleep time to wait for the version release

View File

@@ -34,4 +34,6 @@ WORKDIR /app
COPY --from=build --chown=nonroot /go/src/genai-toolbox/genai-toolbox /toolbox
USER nonroot
LABEL io.modelcontextprotocol.server.name="io.github.googleapis/genai-toolbox"
ENTRYPOINT ["/toolbox"]

View File

@@ -18,7 +18,6 @@
"packages": [
{
"registryType": "oci",
"registryBaseUrl": "https://artifactregistry.googleapis.com",
"identifier": "us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.20.0",
"transport": {
"type": "streamable-http",
@@ -35,6 +34,7 @@
{
"type": "named",
"name": "--address",
"valueHint": "host",
"description": "Address of the interface the server will listen on.",
"value": "{host}",
"variables": {
@@ -48,6 +48,7 @@
{
"type": "named",
"name": "--port",
"valueHint": "port",
"description": "Port the server will listen on.",
"value": "{port}",
"variables": {