MCP Server Framework - v1.0.0
    Preparing search index...

    Function loadConfigFile

    • Load and validate a config file.

      This is the single entry point for the config file subsystem. The result contains Partial<FrameworkEnvConfig> overrides that can be applied via applyConfigOverrides().

      Unknown keys are stripped during validation and logged as warnings so typos are visible without preventing the server from starting.

      Returns ConfigFileResult | undefined

      Config file result with overrides and metadata, or undefined if no file found

      On discovery, parse, or validation errors