Home / Servers / DigitalOcean API / databases_add_user
Add a Database User
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Add a Database User To add a new database user, send a POST request to /v2/databases/$DATABASE_ID/users with the desired username. Note: User management is not supported for Caching or Valkey clusters. When adding a… [POST /v2/databases/{database_cluster_uuid}/users]
Name on the gateway: digitalocean_api__databases_add_user · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
database_cluster_uuid required | string | A unique identifier for a database cluster. |
name required | string | The name of a database user. |
role | primary | normal | A string representing the database user's role. The value will be either… |
password | string | A randomly generated password for the database user. Requires… |
access_cert | string | Access certificate for TLS client authentication. (Kafka only) |
access_key | string | Access key for TLS client authentication. (Kafka only) |
mysql_settings | object | |
settings | object | |
readonly | boolean | (To be deprecated: use settings.mongo_user_settings.role instead for access… |
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_add_user",
"arguments": {
"database_cluster_uuid": "…",
"name": "…"
}
}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 add a database user tool with database_cluster_uuid set to ….