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

Function readDebugDefault

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

Source from the content-addressed store, hash-verified

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

Callers 1

createExecutorMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected