fix(den): harden imported MCP connection recovery - #2864
Merged
reachjalil merged 1 commit 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-hardening
branch
from
July 16, 2026 22:22
c318c1e to
1285801
Compare
reachjalil
marked this pull request as ready for review
July 16, 2026 22:53
Contributor
|
Deployment failed with the following error: |
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 follow-up lands after #2853 and #2851 and closes the end-to-end review findings around imported MCP authentication recovery.
setupRequired,oauthClientConfigured, required/mismatched auth) without exposing the OAuth client ID to members.tools/listvalidation now runs only when tools are advertised.SecurityErrors.Why this is separate
#2853 established provider OAuth interoperability and #2851 added imported MCP authentication recovery. This PR is rebased on the merged #2851 commit and contains only the hardening and regression fixes found during the combined end-to-end review.
Verification
pnpm --filter @openwork/enterprise-mcp-client typecheckpnpm --filter @openwork/enterprise-mcp-client test— 42 passedpnpm --filter @openwork-ee/den-web typecheckpnpm --filter @openwork-ee/den-api exec tsc --noEmit --pretty falsemarketplace-mcp-readiness.test.tsmcp-oauth-callback-migration.test.tsmcp-authorization-url.test.tsenterprise-mcp-oauth-persistence.test.ts— 6 passedmcp-connections-edit.test.ts— 15 passedmarketplace-cloud-readiness.test.ts— 31 passedmcp-connections-required-by.test.ts— 2 passedmcp-connections-connect-start.test.ts— 15 passed0043_talented_meteorite.sqlto the isolated Den database.git diff --checkEnd-to-end behavior proved
scope=usablereturnsoauthClientConfigured: trueandsetupRequired: falsewithout returning the client ID, so members can reach Connect your account.tools/listrequest.Remaining external verification
Live consent and tool calls against third-party production tenants (for example Slack, Salesforce, Vercel, or Descript) were not run because they require provider accounts and registered OAuth applications. The generic protocol, persistence, callback, and readiness paths they use are covered by the focused mock-server and database-backed journeys above.