Skip to content

chore: Enable proxy for OIDC and MongoDB connections MCP-88 #405

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

Merged
merged 3 commits into from
Jul 28, 2025

Conversation

kmruiz
Copy link
Collaborator

@kmruiz kmruiz commented Jul 28, 2025

Proposed changes

By providing { useEnvironmentVariableProxies: true } the NodeDriverServiceProvider already reads the relevant environment variables and sets up the proxy internally.

This is as specified in the section Setting up the proxy for NodeDriverServiceProvider (MongoDB + OIDC) from the Technical Design.

Checklist

By providing { useEnvironmentVariableProxies: true }
the NodeDriverServiceProvider already reads the relevant
environment variables and sets up the proxy internally.
@kmruiz kmruiz requested a review from a team as a code owner July 28, 2025 12:00
@kmruiz kmruiz changed the title chore: Enable proxy for OIDC and MongoDB connections chore: Enable proxy for OIDC and MongoDB connections MCP-88 Jul 28, 2025
@coveralls
Copy link
Collaborator

coveralls commented Jul 28, 2025

Pull Request Test Coverage Report for Build 16571265217

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • 8 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 80.344%

Files with Coverage Reduction New Missed Lines %
src/tools/atlas/connect/connectCluster.ts 8 70.93%
Totals Coverage Status
Change from base Build 16520582188: -0.1%
Covered Lines: 3104
Relevant Lines: 3827

💛 - Coveralls

Copy link
Collaborator

@blva blva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

kmruiz added 2 commits July 28, 2025 15:58
Mentioning that it supports the same behaviour as mongosh.
@kmruiz kmruiz enabled auto-merge (squash) July 28, 2025 14:07
@fmenezes
Copy link
Collaborator

fmenezes commented Jul 28, 2025

@kmruiz does this need to be in a feature branch? does it need other PRs to become feature complete? (not blocking just wondering)

Note: looking at the code seems self contained enough.

@kmruiz kmruiz merged commit e85fe91 into main Jul 28, 2025
17 checks passed
@kmruiz kmruiz deleted the chore/mcp-88 branch July 28, 2025 14:12
@kmruiz
Copy link
Collaborator Author

kmruiz commented Jul 28, 2025

@fmenezes The auto-merged did it's work too early :D.

It's self-contained, it can be even released if we want to.

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.

4 participants