Home / Servers / Hetzner Cloud API / detach_server_from_network
Detach a Server from a Network
An MCP tool from the Hetzner Cloud API server, hosted on mcp.hjlabs.in.
Detach a Server from a Network Detaches a Server from a network. The interface for this network will vanish. [POST /servers/{id}/actions/detach_from_network]
Name on the gateway: hetzner_api__detach_server_from_network · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id required | integer | ID of the Server. |
network required | integer | ID of an existing network to detach the Server from. |
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__detach_server_from_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 detach a server from a network tool with id set to ….