MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / has_server

Method has_server

crates/opencode-server/src/mcp_oauth.rs:120–122  ·  view source on GitHub ↗
(&self, server_name: &str)

Source from the content-addressed store, hash-verified

118 }
119
120 pub async fn has_server(&self, server_name: &str) -> bool {
121 self.servers.read().await.contains_key(server_name)
122 }
123
124 pub async fn add_server(
125 &self,

Callers 2

sync_mcp_from_diskFunction · 0.80

Calls 1

readMethod · 0.80

Tested by

no test coverage detected