create_database
ActiveTool of cloud.redu/mcp
Provisions a managed PostgreSQL database on a dedicated VM on your private network. It is PRIVATE — reachable only from another instance on the same private network, via the DB's internal/private IP (not a public address). Get the ids from list_flavors, list_private_networks, list_keypairs. Provisioning takes ~5 min; poll list_databases until status='ready', then the connection details (private_ip, port 5432, db_name, db_user) are populated.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"flavor_id",
"network_id",
"keypair_name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 63,
"minLength": 1,
"description": "Name for the managed database (lowercase letters, numbers, hyphens)."
},
"db_name": {
"type": "string",
"default": "app",
"maxLength": 63,
"minLength": 1,
"description": "The database to create (default 'app')."
},
"db_user": {
"type": "string",
"default": "appuser",
"maxLength": 63,
"minLength": 1,
"description": "The database user (default 'appuser')."
},
"version": {
"enum": [
"16",
"15",
"14"
],
"type": "string",
"default": "16",
"description": "Postgres major version (default 16)."
},
"flavor_id": {
"type": "string",
"minLength": 1,
"description": "Instance size for the DB VM — from list_flavors."
},
"superuser": {
"type": "boolean",
"description": "Grant the db user SUPERUSER — safe here (a dedicated single-tenant DB VM). Use when the app's own migrations must CREATE EXTENSION or alter roles."
},
"extensions": {
"type": "array",
"items": {
"enum": [
"vector",
"pgvector",
"postgis",
"pgaudit",
"pg_stat_statements",
"hstore",
"pg_trgm",
"uuid-ossp",
"citext",
"pgcrypto",
"ltree",
"btree_gin",
"btree_gist"
],
"type": "string"
},
"description": "Postgres extensions to pre-install at provision time (allowlisted): 'pgvector'/'vector' (embeddings), 'postgis' (geo), 'pgaudit', 'pg_trgm', 'pgcrypto', 'hstore', 'uuid-ossp', 'citext', 'ltree', 'pg_stat_statements', 'btree_gin', 'btree_gist'. Saves SSHing in to run CREATE EXTENSION; needed by apps like langfuse/lantern (pgvector)."
},
"network_id": {
"type": "string",
"minLength": 1,
"description": "Private network id — from list_private_networks. The DB is reachable only from this network."
},
"db_password": {
"type": "string",
"maxLength": 128,
"minLength": 8,
"description": "Password for the db user. Auto-generated and returned once if omitted."
},
"keypair_name": {
"type": "string",
"minLength": 1,
"description": "SSH keypair name — from list_keypairs (for operating the DB VM)."
},
"idempotency_key": {
"type": "string",
"minLength": 8
},
"security_group_names": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"default"
]
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
cloud.redu/mcp
1/7 registries