Home / Servers / DigitalOcean API / vpcs_create

Create a New VPC

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

Create a New VPC To create a VPC, send a POST request to /v2/vpcs specifying the attributes in the table below in the JSON body. **Note:** If you do not currently have a VPC network in a specific datacenter region… [POST /v2/vpcs]

Name on the gateway: digitalocean_api__vpcs_create · may change things.

Parameters

NameTypeDescription
name requiredstringThe name of the VPC. Must be unique and may only contain alphanumeric…
descriptionstringA free-form text field for describing the VPC's purpose. It may be a maximum…
region requiredstringThe slug identifier for the region where the VPC will be created.
ip_rangestringThe range of IP addresses in the VPC in CIDR notation. Network ranges cannot…

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__vpcs_create",
  "arguments": {
    "name": "…",
    "region": "…"
  }
}

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

More from DigitalOcean API