Keep MCP project selection optional - #150
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
masnwilliams
self-requested a review
August 10, 2026 15:50
masnwilliams
approved these changes
Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
project_idTests
bun testbunx tsc --noEmitbun run check:managed-auth-appbun run format:checkcontinues to report the pre-existing formatting issue inAGENTS.md.Note
Medium Risk
Changes how org-wide connections scope Kernel API calls (undefined vs forced project), which can alter list/create behavior for agents that relied on the previous required
project_iderror.Overview
Organization-wide MCP connections no longer require
project_idon project-scoped tools. Omitting it forwardsundefinedto the Kernel client so reads can stay org-wide and creates follow the API’s default-project behavior; passingproject_idstill selects a project explicitly.get_connection_contextnow always reportsproject_id_required: falseand its description/README guidance reflect optional selection on org-wide connections. Project-scoped connections are unchanged—they still resolve to the fixed project and reject mismatched overrides.Tests cover unscoped org-wide calls (e.g.
manage_auth_connectionslist withoutproject_id).Reviewed by Cursor Bugbot for commit e7d9477. Bugbot is set up for automated code reviews on this repo. Configure here.