pub struct McpConfig {
pub workspace_file: PathBuf,
pub global_dir: Option<PathBuf>,
pub supplied: Vec<McpServer>,
}Expand description
Which MCP servers a run gets: where to look for configured ones, and any the host already has in hand.
Fields§
§workspace_file: PathBufPath relative to the workspace root.
global_dir: Option<PathBuf>The global config directory, if any. mcp.json inside it is used.
supplied: Vec<McpServer>Servers the host supplies directly, outranking anything on disk of the
same name. This is where an ACP client’s mcpServers arrives.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for McpConfig
impl RefUnwindSafe for McpConfig
impl Send for McpConfig
impl Sync for McpConfig
impl Unpin for McpConfig
impl UnsafeUnpin for McpConfig
impl UnwindSafe for McpConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more