MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / getSnapshot

Function getSnapshot

src/server/mcp-lifecycle.ts:418–425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

416 },
417
418 async getSnapshot(): Promise<McpLifecycleSnapshot> {
419 return buildMcpLifecycleSnapshot({
420 phase: state.phase,
421 shutdownReason: state.shutdownReason,
422 startedAtMs: state.startedAtMs,
423 commandExecutor: options.commandExecutor,
424 });
425 },
426
427 async shutdown(reason: McpShutdownReason, error?: unknown): Promise<void> {
428 if (state.shutdownPromise) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected