MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / getServer

Function getServer

src/server/server-state.ts:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3let serverInstance: McpServer | undefined;
4
5export function getServer(): McpServer | undefined {
6 return serverInstance;
7}
8
9export function setServer(server: McpServer): void {
10 serverInstance = server;

Callers 2

createBridgeToolExecutorFunction · 0.90
createServerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected