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

Method list_connected

core/src/mcp/manager.rs:398–401  ·  view source on GitHub ↗

List connected server names

(&self)

Source from the content-addressed store, hash-verified

396
397 /// List connected server names
398 pub async fn list_connected(&self) -> Vec<String> {
399 let clients = self.clients.read().await;
400 clients.keys().cloned().collect()
401 }
402
403 /// Get cached tools for a specific connected server.
404 pub async fn get_server_tools(&self, name: &str) -> Vec<McpTool> {

Callers 2

close_agentFunction · 0.80

Calls

no outgoing calls

Tested by 1