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

Function cbm_remove_grok_mcp_owned

src/cli/cli.c:4548–4556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4546}
4547
4548static int cbm_remove_grok_mcp_owned(const char *binary_path, const char *config_path) {
4549 (void)binary_path;
4550 if (!config_path ||
4551 cbm_toml_remove_managed_block_owned(config_path, GROK_MCP_BEGIN, GROK_MCP_END,
4552 GROK_CMM_SECTION "\n") != 0) {
4553 return CLI_ERR;
4554 }
4555 return cbm_remove_grok_legacy_mcp(config_path) >= 0 ? CLI_OK : CLI_ERR;
4556}
4557
4558/* ── Claude Code pre-tool hooks ───────────────────────────────── */
4559

Callers

nothing calls this directly

Tested by

no test coverage detected