You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b2a592f
Browse filesBrowse the repository at this point in the historyBrowse files
|`CBM_ALLOWED_ROOT`|*(unset)*| Restrict `index_repository` to paths within this directory. When set, a `repo_path` that resolves (after symlink / `..` resolution) outside this root is refused; unset imposes no restriction. Useful when the server may be driven by an untrusted caller, e.g. agentic or multi-tenant deployments. |
479
480
|`CBM_CACHE_DIR`|`~/.cache/codebase-memory-mcp`| Override the database storage directory. All project indexes and config are stored here. |
480
481
|`CBM_DIAGNOSTICS`|`false`| Set to `1` or `true` to enable periodic diagnostics output to `/tmp/cbm-diagnostics-<pid>.json`. |
481
482
|`CBM_DOWNLOAD_URL`|*(GitHub releases)*| Override the download URL for updates. Used for testing or self-hosted deployments. |
Copy file name to clipboardExpand all lines: docs/CONFIGURATION.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,7 @@ These environment variables affect runtime behavior:
110
110
111
111
| Variable | Default | Description |
112
112
|---|---|---|
113
+
|`CBM_ALLOWED_ROOT`|*(unset)*| Restrict `index_repository` to paths within this directory. When set, a `repo_path` that resolves (after symlink / `..` resolution) outside this root is refused; unset imposes no restriction. Useful when the server may be driven by an untrusted caller (agentic or multi-tenant deployments). |
113
114
|`CBM_CACHE_DIR`|`~/.cache/codebase-memory-mcp`| Override the cache directory used for indexes, `_config.db`, and UI `config.json`. |
114
115
|`CBM_DIAGNOSTICS`|`false`| Enable periodic diagnostics output to `/tmp/cbm-diagnostics-<pid>.json`. |
115
116
|`CBM_DOWNLOAD_URL`| GitHub releases | Override the update download URL. |
0 commit comments