Home / Servers / DigitalOcean API / load_balancers_add_droplets

Add Droplets to a Load Balancer

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

Add Droplets to a Load Balancer To assign a Droplet to a load balancer instance, send a POST request to /v2/load_balancers/$LOAD_BALANCER_ID/droplets. In the body of the request, there should be a droplet_ids attribute containing… [POST /v2/load_balancers/{lb_id}/droplets]

Name on the gateway: digitalocean_api__load_balancers_add_droplets · may change things.

Parameters

NameTypeDescription
lb_id requiredstringA unique identifier for a load balancer.
droplet_ids requiredarrayAn array containing the IDs of the Droplets assigned to the load balancer.

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__load_balancers_add_droplets",
  "arguments": {
    "lb_id": "…",
    "droplet_ids": []
  }
}

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 add droplets to a load balancer tool with lb_id set to ….

More from DigitalOcean API