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

Function cbm_mcp_max_depth

src/foundation/limits.c:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

clamp_mcp_depthFunction · 0.85

Calls 1

env_positive_intFunction · 0.85

Tested by

no test coverage detected