-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: Add Refresh MCP Servers capability, fix state changes in MCP server management UI view #4267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
61453a6
docs: update contributors list [skip ci]
taylorwilsdon fd5c1fc
add refresh all mcp button & supporting logic
taylorwilsdon f91cc5b
fully working, clean up debug
taylorwilsdon 3b2b5d7
begin cleanup
taylorwilsdon 34d28cb
console debug logging cleanup
taylorwilsdon ef16d37
more logging
taylorwilsdon 9ed7924
Merge pull request #1 from taylorwilsdon/update-contributors
taylorwilsdon d3b0121
Merge branch 'RooCodeInc:main' into main
taylorwilsdon 43e416a
Revert "Update contributors list"
taylorwilsdon e113f6f
Merge pull request #2 from taylorwilsdon/revert-1-update-contributors
taylorwilsdon 8c64d5f
Merge branch 'main' of github.com:taylorwilsdon/Roo-Code into refresh…
taylorwilsdon aeac9e4
cleanup
taylorwilsdon 8724b8d
add missing translations
taylorwilsdon 0d4292c
Merge branch 'RooCodeInc:main' into main
taylorwilsdon 23e39fa
Merge branch 'main' of github.com:taylorwilsdon/Roo-Code into refresh…
taylorwilsdon b3f680e
global and project level i18n strings
taylorwilsdon cdce3b0
refactor: move translations
daniel-lxs efe7363
fix: improve MCP settings buttons layout for responsive design
daniel-lxs c8d16ca
fix: Add missing vscode mock method and execa mock for McpHub tests
daniel-lxs 7cc5305
fix: watch changes on project mcp settings file
daniel-lxs fa8887f
Merge branch 'main' into refresh_mcp
mrubens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| const execa = jest.fn().mockResolvedValue({ | ||
| stdout: "", | ||
| stderr: "", | ||
| exitCode: 0, | ||
| failed: false, | ||
| killed: false, | ||
| signal: null, | ||
| timedOut: false, | ||
| }) | ||
|
|
||
| class ExecaError extends Error { | ||
| constructor(message) { | ||
| super(message) | ||
| this.name = "ExecaError" | ||
| this.exitCode = 1 | ||
| this.stdout = "" | ||
| this.stderr = message | ||
| this.failed = true | ||
| this.timedOut = false | ||
| this.isCanceled = false | ||
| this.killed = false | ||
| this.signal = null | ||
| } | ||
| } | ||
|
|
||
| module.exports = { | ||
| execa, | ||
| ExecaError, | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "errors": { | ||
| "invalid_settings_format": "Format JSON de configuració MCP no vàlid. Si us plau, assegura't que la teva configuració segueix el format JSON correcte.", | ||
| "invalid_settings_syntax": "Format JSON de configuració MCP no vàlid. Si us plau, comprova si hi ha errors de sintaxi al teu fitxer de configuració.", | ||
| "invalid_settings_validation": "Format de configuració MCP no vàlid: {{errorMessages}}", | ||
| "create_json": "Ha fallat la creació o obertura de .roo/mcp.json: {{error}}", | ||
| "failed_update_project": "Ha fallat l'actualització dels servidors MCP del projecte" | ||
| }, | ||
| "info": { | ||
| "server_restarting": "Reiniciant el servidor MCP {{serverName}}...", | ||
| "server_connected": "Servidor MCP {{serverName}} connectat", | ||
| "server_deleted": "Servidor MCP eliminat: {{serverName}}", | ||
| "server_not_found": "Servidor \"{{serverName}}\" no trobat a la configuració", | ||
| "global_servers_active": "Servidors MCP globals actius: {{mcpServers}}", | ||
| "project_servers_active": "Servidors MCP del projecte actius: {{mcpServers}}", | ||
| "already_refreshing": "Els servidors MCP ja s'estan actualitzant.", | ||
| "refreshing_all": "Actualitzant tots els servidors MCP...", | ||
| "all_refreshed": "Tots els servidors MCP han estat actualitzats." | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "errors": { | ||
| "invalid_settings_format": "Ungültiges MCP-Einstellungen-JSON-Format. Bitte stelle sicher, dass deine Einstellungen dem korrekten JSON-Format entsprechen.", | ||
| "invalid_settings_syntax": "Ungültiges MCP-Einstellungen-JSON-Format. Bitte überprüfe deine Einstellungsdatei auf Syntaxfehler.", | ||
| "invalid_settings_validation": "Ungültiges MCP-Einstellungen-Format: {{errorMessages}}", | ||
| "create_json": "Fehler beim Erstellen oder Öffnen von .roo/mcp.json: {{error}}", | ||
| "failed_update_project": "Fehler beim Aktualisieren der Projekt-MCP-Server" | ||
| }, | ||
| "info": { | ||
| "server_restarting": "MCP-Server {{serverName}} wird neu gestartet...", | ||
| "server_connected": "MCP-Server {{serverName}} verbunden", | ||
| "server_deleted": "MCP-Server gelöscht: {{serverName}}", | ||
| "server_not_found": "Server \"{{serverName}}\" nicht in der Konfiguration gefunden", | ||
| "global_servers_active": "Aktive globale MCP-Server: {{mcpServers}}", | ||
| "project_servers_active": "Aktive Projekt-MCP-Server: {{mcpServers}}", | ||
| "already_refreshing": "MCP-Server werden bereits aktualisiert.", | ||
| "refreshing_all": "Alle MCP-Server werden aktualisiert...", | ||
| "all_refreshed": "Alle MCP-Server wurden aktualisiert." | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "errors": { | ||
| "invalid_settings_format": "Invalid MCP settings JSON format. Please ensure your settings follow the correct JSON format.", | ||
| "invalid_settings_syntax": "Invalid MCP settings JSON format. Please check your settings file for syntax errors.", | ||
| "invalid_settings_validation": "Invalid MCP settings format: {{errorMessages}}", | ||
| "create_json": "Failed to create or open .roo/mcp.json: {{error}}", | ||
| "failed_update_project": "Failed to update project MCP servers" | ||
| }, | ||
| "info": { | ||
| "server_restarting": "Restarting {{serverName}} MCP server...", | ||
| "server_connected": "{{serverName}} MCP server connected", | ||
| "server_deleted": "Deleted MCP server: {{serverName}}", | ||
| "server_not_found": "Server \"{{serverName}}\" not found in configuration", | ||
| "global_servers_active": "Active Global MCP Servers: {{mcpServers}}", | ||
| "project_servers_active": "Active Project MCP Servers: {{mcpServers}}", | ||
| "already_refreshing": "MCP servers are already refreshing.", | ||
| "refreshing_all": "Refreshing all MCP servers...", | ||
| "all_refreshed": "All MCP servers have been refreshed." | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "errors": { | ||
| "invalid_settings_format": "Formato JSON de la configuración MCP no válido. Asegúrate de que tus ajustes sigan el formato JSON correcto.", | ||
| "invalid_settings_syntax": "Formato JSON de la configuración MCP no válido. Verifica si hay errores de sintaxis en tu archivo de configuración.", | ||
| "invalid_settings_validation": "Formato de configuración MCP no válido: {{errorMessages}}", | ||
| "create_json": "Error al crear o abrir .roo/mcp.json: {{error}}", | ||
| "failed_update_project": "Error al actualizar los servidores MCP del proyecto" | ||
| }, | ||
| "info": { | ||
| "server_restarting": "Reiniciando el servidor MCP {{serverName}}...", | ||
| "server_connected": "Servidor MCP {{serverName}} conectado", | ||
| "server_deleted": "Servidor MCP eliminado: {{serverName}}", | ||
| "server_not_found": "Servidor \"{{serverName}}\" no encontrado en la configuración", | ||
| "global_servers_active": "Servidores MCP globales activos: {{mcpServers}}", | ||
| "project_servers_active": "Servidores MCP del proyecto activos: {{mcpServers}}", | ||
| "already_refreshing": "Los servidores MCP ya se están actualizando.", | ||
| "refreshing_all": "Actualizando todos los servidores MCP...", | ||
| "all_refreshed": "Todos los servidores MCP han sido actualizados." | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "errors": { | ||
| "invalid_settings_format": "Format JSON des paramètres MCP invalide. Veuillez vous assurer que vos paramètres suivent le format JSON correct.", | ||
| "invalid_settings_syntax": "Format JSON des paramètres MCP invalide. Veuillez vérifier le syntaxe de votre fichier de paramètres.", | ||
| "invalid_settings_validation": "Format de paramètres MCP invalide : {{errorMessages}}", | ||
|
|
||
| "create_json": "Échec de la création ou de l'ouverture de .roo/mcp.json : {{error}}", | ||
| "failed_update_project": "Échec de la mise à jour des serveurs MCP du projet" | ||
| }, | ||
| "info": { | ||
| "server_restarting": "Redémarrage du serveur MCP {{serverName}}...", | ||
| "server_connected": "Serveur MCP {{serverName}} connecté", | ||
| "server_deleted": "Serveur MCP supprimé : {{serverName}}", | ||
| "server_not_found": "Serveur \"{{serverName}}\" introuvable dans la configuration", | ||
| "global_servers_active": "Serveurs MCP globaux actifs : {{mcpServers}}", | ||
| "project_servers_active": "Serveurs MCP de projet actifs : {{mcpServers}}", | ||
| "already_refreshing": "Les serveurs MCP sont déjà en cours de rafraîchissement.", | ||
| "refreshing_all": "Rafraîchissement de tous les serveurs MCP...", | ||
| "all_refreshed": "Tous les serveurs MCP ont été rafraîchis." | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.