Home / Servers / DigitalOcean API / vpcnatgateways_create

Create a New VPC NAT Gateway

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

Create a New VPC NAT Gateway To create a new VPC NAT gateway, send a POST request to /v2/vpc_nat_gateways setting the required attributes. The response body will contain a JSON object with a key called vpc_nat_gateway… [POST /v2/vpc_nat_gateways]

Name on the gateway: digitalocean_api__vpcnatgateways_create · may change things.

Parameters

NameTypeDescription
name requiredstringThe human-readable name of the VPC NAT gateway.
type requiredPUBLICThe type of the VPC NAT gateway.
region requirednyc1 | nyc2 | nyc3 | ams2 | ams3 | sfo1 | sfo2 | sfo3 | sgp1 | lon1 | fra1 | tor1 | blr1 | syd1 | atl1The region in which the VPC NAT gateway is created.
size requiredintegerThe size of the VPC NAT gateway.
vpcs requiredarrayAn array of VPCs associated with the VPC NAT gateway.
udp_timeout_secondsintegerThe UDP timeout in seconds for the VPC NAT gateway.
icmp_timeout_secondsintegerThe ICMP timeout in seconds for the VPC NAT gateway.
tcp_timeout_secondsintegerThe TCP timeout in seconds for the VPC NAT gateway.
egressesobjectAn optional object specifying the public egress IP address to assign to the…

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__vpcnatgateways_create",
  "arguments": {
    "name": "…",
    "type": "…",
    "region": "…",
    "size": 0,
    "vpcs": []
  }
}

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 vpc nat gateway tool with name set to ….

More from DigitalOcean API