| 3783 | } |
| 3784 | |
| 3785 | int cbm_remove_junie_mcp_owned(const char *binary_path, const char *config_path) { |
| 3786 | static const char *const path[] = {"mcpServers"}; |
| 3787 | int result = CLI_OK; |
| 3788 | if (cbm_remove_json_named_mcp(config_path, path, 1U, CBM_JSON_MCP_STANDARD, |
| 3789 | CBM_DEFAULT_MCP_SERVER_NAME, NULL, binary_path) != CLI_OK) { |
| 3790 | result = CLI_ERR; |
| 3791 | } |
| 3792 | if (cbm_remove_json_named_mcp(config_path, path, 1U, CBM_JSON_MCP_STANDARD, |
| 3793 | CBM_SCOUT_MCP_SERVER_NAME, CBM_SCOUT_PROFILE_ARGUMENT, |
| 3794 | binary_path) != CLI_OK) { |
| 3795 | result = CLI_ERR; |
| 3796 | } |
| 3797 | if (cbm_remove_json_named_mcp(config_path, path, 1U, CBM_JSON_MCP_STANDARD, |
| 3798 | CBM_ANALYSIS_MCP_SERVER_NAME, CBM_ANALYSIS_PROFILE_ARGUMENT, |
| 3799 | binary_path) != CLI_OK) { |
| 3800 | result = CLI_ERR; |
| 3801 | } |
| 3802 | return result; |
| 3803 | } |
| 3804 | |
| 3805 | /* ── Mistral Vibe MCP config (TOML array tables) ─────────────── */ |
| 3806 |
no test coverage detected