# 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:
- goatcounterCode
- goatcounterApiKey
properties:
goatcounterCode:
type: string
description: Goatcounter Code
goatcounterApiKey:
type: string
description: Goatcounter API Key
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'goatcounter-mcp-server', args: [], env: { PYTHONUNBUFFERED: '1', GOATCOUNTER_CODE: config.goatcounterCode, GOATCOUNTER_API_KEY: config.goatcounterApiKey } })
exampleConfig:
goatcounterCode: ABC123KEY
goatcounterApiKey: DEF456SECRET