Home / Servers / DigitalOcean API / security_create_secret
Create Secret
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create Secret To create a secret, send a POST request to /v2/security/secrets. Creating a secret that already exists in the same region returns a 409 response. [POST /v2/security/secrets]
Name on the gateway: digitalocean_api__security_create_secret · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | The name of the secret to create. |
region required | string | The region where the secret will be stored. |
values required | object | Key-value pairs to store in the secret. |
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__security_create_secret",
"arguments": {
"name": "…",
"region": "…",
"values": "…"
}
}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 secret tool with name set to ….