pub struct McpServerStatus {
pub name: String,
pub transport: String,
pub trust: String,
pub scope: String,
pub backends: Option<Vec<String>>,
pub enabled: bool,
pub builtin: bool,
pub health: String,
pub tool_count: u32,
pub tools: Vec<String>,
pub error: Option<String>,
}Expand description
Read-only status of one registry MCP server, mirrored from the TS protocol
(McpServerStatus). Config comes from the daemon’s registry; health/tools
reflect what the daemon-owned client has observed so far (no live probe).
Fields§
§name: String§transport: String“stdio” | “http” | “in-process”.
trust: String“readonly” | “prompt”.
scope: String“global” | “workspace” | “session”.
backends: Option<Vec<String>>Backends this server mounts on; None = all.
enabled: bool§builtin: boolcodeoid_memory — always present, not user-declared.
health: String“connected” | “error” | “idle” | “disabled”.
tool_count: u32§tools: Vec<String>§error: Option<String>Trait Implementations§
Source§impl Clone for McpServerStatus
impl Clone for McpServerStatus
Source§fn clone(&self) -> McpServerStatus
fn clone(&self) -> McpServerStatus
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 moreSource§impl Debug for McpServerStatus
impl Debug for McpServerStatus
Source§impl<'de> Deserialize<'de> for McpServerStatus
impl<'de> Deserialize<'de> for McpServerStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for McpServerStatus
impl RefUnwindSafe for McpServerStatus
impl Send for McpServerStatus
impl Sync for McpServerStatus
impl Unpin for McpServerStatus
impl UnsafeUnpin for McpServerStatus
impl UnwindSafe for McpServerStatus
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