pub fn service(
fleet: Arc<dyn FleetProvider>,
store: Arc<dyn Store>,
) -> StreamableHttpService<FleetMcp, LocalSessionManager>Expand description
Mount the MCP server as an axum service at /mcp (#218).
Stateful sessions (the transport’s default): a client initializes once and keeps the session for its subsequent calls, which is what an editor-shaped client expects. The service is built per connection from the shared seams, so every session sees the same fleet.