Skip to main content

Module router

Module router 

Source
Expand description

#[prompt_router]-decorated impl McpifyServer block — one method per MCP prompt. Kept separate from src/core/mcp_server.rs’s #[tool_router] block (see docs/mcp-prompts-workflow-plan.md). vis = "pub(crate)" is required here (unlike the co-located tool_router) because this impl block lives in a different module than McpifyServer::new(), which calls the generated Self::prompt_router().