Home / Servers / Hetzner Cloud API / create_floating_ip
Create a Floating IP
An MCP tool from the Hetzner Cloud API server, hosted on mcp.hjlabs.in.
Create a Floating IP Provide the server attribute to assign the Floating IP to that server or provide a home_location to locate the Floating IP at. Note that the Floating IP can be assigned to a Server in any Location… [POST /floating_ips]
Name on the gateway: hetzner_api__create_floating_ip · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
type required | ipv4 | ipv6 | The Floating IP type. |
server | integer | Server the Floating IP is assigned to. null if not assigned. |
home_location | string | Home Location for the Floating IP. Either the ID or the name of the Location.… |
description | string | Description of the Resource. |
name | string | Name of the Resource. Must be unique per Project. A name will be generated if… |
labels | object | User-defined labels (key/value pairs) for the Resource. For more information… |
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__create_floating_ip",
"arguments": {
"type": "…"
}
}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 create a floating ip tool with type set to ….