Home / Servers / DigitalOcean API / apps_get_logs_active_deployment
Retrieve Active Deployment Logs
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Retrieve Active Deployment Logs Retrieve the logs of the active deployment if one exists. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment. Note… [GET /v2/apps/{app_id}/components/{component_name}/logs]
Name on the gateway: digitalocean_api__apps_get_logs_active_deployment · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
app_id required | string | The app ID |
component_name required | string | An optional component name. If set, logs will be limited… |
follow | boolean | Whether the logs should follow live updates. |
type required | UNSPECIFIED | BUILD | DEPLOY | RUN | RUN_RESTARTED | AUTOSCALE_EVENT | The type of logs to retrieve - BUILD: Build-time logs - DEPLOY: Deploy-time… |
pod_connection_timeout | string | An optional time duration to wait if the underlying component instance is not… |
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__apps_get_logs_active_deployment",
"arguments": {
"app_id": "…",
"component_name": "…",
"type": "…"
}
}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 retrieve active deployment logs tool with app_id set to ….