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

Function readDebugDefault

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

Source from the content-addressed store, hash-verified

390};
391
392const readDebugDefault = (): boolean => {
393 if (typeof process === "undefined" || !process.env) return false;
394 const value = process.env.EXECUTOR_MCP_DEBUG;
395 return value === "1" || value === "true";
396};
397
398const capabilitySnapshot = (server: McpServer) => ({
399 clientCapabilities: server.server.getClientCapabilities() ?? null,

Callers 1

createExecutorMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected