Skip to content

Conversation

himanshusinghs
Copy link
Contributor

Description

In this PR we're introducing a VSCode specific connection error handler to handle connection related errors and provide VSCode specific guidance on how to resolve them.

This depends on error handler interface PR in mongodb-mcp-server.

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@himanshusinghs himanshusinghs requested a review from a team as a code owner September 2, 2025 19:45
Copy link
Contributor

@nirinchev nirinchev left a comment

Choose a reason for hiding this comment

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

Looks good, a few nits from me. We should take a look at the test failures before we merge.

Comment on lines +8 to +11
connectionController: Pick<
ConnectionController,
'getSavedConnections' | 'getActiveConnectionName'
>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the pick here - why not just get the complete controller?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because the code does not really depend on anything more than the required methods and the consuming side shouldn't have to be bound to pass anything more than the required methods?

Base automatically changed from chore/MCP-131-vscode-connection-manager to feat/mcp-integration September 3, 2025 12:16
@himanshusinghs himanshusinghs force-pushed the chore/MCP-132-vscode-connection-error-handler branch from 69a8b0c to 5ef220b Compare September 3, 2025 12:17
@himanshusinghs himanshusinghs merged commit e77b1f3 into feat/mcp-integration Sep 3, 2025
4 of 5 checks passed
@himanshusinghs himanshusinghs deleted the chore/MCP-132-vscode-connection-error-handler branch September 3, 2025 12:30
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.

2 participants