Skip to content

Feature: Support VS Code user-profile mcp.json for --global scope #793

@sergio-sisternes-epam

Description

@sergio-sisternes-epam

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

  1. Investigate the correct user-profile MCP configuration path for VS Code (varies by platform: Linux, macOS, Windows).
  2. Add a user_scope_config_path property (or similar) to VSCodeClientAdapter that returns the user-level config path.
  3. Set supports_user_scope = True on VSCodeClientAdapter once the user-profile path is implemented.
  4. Add tests for the new behavior.

Context

Labels

enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions