MCPcopy Create free account
hub / github.com/AI45Lab/Code / is_connected

Method is_connected

core/src/mcp/manager.rs:392–395  ·  view source on GitHub ↗

Check if a server is connected

(&self, name: &str)

Source from the content-addressed store, hash-verified

390
391 /// Check if a server is connected
392 pub async fn is_connected(&self, name: &str) -> bool {
393 let clients = self.clients.read().await;
394 clients.get(name).map(|c| c.is_connected()).unwrap_or(false)
395 }
396
397 /// List connected server names
398 pub async fn list_connected(&self) -> Vec<String> {

Callers 2

get_statusMethod · 0.45

Calls 1

getMethod · 0.45