smithery.yaml•883 B
# 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:
      - gauthFile
      - accountsFile
      - credentialsDir
    properties:
      gauthFile:
        type: string
        description: Path to the OAuth2 client configuration file
      accountsFile:
        type: string
        description: Path to the accounts configuration file
      credentialsDir:
        type: string
        description: Directory to store OAuth credentials
  commandFunction:
    # A function that produces the CLI command to start the MCP on stdio.
    |-
    (config) => ({command: 'uv', args: ['run', 'mcp-gsuite', '--gauth-file', config.gauthFile, '--accounts-file', config.accountsFile, '--credentials-dir', config.credentialsDir]})