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
| Name | Type | Description |
|---|---|---|
name required | string | The human-readable name of the VPC NAT gateway. |
type required | PUBLIC | The type of the VPC NAT gateway. |
region required | nyc1 | nyc2 | nyc3 | ams2 | ams3 | sfo1 | sfo2 | sfo3 | sgp1 | lon1 | fra1 | tor1 | blr1 | syd1 | atl1 | The region in which the VPC NAT gateway is created. |
size required | integer | The size of the VPC NAT gateway. |
vpcs required | array | An array of VPCs associated with the VPC NAT gateway. |
udp_timeout_seconds | integer | The UDP timeout in seconds for the VPC NAT gateway. |
icmp_timeout_seconds | integer | The ICMP timeout in seconds for the VPC NAT gateway. |
tcp_timeout_seconds | integer | The TCP timeout in seconds for the VPC NAT gateway. |
egresses | object | An 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:
{
"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:
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 ….