# 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:
- unichatModel
- unichatApiKey
properties:
unichatModel:
type: string
description: The model to be used by Unichat (e.g., 'gpt-4o-mini').
unichatApiKey:
type: string
description: The API key for accessing Unichat services.
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({ command: 'uv', args: ['run', 'unichat-mcp-server'], env: { UNICHAT_MODEL: config.unichatModel, UNICHAT_API_KEY: config.unichatApiKey } })