pub struct DaemonMcpServerConfig {
pub name: String,
pub expose_tools: bool,
pub expose_resources: bool,
pub expose_prompts: bool,
}Expand description
MCP server configuration for the daemon.
When present, the daemon exposes an MCP-compatible endpoint at /mcp
so external MCP clients can discover and call heartbit tools/resources.
Fields§
§name: StringServer name reported in the initialize response. Defaults to "heartbit".
expose_tools: boolWhether to expose heartbit tools via MCP. Default: true.
expose_resources: boolWhether to expose resources (tasks, memory, knowledge) via MCP. Default: true.
expose_prompts: boolWhether to expose prompts via MCP. Default: false.
Trait Implementations§
Source§impl Clone for DaemonMcpServerConfig
impl Clone for DaemonMcpServerConfig
Source§fn clone(&self) -> DaemonMcpServerConfig
fn clone(&self) -> DaemonMcpServerConfig
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 DaemonMcpServerConfig
impl Debug for DaemonMcpServerConfig
Source§impl<'de> Deserialize<'de> for DaemonMcpServerConfig
impl<'de> Deserialize<'de> for DaemonMcpServerConfig
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 DaemonMcpServerConfig
impl RefUnwindSafe for DaemonMcpServerConfig
impl Send for DaemonMcpServerConfig
impl Sync for DaemonMcpServerConfig
impl Unpin for DaemonMcpServerConfig
impl UnsafeUnpin for DaemonMcpServerConfig
impl UnwindSafe for DaemonMcpServerConfig
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