Home / Servers / DigitalOcean API / harness_list_config_sessions
List the sessions created from one Environment Config.
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
List the sessions created from one Environment Config. Enumerates the caller's team sessions whose session was created from this durable Environment Config. Keyset-paginated on an opaque cursor, newest first, same shape and status semantics as GET… [GET /v2/agents/configs/{config_id}/sessions]
Name on the gateway: digitalocean_api__harness_list_config_sessions · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
config_id required | string | The Environment Config UUID. |
page_size | integer | Page size. Defaults to 50 when omitted or non-positive; values above 200 are… |
page_token | string | Opaque keyset cursor returned by the previous page. Empty starts from the… |
status | SESSION_STATUS_UNSPECIFIED | SESSION_STATUS_PROVISIONING | SESSION_STATUS_READY | SESSION_STATUS_DETACHED | SESSION_STATUS_DESTROYING | SESSION_STATUS_DESTROYED | SESSION_STATUS_FAILED | SESSION_STATUS_PAUSED | SESSION_STATUS_ALL | Optional filter on session status. Empty / SESSION_STATUS_UNSPECIFIED still… |
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__harness_list_config_sessions",
"arguments": {
"config_id": "…"
}
}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 the sessions created from one environment config. tool with config_id set to ….