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

Function cbm_cypher_max_depth

src/foundation/limits.c:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46int cbm_cypher_max_depth(void) {
47 /* 10 — generous for a code call/def graph; an explicit `*1..N` above this is
48 * WARN-capped, never an unbounded (cyclic-graph DoS) traversal. */
49 return env_positive_int("CBM_CYPHER_MAX_DEPTH", 10);
50}
51
52int cbm_mcp_max_depth(void) {
53 /* 15 — ceiling for client-driven MCP graph traversals (trace_call_path,

Callers 1

expand_var_lengthFunction · 0.85

Calls 1

env_positive_intFunction · 0.85

Tested by

no test coverage detected