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

Function readDebugDefault

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

Source from the content-addressed store, hash-verified

135};
136
137const readDebugDefault = (): boolean => {
138 if (typeof process === "undefined" || !process.env) return false;
139 const value = process.env.EXECUTOR_MCP_DEBUG;
140 return value === "1" || value === "true";
141};
142
143const capabilitySnapshot = (server: McpServer) => ({
144 clientCapabilities: server.server.getClientCapabilities() ?? null,

Callers 1

createExecutorMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected