smithery.yaml•848 B
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties:
tavilyApiKey:
type: string
default: ""
maxSearchKeywords:
type: number
default: 5
maxPlanningRounds:
type: number
default: 5
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['dist/index.cjs'],
env: Object.assign({}, process.env, {
TAVILY_API_KEY: config.tavilyApiKey || '',
MAX_SEARCH_KEYWORDS: config.maxSearchKeywords || '5',
MAX_PLANNING_ROUNDS: config.maxPlanningRounds || '5'
})
})