Home / Servers / Linode API / post_allocate_ip

Allocate an IP address

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

Allocate an IP address Allocates a new IPv4 Address on your Account. The Linode must be configured to support additional addresses - please Open a support ticket requesting additional addresses before attempting… [POST /v4/networking/ips]

Name on the gateway: linode_api__post_allocate_ip · may change things.

Parameters

NameTypeDescription
linode_id requiredintegerThe ID of a Linode you have access to that this address will be allocated to.
public requiredbooleanWhether to create a public or private IPv4 address.
type requiredipv4The type of address you are requesting. Only IPv4 addresses may be allocated…

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": "linode_api__post_allocate_ip",
  "arguments": {
    "linode_id": 0,
    "public": true,
    "type": "…"
  }
}

Or connect the Linode API server directly, which lists 439 tools including this one:

Run in your terminal
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the allocate an ip address tool with linode_id set to ….

More from Linode API