# 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:
      - ghostApiUrl
      - ghostStaffApiKey
    properties:
      ghostApiUrl:
        type: string
        description: The URL of your Ghost Admin API
      ghostStaffApiKey:
        type: string
        description: Your Ghost Staff API key
  commandFunction:
    # A function that produces the CLI command to start the MCP on stdio.
    |-
    config => ({ command: 'uv', args: ['--directory', '/app', 'run', 'src/main.py'], env: { GHOST_API_URL: config.ghostApiUrl, GHOST_STAFF_API_KEY: config.ghostStaffApiKey } })
