Commit 9ccae64
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 #80971 parent a255c95 commit 9ccae64
File tree
9 files changed
+504
-90
lines changed- src
- i18n/locales/en
- services/mcp
- __tests__
- webview-ui/src/components
- chat
- mcp
9 files changed
+504
-90
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments