# Smithery configuration file: https://smithery.ai/docs/build/project-config
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties:
kubeconfigDir:
type: string
default: ""
description: Path to directory containing kubeconfig files
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({command: 'python3', args: ['app.py'], env: config.kubeconfigDir ? {KUBECONFIG_DIR: config.kubeconfigDir} : {}})
exampleConfig:
kubeconfigDir: /path/to/your/kubeconfigs