Category: NoSQL Status: base
Connects to a MongoDB document database. Supports browsing collections, running queries, and exporting data.
| Field | Default | Description |
|---|---|---|
| host | localhost | MongoDB server hostname or IP |
| port | 27017 | TCP port |
| user | (empty) | Username |
| password | (empty) | Password (1–1024 chars, no spaces/quotes) |
| dbname | (empty) | Database name |
| authdbname | admin | Authentication database |
| authentication | local | local or atlas |
| app_name | (empty) | Application name for logging |
| url | (empty) | Full MongoDB URI (overrides all above fields) |
Two modes:
- local — standard MongoDB credentials against authdbname
- atlas — MongoDB Atlas connection string URI
Requires the motor Python package:
pip install motor