installMcpTlsTrust
installMcpTlsTrust(
config):void
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/mcp/tlsTrust.ts:106
Install the process-global undici dispatcher from config.tls, if any. Idempotent (installs at
most once per process). Fail-soft: an unreadable cert is warned about and skipped, never fatal.
Emits a loud security warning when verification is disabled.
Wired into getMcpClient before the MCP client is created; because it is global it also covers
LLM/tool fetches — which is desired for the CA case and is the danger to flag for the latch.
Parameters
Section titled “Parameters”config
Section titled “config”Returns
Section titled “Returns”void