| 3860 | } |
| 3861 | |
| 3862 | int cbm_remove_junie_mcp_owned(const char *binary_path, const char *config_path) { |
| 3863 | static const char *const path[] = {"mcpServers"}; |
| 3864 | int result = CLI_OK; |
| 3865 | if (cbm_remove_json_named_mcp(config_path, path, 1U, CBM_JSON_MCP_STANDARD, |
| 3866 | CBM_DEFAULT_MCP_SERVER_NAME, NULL, binary_path) != CLI_OK) { |
| 3867 | result = CLI_ERR; |
| 3868 | } |
| 3869 | if (cbm_remove_json_named_mcp(config_path, path, 1U, CBM_JSON_MCP_STANDARD, |
| 3870 | CBM_SCOUT_MCP_SERVER_NAME, CBM_SCOUT_PROFILE_ARGUMENT, |
| 3871 | binary_path) != CLI_OK) { |
| 3872 | result = CLI_ERR; |
| 3873 | } |
| 3874 | if (cbm_remove_json_named_mcp(config_path, path, 1U, CBM_JSON_MCP_STANDARD, |
| 3875 | CBM_ANALYSIS_MCP_SERVER_NAME, CBM_ANALYSIS_PROFILE_ARGUMENT, |
| 3876 | binary_path) != CLI_OK) { |
| 3877 | result = CLI_ERR; |
| 3878 | } |
| 3879 | return result; |
| 3880 | } |
| 3881 | |
| 3882 | /* ── Mistral Vibe MCP config (TOML array tables) ─────────────── */ |
| 3883 |
no test coverage detected