Home / Servers / DigitalOcean API / floating_ips_create

Create a New Floating IP

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

Create a New Floating IP On creation, a floating IP must be either assigned to a Droplet or reserved to a region. * To create a new floating IP assigned to a Droplet, send a POST request to /v2/floating_ips with the… [POST /v2/floating_ips]

Name on the gateway: digitalocean_api__floating_ips_create · may change things.

Parameters

NameTypeDescription
droplet_id requiredintegerThe ID of the Droplet that the floating IP will be assigned to.

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__floating_ips_create",
  "arguments": {
    "droplet_id": 0
  }
}

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 create a new floating ip tool with droplet_id set to ….

More from DigitalOcean API