Roo-Code/src
MuriloFP ef95562dfe fix: ensure MCP server list appears in settings when server starts first
When the MCP server was initialized before opening RooCode, the server list
would not appear in the settings. This was fixed by:

1. Adding proper server list initialization in ClineProvider.ts when the
   webview launches, checking if mcpHub exists and sending its current
   servers to the webview:

   ```typescript
   if (this.mcpHub) {
     this.postMessageToWebview({
       type: "mcpServers",
       mcpServers: this.mcpHub.getServers()
     })
   }
   ```

2. Using the public getServers() method from McpHub instead of relying on
   internal state updates, ensuring consistent server list state across
   the application.

The fix maintains clean separation of concerns and follows existing patterns
for state management between the extension and webview.
2025-02-07 16:57:21 -03:00
..
__mocks__ Fix tests 2025-02-01 12:21:13 -05:00
activate add user input 2025-02-06 10:48:34 +07:00
api Prevent provider client instantiations from throwing 2025-02-07 03:06:01 -08:00
core fix: ensure MCP server list appears in settings when server starts first 2025-02-07 16:57:21 -03:00
exports fix: correct VSCode URI 2025-01-15 08:24:21 +11:00
integrations feat: add terminal integration commands 2025-02-06 10:27:12 +07:00
services fix: Implement singleton pattern for MCP server management to prevent multiple instances 2025-02-07 15:51:30 -03:00
shared Merge pull request #807 from samhvw8/feat/terminal-menu-context 2025-02-05 23:41:32 -05:00
test Fall back to js bundle when local webview app not running in development 2025-02-03 09:19:52 -08:00
utils Safer profile path check 2025-02-04 23:59:36 -05:00
extension.ts fix: Implement singleton pattern for MCP server management to prevent multiple instances 2025-02-07 15:51:30 -03:00