Home / Servers / DigitalOcean API / connections_list

List Connections

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

List Connections Returns the connections you can see, excluding revoked ones. Offset-paged with page and per_page; filter by provider, user_id, and status. [GET /v2/action-gateway/connections]

Name on the gateway: digitalocean_api__connections_list · read-only.

Parameters

NameTypeDescription
providerstringOptional provider slug, matched exactly.
user_idstringOptional substring of user_id. It must use the user_id alphabet, [A-Za-z0-9._-].
statuspending | active | expiredpending|active|revoked|expired. List results always omit revoked connections…
sortcreated_at | provider | user_id | statuscreated_at, provider, user_id, or status. Defaults to provider, then user_id.
sort_directionasc | descasc (the default) or desc.
pageinteger1-based page number. Values below 1 are treated as 1.
per_pageintegerPage size. Defaults to 20; values above 100 are capped at 100.

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__connections_list",
  "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 connections tool with provider set to ….

More from DigitalOcean API