MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / readDebugDefault

Function readDebugDefault

packages/hosts/mcp/src/tool-server.ts:321–325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

319};
320
321const readDebugDefault = (): boolean => {
322 if (typeof process === "undefined" || !process.env) return false;
323 const value = process.env.EXECUTOR_MCP_DEBUG;
324 return value === "1" || value === "true";
325};
326
327const capabilitySnapshot = (server: McpServer) => ({
328 clientCapabilities: server.server.getClientCapabilities() ?? null,

Callers 1

createExecutorMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected