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

Method get_status

crates/opencode-mcp/src/client.rs:684–686  ·  view source on GitHub ↗

Get the status for a single server.

(&self, name: &str)

Source from the content-addressed store, hash-verified

682
683 /// Get the status for a single server.
684 pub async fn get_status(&self, name: &str) -> Option<McpStatus> {
685 self.statuses.read().await.get(name).cloned()
686 }
687
688 /// Return all servers with their current status (including those that
689 /// are not connected).

Callers

nothing calls this directly

Calls 2

readMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected