DocsCommonmcpMCPServerConfigBase
Package: @hexos/common

Base configuration shared by all MCP server transport types.

Provides common settings for lazy initialization, debug logging, and request timeouts. Lazy servers are not connected at runtime startup — they initialize on first use, reducing startup time when some MCP servers are rarely needed.

Related: MCPStdioServerConfig and MCPSSEServerConfig extend this base.

interface MCPServerConfigBase {
    lazy?: boolean;
    debug?: boolean;
    requestTimeoutMs?: number;
}

lazy

boolean

debug

boolean

requestTimeoutMs

number