# Smithery configuration for supersendtx-mcp
# https://smithery.ai — submit/list after publish: npx @smithery/cli publish (or dashboard)

startCommand:
  type: stdio
  configSchema:
    type: object
    required: [apiKey]
    properties:
      apiKey:
        type: string
        title: SuperSend TX API Key
        description: API key starting with stx_
      apiUrl:
        type: string
        title: API Base URL
        description: Optional override (default https://api.supersendtx.com)
  commandFunction: |-
    (config) => ({
      command: 'npx',
      args: ['-y', 'supersendtx-mcp'],
      env: {
        SUPERSENDTX_API_KEY: config.apiKey,
        ...(config.apiUrl ? { SUPERSENDTX_API_URL: config.apiUrl } : {}),
      },
    })

exampleConfig:
  apiKey: stx_your_key_here
