# 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: []
properties:
port:
type: number
description: Port to run the server on, defaults to 3456
ollamaApi:
type: string
description: Ollama API endpoint, defaults to http://localhost:11434
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
config => ({command: 'node', args: ['dist/cli.js'], env: {PORT: config.port?.toString() || '3456', OLLAMA_API: config.ollamaApi || 'http://localhost:11434'}})