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

Function cbm_cypher_max_depth

src/foundation/limits.c:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47int cbm_cypher_max_depth(void) {
48 /* 10 — generous for a code call/def graph; an explicit `*1..N` above this is
49 * WARN-capped, never an unbounded (cyclic-graph DoS) traversal. */
50 return env_positive_int("CBM_CYPHER_MAX_DEPTH", 10);
51}
52
53int cbm_mcp_max_depth(void) {
54 /* 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