-
Type:
Investigation
-
Resolution: Gone away
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Not Needed
-
Developer Tools
For OIDC the connection flow is async: the MCP Server is released while the driver is connecting. For other types of connections, the flow is completely synchronous, the MCP Server waits until the driver connects successfully to the MongoDB Cluster.
This is not an issue per se, it complicates the code a bit because the flows are different, but it can affect the user experience of users connecting to a cluster with non-OIDC credentials and there is a long timeout.
We can fix this by making all flows equal, but we would need to investigate if this can affect negatively how the agent handles the connection status.