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

Function cbm_remove_codex_legacy_mcp

src/cli/cli.c:3876–3879  ·  view source on GitHub ↗

Remove the unmarked section emitted by releases before managed TOML blocks. * Managed configurations are left to config_toml_edit so marker validation * remains fail-closed. */

Source from the content-addressed store, hash-verified

3874 * Managed configurations are left to config_toml_edit so marker validation
3875 * remains fail-closed. */
3876static int cbm_remove_codex_legacy_mcp(const char *config_path) {
3877 return cbm_toml_remove_legacy_table(config_path, CODEX_CMM_TABLE, CODEX_MCP_BEGIN,
3878 CODEX_MCP_END);
3879}
3880
3881int cbm_upsert_codex_mcp(const char *binary_path, const char *config_path) {
3882 if (!binary_path || !config_path) {

Callers 2

cbm_upsert_codex_mcpFunction · 0.85
cbm_remove_codex_mcpFunction · 0.85

Calls 1

Tested by

no test coverage detected