| Name | Type | Description |
|---|---|---|
explicit_config_path | str | None | Default: NoneExtra config file to layer on top of auto-discovered configs (highest precedence). Errors are fatal. |
no_mcp | bool | Default: FalseIf True, disable all MCP loading. |
trust_project_mcp | bool | None | Default: None |
project_context | ProjectContext | None | Default: None |
Resolve MCP config and load tools.
Auto-discovers configs from standard locations and merges them.
When explicit_config_path is provided it is added as the
highest-precedence source (errors in that file are fatal).
Controls project-level stdio server trust:
True: allow all project stdio servers (flag/prompt approved).False: filter out project stdio servers, log warning.None (default): check the persistent trust store; if the
fingerprint matches, allow; otherwise filter + warn.Explicit project path context for config discovery and trust resolution.