Home / Servers / DigitalOcean API / vpcs_list_peerings

List the Peerings of a VPC

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

List the Peerings of a VPC To list all of a VPC's peerings, send a GET request to /v2/vpcs/$VPC_ID/peerings. [GET /v2/vpcs/{vpc_id}/peerings]

Name on the gateway: digitalocean_api__vpcs_list_peerings · read-only.

Parameters

NameTypeDescription
vpc_id requiredstringA unique identifier for a VPC.
per_pageintegerNumber of items returned per page
pageintegerWhich 'page' of paginated results to return.

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_list_peerings",
  "arguments": {
    "vpc_id": "…"
  }
}

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 list the peerings of a vpc tool with vpc_id set to ….

More from DigitalOcean API