| Name | Type | Description |
|---|---|---|
explicit_config_path | str | None | Default: NoneExtra config file to layer on top of auto-discovered configs. |
no_mcp | bool | Default: FalseIf |
trust_project_mcp | bool | None | Default: None |
project_context | ProjectContext | None | Default: None |
stateless | bool | Default: False |
session_manager | MCPSessionManager | 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 and errors in that file are fatal.
Controls project-level stdio server trust.
True: always trust project configs, including stdio servers.False: drop stdio entries from project configs.None: consult the persistent trust store ā trusted configs
load fully, untrusted project stdio servers are dropped.Explicit project path context for config discovery and trust resolution.
When True, do not return an owned runtime session manager.
Optional externally owned runtime session manager.