mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-05-02 03:00:36 -04:00
Add remaining CLI flags for the server published on official mcp registry. ref: https://googleapis.github.io/genai-toolbox/reference/cli/ _note: mcp registry do not support shorthand flag (there are no options to defined an alternate name). The only way is to define them as separate named arguments but it may not work well since both would try to set the same underlying value._
166 lines
6.5 KiB
JSON
166 lines
6.5 KiB
JSON
{
|
||
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
||
"name": "io.github.googleapis/genai-toolbox",
|
||
"description": "MCP Toolbox for Databases enables your agent to connect to your database.",
|
||
"title": "MCP Toolbox",
|
||
"websiteUrl": "https://github.com/googleapis/genai-toolbox",
|
||
"icons": [
|
||
{
|
||
"src": "https://github.com/googleapis/genai-toolbox/blob/main/.hugo/assets/icons/logo.svg",
|
||
"mimeType": "image/svg+xml"
|
||
}
|
||
],
|
||
"repository": {
|
||
"url": "https://github.com/googleapis/genai-toolbox",
|
||
"source": "github"
|
||
},
|
||
"version": "0.25.0",
|
||
"packages": [
|
||
{
|
||
"registryType": "oci",
|
||
"identifier": "us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.25.0",
|
||
"transport": {
|
||
"type": "streamable-http",
|
||
"url": "http://{host}:{port}/mcp"
|
||
},
|
||
"runtimeArguments": [
|
||
{
|
||
"type": "named",
|
||
"name": "--tools-file",
|
||
"description": "File path specifying the tool configuration.",
|
||
"default": "tools.yaml",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--tools-files",
|
||
"description": "Multiple file paths specifying tool configurations. Files will be merged. Cannot be used with –-tools-file or –-tools-folder.",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--tools-folder",
|
||
"description": "Directory path containing YAML tool configuration files. All .yaml and .yml files in the directory will be loaded and merged. Cannot be used with –-tools-file or –-tools-files.",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--address",
|
||
"valueHint": "host",
|
||
"description": "Address of the interface the server will listen on.",
|
||
"value": "{host}",
|
||
"variables": {
|
||
"host": {
|
||
"description": "ip address",
|
||
"isRequired": true,
|
||
"default": "127.0.0.1"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--port",
|
||
"valueHint": "port",
|
||
"description": "Port the server will listen on.",
|
||
"value": "{port}",
|
||
"variables": {
|
||
"port": {
|
||
"description": "port",
|
||
"isRequired": true,
|
||
"default": "5000"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--log-level",
|
||
"description": "Specify the minimum level logged.",
|
||
"default": "info",
|
||
"choices": [
|
||
"debug",
|
||
"info",
|
||
"warn",
|
||
"error"
|
||
]
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--logging-format",
|
||
"description": "Specify logging format to use.",
|
||
"default": "standard",
|
||
"choices": [
|
||
"standard",
|
||
"json"
|
||
]
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--disable-reload",
|
||
"description": "Disables dynamic reloading of tools file.",
|
||
"format": "boolean",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--prebuilt",
|
||
"description": "Use a prebuilt tool configuration by source type.",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--stdio",
|
||
"description": "Listens via MCP STDIO instead of acting as a remote HTTP server.",
|
||
"format": "boolean",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--telemetry-gcp",
|
||
"description": "Enable exporting directly to Google Cloud Monitoring.",
|
||
"format": "boolean",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--telemetry-otlp",
|
||
"description": "Enable exporting using OpenTelemetry Protocol (OTLP) to the specified endpoint (e.g. 'http://127.0.0.1:4318').",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--telemetry-service-name",
|
||
"description": "Sets the value of the service.name resource attribute for telemetry data.",
|
||
"default": "toolbox",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--ui",
|
||
"description": "Launches the Toolbox UI web server.",
|
||
"format": "boolean",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--allowed-origins",
|
||
"description": "Specifies a list of origins permitted to access this server.",
|
||
"default": "*",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--help",
|
||
"description": "Show help for toolbox",
|
||
"isRequired": false
|
||
},
|
||
{
|
||
"type": "named",
|
||
"name": "--version",
|
||
"description": "Show version for toolbox",
|
||
"isRequired": false
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|