mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-01-09 07:28:05 -05:00
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:
2
.github/workflows/publish-mcp.yml
vendored
2
.github/workflows/publish-mcp.yml
vendored
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user