Use MCP in reviews after startup completes

This commit is contained in:
Charlie Marsh
2026-06-28 22:37:39 -04:00
parent 133958a7ba
commit 28d3673af2
13 changed files with 243 additions and 104 deletions
@@ -370,6 +370,13 @@ impl McpConnectionManager {
!self.clients.is_empty()
}
/// Returns immediately with whether every configured client has finished starting.
pub fn startup_is_complete(&self) -> bool {
self.clients
.values()
.all(|client| client.startup_complete.load(Ordering::Acquire))
}
pub(crate) fn contains_server(&self, server_name: &str) -> bool {
self.clients.contains_key(server_name)
}