Skip to content

Commit 488c9a2

Browse files
committed
resolve comments
1 parent d109921 commit 488c9a2

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

.github/workflows/publish-mcp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
- name: Wait for image in Artifact Registry
3535
shell: bash
3636
run: |
37-
MAX_ATTEMPTS=3
37+
MAX_ATTEMPTS=10
3838
VERSION=$(jq -r '.version' server.json)
3939
REGISTRY_URL="https://us-central1-docker.pkg.dev/v2/database-toolbox/toolbox/toolbox/manifests/${VERSION}"
4040
4141
# initially sleep time to wait for the version release
42-
sleep 10m
42+
sleep 3m
4343
4444
for i in $(seq 1 ${MAX_ATTEMPTS}); do
4545
echo "Attempt $i: Checking for image ${REGISTRY_URL}..."
@@ -54,7 +54,7 @@ jobs:
5454
echo "❌ Image not found (likely 404 error) on attempt $i."
5555
if [ $i -lt ${MAX_ATTEMPTS} ]; then
5656
echo "Sleeping for 5 minutes before next attempt..."
57-
sleep 5m
57+
sleep 2m
5858
else
5959
echo "Maximum attempts reached. Image not found."
6060
exit 1

.registry/server.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,29 @@
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
33
"name": "io.github.googleapis/genai-toolbox",
44
"description": "MCP Toolbox for Databases enables your agent to connect to your database.",
5-
"status": "active",
5+
"title": "MCP Toolbox",
6+
"websiteUrl": "https://github.com/googleapis/genai-toolbox",
7+
"icons": [
8+
{
9+
"src": "https://github.com/googleapis/genai-toolbox/blob/main/.hugo/assets/icons/logo.svg",
10+
"mimeType": "image/svg+xml"
11+
}
12+
],
613
"repository": {
714
"url": "https://github.com/googleapis/genai-toolbox",
815
"source": "github"
916
},
10-
"version": "0.18.0",
17+
"version": "0.19.1",
1118
"packages": [
1219
{
1320
"registryType": "oci",
1421
"registryBaseUrl": "https://artifactregistry.googleapis.com",
15-
"identifier": "us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.18.0",
22+
"identifier": "us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.19.1",
1623
"transport": {
1724
"type": "streamable-http",
18-
"url": "http://{host}:{port}"
25+
"url": "http://{host}:{port}/mcp"
1926
},
20-
"packageArguments": [
27+
"runtimeArguments": [
2128
{
2229
"type": "named",
2330
"name": "--tools-file",
@@ -32,7 +39,7 @@
3239
"value": "{host}",
3340
"variables": {
3441
"host": {
35-
"description": "address",
42+
"description": "ip address",
3643
"isRequired": true,
3744
"default": "127.0.0.1"
3845
}
@@ -44,7 +51,7 @@
4451
"description": "Port the server will listen on.",
4552
"value": "{port}",
4653
"variables": {
47-
"host": {
54+
"port": {
4855
"description": "port",
4956
"isRequired": true,
5057
"default": "5000"
@@ -56,8 +63,7 @@
5663
"name": "--log-level",
5764
"description": "Specify the minimum level logged.",
5865
"default": "info",
59-
"choices": ["debug", "info", "warn", "error"],
60-
"isRequired": true
66+
"choices": ["debug", "info", "warn", "error"]
6167
}
6268
]
6369
}

0 commit comments

Comments
 (0)