smithery.yaml•1.11 kB
# Smithery.ai configuration
startCommand:
type: stdio
configSchema:
type: object
properties:
project_id:
type: string
description: "Google Cloud Project ID"
region:
type: string
description: "Default GCP region"
default: "us-central1"
timeout:
type: integer
description: "Default timeout for operations in seconds"
default: 300
service_account_json:
type: string
description: "GCP Service Account key JSON (as string)"
service_account_path:
type: string
description: "Path to GCP Service Account key file"
required:
- project_id
commandFunction: |-
(config) => ({
"command": "python",
"args": [
"main.py"
],
"env": {
"GCP_PROJECT_ID": config.project_id,
"GCP_REGION": config.region || "us-central1",
"GCP_TIMEOUT": String(config.timeout || 300),
"GCP_SERVICE_ACCOUNT_JSON": config.service_account_json || "",
"GCP_SERVICE_ACCOUNT_KEY_PATH": config.service_account_path || ""
}
})