pub struct McpServerEntry {
pub name: String,
pub command: String,
pub args: Vec<String>,
pub binary_sha256: Option<String>,
pub description_hash: Option<String>,
pub publisher: Option<McpPublisherInfo>,
pub installed_at: Option<DateTime<Utc>>,
}Fields§
§name: String§command: String§args: Vec<String>§binary_sha256: Option<String>SHA-256 (hex, lowercase) of the binary at command’s resolved
path, captured at install time. None means the entry was
added before B0 M9.1 (back-compat) and rule-6 enforcement is
not applied — the supervisor will warn but not block.
(B0 rule 6 / M9.1)
description_hash: Option<String>SHA-256 (hex, lowercase) of the canonical-JSON of the MCP’s
tools/list response, captured at install time. None means
the install path skipped the description probe (e.g. the MCP
uses a non-stdio transport or the binary couldn’t be reached)
or the entry pre-dates M9. (B0 rule 6 / M9.1)
publisher: Option<McpPublisherInfo>Display-only publisher metadata captured at install time so
the user can recall what they consented to. None for older
entries. (B0 rule 6 / M9.1)
installed_at: Option<DateTime<Utc>>RFC3339 timestamp of when the entry was added or last
re-approved by the user via mur agent mcp pin. Used by the
rug-pull dialog UX. None for older entries. (B0 rule 6 / M9.1)
Trait Implementations§
Source§impl Clone for McpServerEntry
impl Clone for McpServerEntry
Source§fn clone(&self) -> McpServerEntry
fn clone(&self) -> McpServerEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for McpServerEntry
impl Debug for McpServerEntry
Source§impl Default for McpServerEntry
impl Default for McpServerEntry
Source§fn default() -> McpServerEntry
fn default() -> McpServerEntry
Source§impl<'de> Deserialize<'de> for McpServerEntry
impl<'de> Deserialize<'de> for McpServerEntry
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>,
Source§impl PartialEq for McpServerEntry
impl PartialEq for McpServerEntry
Source§fn eq(&self, other: &McpServerEntry) -> bool
fn eq(&self, other: &McpServerEntry) -> bool
self and other values to be equal, and is used by ==.