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

Method from

crates/opencode-server/src/routes.rs:2514–2522  ·  view source on GitHub ↗
(info: McpServerInfoStruct)

Source from the content-addressed store, hash-verified

2512
2513impl From<McpServerInfoStruct> for McpStatusInfo {
2514 fn from(info: McpServerInfoStruct) -> Self {
2515 Self {
2516 name: info.name,
2517 status: info.status,
2518 tools: info.tools,
2519 resources: info.resources,
2520 error: info.error,
2521 }
2522 }
2523}
2524
2525async fn get_mcp_status(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected