Skip to content
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

mcp: support workspace folder-level servers #244066

Merged
merged 3 commits into from
Mar 20, 2025
Merged

Conversation

connor4312
Copy link
Member

Rationalizes some of our workspace vs workspace folder handling. Both
should now work, and this adds proper support for workspace folder-level
servers (detectable where previously resolving ${workspaceFolder}
would not work, mcp servers would only be found in the 1st folder, etc).

MCP servers defined in a workspace folder are rooted to that single
folder instead of seeing the entire workspace. #244064 for more future
discussion there.

Fixes #244029

Rationalizes some of our workspace vs workspace folder handling. Both
should now work, and this adds proper support for workspace folder-level
servers (detectable where previously resolving `${workspaceFolder}`
would not work, mcp servers would only be found in the 1st folder, etc).

MCP servers defined in a workspace folder are `root`ed to that single
folder instead of seeing the entire workspace. #244064 for more future
discussion there.

Fixes #244029
@connor4312 connor4312 self-assigned this Mar 20, 2025
@connor4312 connor4312 enabled auto-merge (squash) March 20, 2025 00:29
@vs-code-engineering vs-code-engineering bot added this to the March 2025 milestone Mar 20, 2025
roblourens
roblourens previously approved these changes Mar 20, 2025
@connor4312 connor4312 merged commit 7f47dc0 into main Mar 20, 2025
8 checks passed
@connor4312 connor4312 deleted the connor4312/issue244029 branch March 20, 2025 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support workspace folder-level MCP servers
3 participants