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

Function readDebugDefault

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

Source from the content-addressed store, hash-verified

306};
307
308const readDebugDefault = (): boolean => {
309 if (typeof process === "undefined" || !process.env) return false;
310 const value = process.env.EXECUTOR_MCP_DEBUG;
311 return value === "1" || value === "true";
312};
313
314const capabilitySnapshot = (server: McpServer) => ({
315 clientCapabilities: server.server.getClientCapabilities() ?? null,

Callers 1

createExecutorMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected