smithery.yaml•1.02 kB
# Smithery configuration file: https://smithery.ai/docs/build/project-config
startCommand:
type: stdio
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'mcp-victorialogs',
args: [],
env: {
VL_INSTANCE_ENTRYPOINT: config.vlInstanceEntrypoint,
...(config.vlInstanceBearerToken ? {VL_INSTANCE_BEARER_TOKEN: config.vlInstanceBearerToken} : {}),
}
})
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- vlInstanceEntrypoint
properties:
vlInstanceEntrypoint:
type: string
description: URL to VictoriaLogs instance
vlInstanceBearerToken:
type: string
default: ""
description: Authentication token for VictoriaLogs API
exampleConfig:
vlInstanceEntrypoint: https://play-vmlogs.victoriametrics.com
vlInstanceBearerToken: <YOUR_TOKEN_HERE>