-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
Description:
I am able to run the MongoDB MCP server tools and connect to MongoDB successfully in standalone mode via port forwarding. However, when I try to query the database through the Chainlit application, neither the database nor the MCP server tools are connecting.
Steps to Reproduce:
1.Start MongoDB MCP server tools using the standard commands.
2. Confirm that tools load correctly and list available functions.

- Connect to MongoDB using mongosh CLI:npx -y mongosh "mongodb://:@:/?authSource=admin"
- Connection succeeds, MongoDB is accessible via CLI.

- Attempt to query the same database via the Chainlit application.
- The application fails to connect to MongoDB and MCP server tools.
Expected Behavior:
The Chainlit application should be able to connect to MongoDB and the MCP server tools just like in standalone mode.
Actual Behavior:
Connection fails when using the Chainlit application.
Metadata
Metadata
Assignees
Labels
No labels