Skip to main content

add_tools

Function add_tools 

Source
pub(crate) fn add_tools(
    builder: McpServerBuilder,
    facade: Arc<dyn GotifyFacade>,
    slot: SessionSlot,
) -> McpServerBuilder
Expand description

Attach the five Gotify tools to an existing McpServerBuilder. Called for BOTH lead and worker sessions (any-caller), so build_forge_server invokes this unconditionally. apps / recent are server-global reads and don’t take the caller slot.