smithery.yaml•2.78 kB
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- googleCloudProject
- googleCloudLocation
properties:
googleCloudProject:
type: string
description: Google Cloud Project ID
googleCloudLocation:
type: string
description: Google Cloud Location
googleApplicationCredentials:
type: string
description: Path to service account key JSON
vertexAiModelId:
type: string
default: gemini-2.5-pro-exp-03-25
description: Vertex AI Model ID
vertexAiTemperature:
type: number
default: 0
description: Temperature for model
vertexAiUseStreaming:
type: boolean
default: true
description: Whether to use streaming
vertexAiMaxOutputTokens:
type: number
default: 65535
description: Max output tokens
vertexAiMaxRetries:
type: number
default: 3
description: Max retry attempts
vertexAiRetryDelayMs:
type: number
default: 1000
description: Delay between retries in ms
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'node', args: ['build/index.js'], env: { ...(config.googleCloudProject && { GOOGLE_CLOUD_PROJECT: config.googleCloudProject }), ...(config.googleCloudLocation && { GOOGLE_CLOUD_LOCATION: config.googleCloudLocation }), ...(config.googleApplicationCredentials && { GOOGLE_APPLICATION_CREDENTIALS: config.googleApplicationCredentials }), ...(config.vertexAiModelId && { VERTEX_AI_MODEL_ID: config.vertexAiModelId }), ...(config.vertexAiTemperature !== undefined && { VERTEX_AI_TEMPERATURE: String(config.vertexAiTemperature) }), ...(config.vertexAiUseStreaming !== undefined && { VERTEX_AI_USE_STREAMING: String(config.vertexAiUseStreaming) }), ...(config.vertexAiMaxOutputTokens !== undefined && { VERTEX_AI_MAX_OUTPUT_TOKENS: String(config.vertexAiMaxOutputTokens) }), ...(config.vertexAiMaxRetries !== undefined && { VERTEX_AI_MAX_RETRIES: String(config.vertexAiMaxRetries) }), ...(config.vertexAiRetryDelayMs !== undefined && { VERTEX_AI_RETRY_DELAY_MS: String(config.vertexAiRetryDelayMs) }) } })
exampleConfig:
googleCloudProject: my-gcp-project
googleCloudLocation: us-central1
googleApplicationCredentials: /path/to/credentials.json
vertexAiModelId: gemini-2.5-pro-exp-03-25
vertexAiTemperature: 0
vertexAiUseStreaming: true
vertexAiMaxOutputTokens: 65535
vertexAiMaxRetries: 3
vertexAiRetryDelayMs: 1000