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

Function cbm_remove_grok_legacy_mcp

src/cli/cli.c:4521–4523  ·  view source on GitHub ↗

A pre-marker table with the known owned shape (what `grok mcp add` writes * for this binary) is adopted; any other same-name table is foreign and left * byte-identical, because a second [mcp_servers.codebase-memory-mcp] header * would make Grok reject the whole config.toml. */

Source from the content-addressed store, hash-verified

4519 * byte-identical, because a second [mcp_servers.codebase-memory-mcp] header
4520 * would make Grok reject the whole config.toml. */
4521static int cbm_remove_grok_legacy_mcp(const char *config_path) {
4522 return cbm_toml_remove_legacy_table(config_path, GROK_CMM_TABLE, GROK_MCP_BEGIN, GROK_MCP_END);
4523}
4524
4525static int cbm_upsert_grok_mcp(const char *binary_path, const char *config_path) {
4526 if (!binary_path || !config_path) {

Callers 2

cbm_upsert_grok_mcpFunction · 0.85

Calls 1

Tested by

no test coverage detected