Home / Servers / DigitalOcean API / kubernetes_create_cluster
Create a New Kubernetes Cluster
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Create a New Kubernetes Cluster To create a new Kubernetes cluster, send a POST request to /v2/kubernetes/clusters. The request must contain at least one node pool with at least one worker. The request may contain a maintenance… [POST /v2/kubernetes/clusters]
Name on the gateway: digitalocean_api__kubernetes_create_cluster · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id | string | A unique ID that can be used to identify and reference a Kubernetes cluster. |
name required | string | A human-readable name for a Kubernetes cluster. |
region required | string | The slug identifier for the region where the Kubernetes cluster is located. |
version required | string | The slug identifier for the version of Kubernetes used for the cluster. If set… |
cluster_subnet | string | The range of IP addresses for the overlay network of the Kubernetes cluster in… |
service_subnet | string | The range of assignable IP addresses for services running in the Kubernetes… |
vpc_uuid | string | A string specifying the UUID of the VPC to which the Kubernetes cluster is… |
worker_subnet_uuid | string | The UUID of the VPC subnet to attach worker nodes to. When omitted on create… |
ipv4 | string | The public IPv4 address of the Kubernetes master node. This will not be set if… |
endpoint | string | The base URL of the API server on the Kubernetes master node. |
tags | array | An array of tags to apply to the Kubernetes cluster. All clusters are… |
node_pools required | array | An object specifying the details of the worker nodes available to the… |
maintenance_policy | object | An object specifying the maintenance window policy for the Kubernetes cluster. |
auto_upgrade | boolean | A boolean value indicating whether the cluster will be automatically upgraded… |
isolated_workers | boolean | A boolean value indicating whether worker nodes in the cluster are not… |
gpu_operator_ready | boolean | A boolean value indicating whether GPU nodes in the cluster are launched with… |
status | object | An object containing a state attribute whose value is set to a string… |
created_at | string | A time value given in ISO8601 combined date and time format that represents… |
updated_at | string | A time value given in ISO8601 combined date and time format that represents… |
surge_upgrade | boolean | A boolean value indicating whether surge upgrade is enabled/disabled for the… |
ha | boolean | A boolean value indicating whether the control plane is run in a highly… |
registry_enabled | boolean | A boolean value indicating whether GPU nodes in the cluster are launched with… |
control_plane_firewall | object | An object specifying the control plane firewall for the Kubernetes cluster.… |
cluster_autoscaler_configuration | object | An object specifying custom cluster autoscaler configuration. |
sso | object | An object specifying Single Sign-On (SSO) configuration for the Kubernetes… |
routing_agent | object | An object specifying whether the routing-agent component should be enabled for… |
p2p_oci_registry_plugin | object | An object specifying whether the Peer-to-peer OCI registry component should be… |
nfs_csi_plugin | object | An object specifying whether the NFS CSI plugin should be enabled for the… |
amd_gpu_device_plugin | object | An object specifying whether the AMD GPU Device Plugin should be enabled in… |
amd_gpu_device_metrics_exporter_plugin | object | An object specifying whether the AMD Device Metrics Exporter should be enabled… |
nvidia_gpu_device_plugin | object | An object specifying whether the Nvidia GPU Device Plugin should be enabled in… |
nvidia_gpu_dra_driver | object | An object specifying whether the NVIDIA GPU DRA Driver should be enabled in… |
amd_gpu_dra_driver | object | An object specifying whether the AMD GPU DRA Driver should be enabled in the… |
rdma_shared_dev_plugin | object | An object specifying whether the RDMA shared device plugin should be enabled… |
coredns_autoscaler | object | An object specifying whether the Cluster Proportional Autoscaler (CPA) add-on… |
insights | object | An object specifying the Insights telemetry that the customer opts in to for… |
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__kubernetes_create_cluster",
"arguments": {
"name": "…",
"region": "…",
"version": "…",
"node_pools": []
}
}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 new kubernetes cluster tool with id set to ….