Home / Servers / DigitalOcean API / security_list_secrets

List Secrets

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

List Secrets To list secrets across all configured regions, send a GET request to /v2/security/secrets. The response includes secret metadata only. Secret values are not returned. Use name to return secrets… [GET /v2/security/secrets]

Name on the gateway: digitalocean_api__security_list_secrets · read-only.

Parameters

NameTypeDescription
per_pageintegerNumber of items returned per page
pageintegerWhich 'page' of paginated results to return.
include_deletedbooleanWhether to include secrets that are pending deletion.
namestringOnly return secrets whose names start with this value.

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:

call_tool arguments
{
  "name": "digitalocean_api__security_list_secrets",
  "arguments": {}
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
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 list secrets tool with per_page set to ….

More from DigitalOcean API