Home / Servers / Linode API / post_vpc_subnet

Create a VPC subnet

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

Create a VPC subnet - The User accessing this operation must have read_write grants to the VPC. - A successful request triggers a subnet_create event. Once a VPC Subnet is created, it can be attached to a Linode by… [POST /v4/vpcs/{vpcId}/subnets]

Name on the gateway: linode_api__post_vpc_subnet · may change things.

Parameters

NameTypeDescription
vpcId requiredintegerThe id of the VPC.
ipv4 requiredstringIPv4 range in CIDR canonical form. - The range must belong to a private…
label requiredstring__Filterable__ The VPC Subnet's label, for display purposes only. - Must be…

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_vpc_subnet",
  "arguments": {
    "vpcId": 0,
    "ipv4": "…",
    "label": "…"
  }
}

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 create a vpc subnet tool with vpcId set to ….

More from Linode API