Summary
Issue #637 named VS Code user-profile mcp.json as in-scope for --global MCP installation. However, the implementation in PR #638 marks VS Code as workspace-only (supports_user_scope = False) because the current VS Code adapter only writes to .vscode/mcp.json (project-local).
VS Code does support a user-level MCP configuration path (e.g. ~/.config/Code/User/settings.json or the VS Code user-profile mcp.json), but the adapter does not currently implement this.
Proposed Change
- Investigate the correct user-profile MCP configuration path for VS Code (varies by platform: Linux, macOS, Windows).
- Add a
user_scope_config_path property (or similar) to VSCodeClientAdapter that returns the user-level config path.
- Set
supports_user_scope = True on VSCodeClientAdapter once the user-profile path is implemented.
- Add tests for the new behavior.
Context
Labels
enhancement
Summary
Issue #637 named VS Code user-profile
mcp.jsonas in-scope for--globalMCP installation. However, the implementation in PR #638 marks VS Code as workspace-only (supports_user_scope = False) because the current VS Code adapter only writes to.vscode/mcp.json(project-local).VS Code does support a user-level MCP configuration path (e.g.
~/.config/Code/User/settings.jsonor the VS Code user-profilemcp.json), but the adapter does not currently implement this.Proposed Change
user_scope_config_pathproperty (or similar) toVSCodeClientAdapterthat returns the user-level config path.supports_user_scope = TrueonVSCodeClientAdapteronce the user-profile path is implemented.Context
apm install --globalskips MCP server installation for all runtimes #637apm install --globalskipping MCP server installation #638 (marks VS Code as workspace-only as a pragmatic scope cut)~/.copilot/and~/.codex/respectively.Labels
enhancement