Home / Servers / Hetzner Cloud API / attach_load_balancer_to_network
Attach a Load Balancer to a Network
An MCP tool from the Hetzner Cloud API server, hosted on mcp.hjlabs.in.
Attach a Load Balancer to a Network #### Operation specific errors | Status | Code | Description | | --- | --- | --- | | 422 | load_balancer_already_attached | The Load Balancer is already attached to a network | | 422 |… [POST /load_balancers/{id}/actions/attach_to_network]
Name on the gateway: hetzner_api__attach_load_balancer_to_network · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id required | integer | ID of the Load Balancer. |
network required | integer | ID of an existing network to attach the Load Balancer to. |
ip | string | IP to request to be assigned to this Load Balancer; if you do not provide this… |
ip_range | string | IP range in CIDR block notation of the subnet to attach to. This allows for… |
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": "hetzner_api__attach_load_balancer_to_network",
"arguments": {
"id": 0,
"network": 0
}
}Or connect the Hetzner Cloud API server directly, which lists 178 tools including this one:
claude mcp add --transport http hj-hetzner-api https://mcp.hjlabs.in/mcp/hetzner-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the attach a load balancer to a network tool with id set to ….