What you can do
Once connected, DinoAI can explore your MongoDB instance on your behalf using the MongoDB Tools:- List the databases and collections in the connected instance.
- Infer a collection’s schema by sampling documents, and detect schema drift.
- Run read-only
find,count, and aggregation queries to understand your data. - Inspect collection indexes and database storage statistics.
The MongoDB Tools are available in DinoAI Copilot only. Queries are read-only: aggregation stages that mutate data or run server-side code (for example
$out, $merge, $function) are always rejected.Prerequisites
- A running MongoDB instance (self-hosted or MongoDB Atlas) reachable from Paradime.
- A MongoDB user with read access to the databases you want DinoAI to explore.
- Your MongoDB connection string.
Connect MongoDB to Paradime
Paradime connects to MongoDB through theMONGODB_CONNECTION_STRING environment variable. Once it is set, the MongoDB Tools become available to DinoAI automatically.
Step 1: Get your connection string
Use a standard MongoDB connection URI, including credentials:- Standard:
mongodb://<user>:<password>@<host>:<port>/ - Atlas / SRV:
mongodb+srv://<user>:<password>@<cluster>.mongodb.net/
Step 2: Add the environment variable in Paradime
AddMONGODB_CONNECTION_STRING as a Code IDE environment variable for your own sessions, or as a Workspace environment variable to share it across the workspace.
Once the variable is saved, ask DinoAI to list your MongoDB databases to confirm the connection.