Use the DigitalOcean API to create, configure, list, and delete VPCs.
VPC Reference
Validated on 7 Apr 2020 • Last edited on 11 Dec 2025
A Virtual Private Cloud (VPC) is a private network interface for collections of DigitalOcean resources. VPC networks are inaccessible from the public internet and other VPC networks, and traffic on them doesn’t count against bandwidth usage. You can link VPC networks to each other using VPC peering connections.
The DigitalOcean API lets you manage resources programmatically with standard HTTP requests. All actions available in the control panel are also available through the API.
doctl is the command-line interface for the DigitalOcean API. It supports most of the same actions available in the API and DigitalOcean Control Panel.
The DigitalOcean Model Context Protocol (MCP) server lets you use natural language prompts to interact with DigitalOcean Networking services to manage resources. All operations use argument-based input, and no resource URIs are used. These tools enable full automation and management of networking resources and configurations.