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. */
| 4519 | * byte-identical, because a second [mcp_servers.codebase-memory-mcp] header |
| 4520 | * would make Grok reject the whole config.toml. */ |
| 4521 | static 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 | |
| 4525 | static int cbm_upsert_grok_mcp(const char *binary_path, const char *config_path) { |
| 4526 | if (!binary_path || !config_path) { |
no test coverage detected