# 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:
- CLIENT_ID
- CLIENT_SECRET
- REFRESH_TOKEN
properties:
CLIENT_ID:
type: string
description: OAuth Client ID for Google API
CLIENT_SECRET:
type: string
description: OAuth Client Secret for Google API
REFRESH_TOKEN:
type: string
description: Refresh Token for Google API.
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: {
CLIENT_ID: config.CLIENT_ID,
CLIENT_SECRET: config.CLIENT_SECRET,
REFRESH_TOKEN: config.REFRESH_TOKEN
}
})
exampleConfig:
CLIENT_ID: your-google-oauth-client-id
CLIENT_SECRET: your-google-oauth-client-secret
REFRESH_TOKEN: your-refresh-token