pub fn uar_mcp_router(
run_manager: Arc<RunManager>,
native_skills: Arc<NativeSkillRegistry>,
persistence: Option<Arc<dyn PersistenceLayer>>,
) -> RouterExpand description
Build an Axum router that exposes the UAR runtime as an MCP server over the streamable-HTTP transport.
Mount at /mcp/uar in the main Axum router:
ⓘ
let uar_mcp = uar_mcp_router(Arc::clone(&run_manager), Arc::clone(&native_skills), persistence.clone());
app = app.nest("/mcp/uar", uar_mcp);