MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_mcp_max_depth

Function cbm_mcp_max_depth

src/foundation/limits.c:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53int cbm_mcp_max_depth(void) {
54 /* 15 — ceiling for client-driven MCP graph traversals (trace_call_path,
55 * detect_changes); the caller's `depth` is WARN-clamped to this. */
56 return env_positive_int("CBM_MCP_MAX_DEPTH", 15);
57}

Callers 1

clamp_mcp_depthFunction · 0.85

Calls 1

env_positive_intFunction · 0.85

Tested by

no test coverage detected