Create Managed Database
nexusai_managed_db_createCreate a standalone database, independent of any deployment, then attach it to apps. Use provider NEXUS_DOCKER for a database on NEXUS AI itself (Postgres or Redis, optional custom databaseName/username), or a cloud provider for a managed cloud instance. Paid plans only. Credentials are generated server-side and never returned through MCP. View them in the authenticated NEXUS AI dashboard. Provisioning is async; poll status until AVAILABLE before attaching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Slug, 3-63 lowercase chars/digits/hyphens. | |
| engine | Yes | REDIS is NEXUS_DOCKER only; MYSQL is cloud only. | |
| region | No | Cloud only. Defaults to the org default region. | |
| provider | No | NEXUS_DOCKER = runs on NEXUS AI (local, attachable to LOCAL_DOCKER apps on the primary host). Default AWS_RDS. GCP uses the org's Cloud Run credentials; AZURE is always private (VNet). | |
| username | No | NEXUS_DOCKER only. Postgres owner (default nexusadmin) or optional Redis ACL username. | |
| allocatedGb | No | Cloud only. Storage in GB (20-1000, default 20). | |
| displayName | No | ||
| networkMode | No | AWS only. "vpc" = private RDS reachable only from the App Runner VPC connector; "public" (default) = public endpoint + CIDR allowlist. Not applicable to NEXUS_DOCKER. | |
| databaseName | No | NEXUS_DOCKER Postgres only. Initial database name (default appdb); lowercase letters, digits, underscores. | |
| engineVersion | No | Cloud: required, e.g. "17.10" (postgres) / "8.0.46" (mysql) for AWS; "16"/"8.0" for GCP. NEXUS_DOCKER: optional, one of 17/16/15 (postgres) or 7 (redis), newest by default. | |
| instanceClass | No | Cloud only. AWS e.g. db.t3.micro; GCP e.g. db-custom-1-3840. |