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

Function readDebugDefault

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

Source from the content-addressed store, hash-verified

174};
175
176const readDebugDefault = (): boolean => {
177 if (typeof process === "undefined" || !process.env) return false;
178 const value = process.env.EXECUTOR_MCP_DEBUG;
179 return value === "1" || value === "true";
180};
181
182const capabilitySnapshot = (server: McpServer) => ({
183 clientCapabilities: server.server.getClientCapabilities() ?? null,

Callers 1

createExecutorMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected