Home / Servers / DigitalOcean API / databases_create_replica
Create a Read-only Replica
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create a Read-only Replica To create a read-only replica for a PostgreSQL or MySQL database cluster, send a POST request to /v2/databases/$DATABASE_ID/replicas specifying the name it should be given, the size of the node to… [POST /v2/databases/{database_cluster_uuid}/replicas]
Name on the gateway: digitalocean_api__databases_create_replica · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
database_cluster_uuid required | string | A unique identifier for a database cluster. |
id | string | A unique ID that can be used to identify and reference a database replica. |
name required | string | The name to give the read-only replicating |
region | string | A slug identifier for the region where the read-only replica will be located.… |
size required | string | A slug identifier representing the size of the node for the read-only replica.… |
status | creating | online | resizing | migrating | forking | A string representing the current status of the database cluster. |
tags | array | A flat array of tag names as strings to apply to the read-only replica after… |
created_at | string | A time value given in ISO8601 combined date and time format that represents… |
private_network_uuid | string | A string specifying the UUID of the VPC to which the read-only replica will be… |
connection | object | |
private_connection | object | |
storage_size_mib | integer | Additional storage added to the cluster, in MiB. If null, no additional… |
do_settings | object | DigitalOcean-specific settings for the database cluster. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__databases_create_replica",
"arguments": {
"database_cluster_uuid": "…",
"name": "…",
"size": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a read-only replica tool with database_cluster_uuid set to ….