provision_mongodb
Provision a MongoDB Atlas cluster with a database and user, supporting free tier (M0) through dedicated clusters. Requires MongoDB Atlas API keys.
Instructions
Create a MongoDB Atlas cluster with database and user. Supports free tier (M0) through dedicated clusters. Requires MongoDB Atlas API keys (public + private).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Cluster tier: M0 (free), M2, M5, M10, M20, M30... | M0 |
| orgId | Yes | MongoDB Atlas Organization ID | |
| dbName | No | Initial database name | main |
| dbUser | No | Database username to create | app_user |
| region | No | Region (e.g., US_EAST_1, EU_WEST_1, AP_SOUTHEAST_1) | US_EAST_1 |
| provider | No | Cloud provider: AWS, GCP, AZURE | AWS |
| publicKey | Yes | MongoDB Atlas public API key (Organization Access Manager > API Keys) | |
| dbPassword | No | Database password (auto-generated if not provided) | |
| ipAllowAll | No | Allow connections from any IP (0.0.0.0/0) - NOT recommended for production | |
| privateKey | Yes | MongoDB Atlas private API key | |
| clusterName | Yes | Name for the cluster | |
| ipWhitelist | No | List of IPs to whitelist (e.g., ['1.2.3.4/32']) | |
| projectName | Yes | Name for the Atlas project |