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

NameTypeDescription
idstringA unique ID that can be used to identify and reference a Kubernetes cluster.
name requiredstringA human-readable name for a Kubernetes cluster.
region requiredstringThe slug identifier for the region where the Kubernetes cluster is located.
version requiredstringThe slug identifier for the version of Kubernetes used for the cluster. If set…
cluster_subnetstringThe range of IP addresses for the overlay network of the Kubernetes cluster in…
service_subnetstringThe range of assignable IP addresses for services running in the Kubernetes…
vpc_uuidstringA string specifying the UUID of the VPC to which the Kubernetes cluster is…
worker_subnet_uuidstringThe UUID of the VPC subnet to attach worker nodes to. When omitted on create…
ipv4stringThe public IPv4 address of the Kubernetes master node. This will not be set if…
endpointstringThe base URL of the API server on the Kubernetes master node.
tagsarrayAn array of tags to apply to the Kubernetes cluster. All clusters are…
node_pools requiredarrayAn object specifying the details of the worker nodes available to the…
maintenance_policyobjectAn object specifying the maintenance window policy for the Kubernetes cluster.
auto_upgradebooleanA boolean value indicating whether the cluster will be automatically upgraded…
isolated_workersbooleanA boolean value indicating whether worker nodes in the cluster are not…
gpu_operator_readybooleanA boolean value indicating whether GPU nodes in the cluster are launched with…
statusobjectAn object containing a state attribute whose value is set to a string…
created_atstringA time value given in ISO8601 combined date and time format that represents…
updated_atstringA time value given in ISO8601 combined date and time format that represents…
surge_upgradebooleanA boolean value indicating whether surge upgrade is enabled/disabled for the…
habooleanA boolean value indicating whether the control plane is run in a highly…
registry_enabledbooleanA boolean value indicating whether GPU nodes in the cluster are launched with…
control_plane_firewallobjectAn object specifying the control plane firewall for the Kubernetes cluster.…
cluster_autoscaler_configurationobjectAn object specifying custom cluster autoscaler configuration.
ssoobjectAn object specifying Single Sign-On (SSO) configuration for the Kubernetes…
routing_agentobjectAn object specifying whether the routing-agent component should be enabled for…
p2p_oci_registry_pluginobjectAn object specifying whether the Peer-to-peer OCI registry component should be…
nfs_csi_pluginobjectAn object specifying whether the NFS CSI plugin should be enabled for the…
amd_gpu_device_pluginobjectAn object specifying whether the AMD GPU Device Plugin should be enabled in…
amd_gpu_device_metrics_exporter_pluginobjectAn object specifying whether the AMD Device Metrics Exporter should be enabled…
nvidia_gpu_device_pluginobjectAn object specifying whether the Nvidia GPU Device Plugin should be enabled in…
nvidia_gpu_dra_driverobjectAn object specifying whether the NVIDIA GPU DRA Driver should be enabled in…
amd_gpu_dra_driverobjectAn object specifying whether the AMD GPU DRA Driver should be enabled in the…
rdma_shared_dev_pluginobjectAn object specifying whether the RDMA shared device plugin should be enabled…
coredns_autoscalerobjectAn object specifying whether the Cluster Proportional Autoscaler (CPA) add-on…
insightsobjectAn 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:

call_tool arguments
{
  "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:

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 kubernetes cluster tool with id set to ….

More from DigitalOcean API