Home / Servers / DigitalOcean API / vpc_subnet_routes_create
Create a VPC Subnet Route
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create a VPC Subnet Route To add a static route to a VPC subnet, send a POST request to /v2/vpcs/$VPC_UUID/subnets/$SUBNET_UUID/routes. This route is additional to the routes the VPC already propagates to the subnet. The… [POST /v2/vpcs/{vpc_uuid}/subnets/{subnet_uuid}/routes]
Name on the gateway: digitalocean_api__vpc_subnet_routes_create · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
vpc_uuid required | string | The unique identifier of the VPC. |
subnet_uuid required | string | The unique identifier of the VPC subnet. |
destination_cidr required | string | A valid IPv4 CIDR accepted by the VPC routing product. |
target_urns required | array | The URNs of supported next-hop resources. Droplet targets must use a numeric… |
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__vpc_subnet_routes_create",
"arguments": {
"vpc_uuid": "…",
"subnet_uuid": "…",
"destination_cidr": "…",
"target_urns": []
}
}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 vpc subnet route tool with vpc_uuid set to ….