MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / statusIcon

Function statusIcon

src/ui/components/McpPicker.tsx:37–50  ·  view source on GitHub ↗
(state: McpServerState)

Source from the content-addressed store, hash-verified

35}
36
37function statusIcon(state: McpServerState): string {
38 switch (state.status) {
39 case "connected":
40 return "✓"
41 case "connecting":
42 return "⋯"
43 case "failed":
44 return "✗"
45 case "needs-auth":
46 return "△"
47 case "disabled":
48 return "○"
49 }
50}
51
52/** Build the action list for a server based on its current state. */
53function buildActions(state: McpServerState): string[] {

Callers 2

McpPickerFunction · 0.85
DetailPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected