Home / Servers / DigitalOcean API / apps_get_exec

Retrieve Exec URL for Deployment

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

Retrieve Exec URL for Deployment Returns a websocket URL that allows sending/receiving console input and output to a component of the specified deployment if one exists. Optionally, the instance_name parameter can be provided to… [GET /v2/apps/{app_id}/deployments/{deployment_id}/components/{component_name}/exec]

Name on the gateway: digitalocean_api__apps_get_exec · read-only.

Parameters

NameTypeDescription
app_id requiredstringThe app ID
deployment_id requiredstringThe deployment ID
component_name requiredstringAn optional component name. If set, logs will be limited…
instance_namestringThe name of the actively running ephemeral compute instance

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__apps_get_exec",
  "arguments": {
    "app_id": "…",
    "deployment_id": "…",
    "component_name": "…"
  }
}

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 retrieve exec url for deployment tool with app_id set to ….

More from DigitalOcean API