Home / Servers / DigitalOcean API / vpc_peerings_create

Create a New VPC Peering

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

Create a New VPC Peering To create a new VPC Peering, send a POST request to /v2/vpc_peerings specifying a name and a list of two VPC IDs to peer. The response code, 202 Accepted, does not indicate the success or failure of… [POST /v2/vpc_peerings]

Name on the gateway: digitalocean_api__vpc_peerings_create · may change things.

Parameters

NameTypeDescription
name requiredstringThe name of the VPC peering. Must be unique within the team and may only…
vpc_ids requiredarrayAn array of the two peered VPCs IDs.

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__vpc_peerings_create",
  "arguments": {
    "name": "…",
    "vpc_ids": []
  }
}

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

More from DigitalOcean API