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

Function readDebugDefault

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

Source from the content-addressed store, hash-verified

332};
333
334const readDebugDefault = (): boolean => {
335 if (typeof process === "undefined" || !process.env) return false;
336 const value = process.env.EXECUTOR_MCP_DEBUG;
337 return value === "1" || value === "true";
338};
339
340const capabilitySnapshot = (server: McpServer) => ({
341 clientCapabilities: server.server.getClientCapabilities() ?? null,

Callers 1

createExecutorMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected