Skip to content

Commit 9ccae64

Browse files
committed
feat: Add VSCode MCP scope support
- Add 'vscode' as a new server source type alongside 'global' and 'project' - Implement VS Code settings discovery logic in McpHub - Read from both 'mcpServers' and 'github.copilot.agent.mcpServers' configurations - Add precedence logic (Project > VSCode > Global) - Update UI components to display VSCode-sourced servers with badges - Mark VSCode servers as read-only (cannot be edited/deleted) - Allow enable/disable functionality for VSCode servers - Update TypeScript types to support the new source - Add comprehensive tests for VSCode MCP scope functionality Fixes #8097
1 parent a255c95 commit 9ccae64

File tree

9 files changed

+504
-90
lines changed

9 files changed

+504
-90
lines changed

src/i18n/locales/en/mcp.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"disconnect_servers_partial": "Failed to disconnect {{count}} MCP server(s). Check the output for details.",
1212
"toolNotFound": "Tool '{{toolName}}' does not exist on server '{{serverName}}'. Available tools: {{availableTools}}",
1313
"serverNotFound": "MCP server '{{serverName}}' is not configured. Available servers: {{availableServers}}",
14-
"toolDisabled": "Tool '{{toolName}}' on server '{{serverName}}' is disabled. Available enabled tools: {{availableTools}}"
14+
"toolDisabled": "Tool '{{toolName}}' on server '{{serverName}}' is disabled. Available enabled tools: {{availableTools}}",
15+
"vscode_servers_readonly": "VSCode MCP servers are managed by VS Code and cannot be modified from Roo. Please edit them in VS Code settings."
1516
},
1617
"info": {
1718
"server_restarting": "Restarting {{serverName}} MCP server...",

0 commit comments

Comments
 (0)