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
| Name | Type | Description |
|---|---|---|
provider | string | Optional provider slug, matched exactly. |
user_id | string | Optional substring of user_id. It must use the user_id alphabet, [A-Za-z0-9._-]. |
status | pending | active | expired | pending|active|revoked|expired. List results always omit revoked connections… |
sort | created_at | provider | user_id | status | created_at, provider, user_id, or status. Defaults to provider, then user_id. |
sort_direction | asc | desc | asc (the default) or desc. |
page | integer | 1-based page number. Values below 1 are treated as 1. |
per_page | integer | Page 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:
{
"name": "digitalocean_api__connections_list",
"arguments": {}
}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 list connections tool with provider set to ….