Skip to main content

Function: resolveMcpConfig()

resolveMcpConfig(sources): McpConfig

Defined in: src/mcp/config.ts:142

The server's settings, each from the first source that has it: flag > process environment > saved .env > default.

Parameters​

sources​

env?​

Env

file?​

Partial<Record<"LIBRETRANSLATE_URL" | "LIBRETRANSLATE_API_KEY" | "PORT", string>>

flags?​

McpConfigFlags

Returns​

McpConfig