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