Heavy, opt-in repository intelligence for engine development and serious architecture work.
Run /cbm in the SBDT prompt. This starts the local binary from:
tools/codebase-memory-mcp.exe
The versioned source-folder locations are also accepted:
tools/codebase-memory-mcp-0.9.0/build/c/codebase-memory-mcp.exe
The source checkout is not required at runtime when the direct tools/ binary is used.
The binary must already be built locally. SBDT does not download, build, or start it automatically.
After /cbm, call the exposed tools directly. Typical order:
index_repositorywithrepo_pathset to the repository root.index_statusto check indexing.search_graph,trace_path, orget_code_snippetfor targeted investigation.get_architecturefor a high-level view.
Use it only when graph-level code understanding is worth the indexing cost; normal prompts keep it disconnected.