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

Method snapshot

src/mcp/manager.ts:252–257  ·  view source on GitHub ↗

Current snapshot for the TUI / status display.

()

Source from the content-addressed store, hash-verified

250
251 /** Current snapshot for the TUI / status display. */
252 snapshot(): McpSnapshot {
253 return {
254 servers: [...this.states.values()],
255 tools: [...this.connections.values()].flatMap((c) => c.tools),
256 }
257 }
258
259 /** Project-scope server names awaiting the user's approval. */
260 getPendingApproval(): string[] {

Callers 5

startMethod · 0.95
AppFunction · 0.95
McpPickerFunction · 0.80
refreshFunction · 0.80
deleteSelectedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected