Skip to main content

serve

Function serve 

Source
pub async fn serve(config: ServeConfig, mcp: McpServeSettings) -> CliResult<()>
Available on crate feature serve only.
Expand description

Boot the server: install observability, build state + router, bind, serve until SIGTERM/SIGINT, then drain in-flight runs up to the grace window.