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

NameTypeDescription
type requiredipv4 | ipv6The Floating IP type.
serverintegerServer the Floating IP is assigned to. null if not assigned.
home_locationstringHome Location for the Floating IP. Either the ID or the name of the Location.…
descriptionstringDescription of the Resource.
namestringName of the Resource. Must be unique per Project. A name will be generated if…
labelsobjectUser-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:

call_tool arguments
{
  "name": "hetzner_api__create_floating_ip",
  "arguments": {
    "type": "…"
  }
}

Or connect the Hetzner Cloud API server directly, which lists 178 tools including this one:

Run in your terminal
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 ….

More from Hetzner Cloud API