fix(den): recover imported MCP authentication setup - #2851
Merged
reachjalil merged 4 commits intoJul 16, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Contributor
|
@reachjalil is attempting to deploy a commit to the Different AI Team on Vercel. A member of the Team first needs to authorize it. |
reachjalil
force-pushed
the
feature/connect-import-auth-recovery
branch
from
July 16, 2026 19:17
4f48baa to
22befe9
Compare
Collaborator
Author
reachjalil
marked this pull request as ready for review
July 16, 2026 22:10
This was referenced Jul 16, 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
This PR repairs MCP connections imported through plugins/chat without moving provider-specific behavior into the import path.
connected.connectedAt.Root cause
The GitHub/chat import accepted one authentication choice for every selected MCP. That choice could override a plugin's declared OAuth requirement. The no-auth path then wrote
connectedAtwithout contacting the MCP endpoint.The UI could partially mask this state, but server-side readiness and capability lookup still trusted the stale stored authentication type. That allowed a misclassified connection to appear usable and left administrators and members without a reliable recovery path.
End state
authTypeMismatchwithrequiredAuthType.Relationship to #2853
tools/listpage.Security and data boundaries
Validation
Branch head:
bd52b98ea, based onupstream/devat55033420.git diff --checkpassed.needs_connectionwithout calling the provider.SHIFT_HANDOFF_READY.bd52b98ea: Den API, Den Web, and inference builds; Linux and macOS test matrices; Helm validation; and i18n audit.Reviewer flow
Not run / external limits