pub struct McpServerInfo {
pub name: String,
pub command: String,
pub args: Vec<String>,
}Expand description
Lightweight description of an MCP server an adapter is aware of.
Returned by DevToolAdapter::list_mcp_servers and consumed by
DevToolAdapter::apply_mcp_governance. This is a minimal placeholder;
when aa-core grows a richer MCP type (e.g. transport-aware
description), this struct will be replaced or wrapped without any
trait-method signature change.
Fields§
§name: StringStable identifier the tool uses for this MCP server (matches the key under which the server appears in the tool’s native configuration file).
command: StringExecutable invoked to start the MCP server process.
args: Vec<String>Arguments passed to command when the MCP server is started.
Trait Implementations§
Source§impl Clone for McpServerInfo
impl Clone for McpServerInfo
Source§fn clone(&self) -> McpServerInfo
fn clone(&self) -> McpServerInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for McpServerInfo
impl RefUnwindSafe for McpServerInfo
impl Send for McpServerInfo
impl Sync for McpServerInfo
impl Unpin for McpServerInfo
impl UnsafeUnpin for McpServerInfo
impl UnwindSafe for McpServerInfo
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