Home / Servers / DigitalOcean API / kubernetes_add_node_pool

Add a Node Pool to a Kubernetes Cluster

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

Add a Node Pool to a Kubernetes Cluster To add an additional node pool to a Kubernetes clusters, send a POST request to /v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools with the following attributes. [POST /v2/kubernetes/clusters/{cluster_id}/node_pools]

Name on the gateway: digitalocean_api__kubernetes_add_node_pool · may change things.

Parameters

NameTypeDescription
cluster_id requiredstringA unique ID that can be used to reference a Kubernetes…
size requiredstringThe slug identifier for the type of Droplet used as workers in the node pool.
idstringA unique ID that can be used to identify and reference a specific node pool.
name requiredstringA human-readable name for the node pool.
count requiredintegerThe number of Droplet instances in the node pool.
tagsarrayAn array containing the tags applied to the node pool. All node pools are…
labelsobjectAn object of key/value mappings specifying labels to apply to all nodes in a…
taintsarrayAn array of taints to apply to all nodes in a pool. Taints will automatically…
auto_scalebooleanA boolean value indicating whether auto-scaling is enabled for this node pool.
min_nodesintegerThe minimum number of nodes that this node pool can be auto-scaled to. The…
max_nodesintegerThe maximum number of nodes that this node pool can be auto-scaled to. The…
nodesarrayAn object specifying the details of a specific worker node in a node pool.
gpu_partition_modeAMD_PARTITION_MODE_SPX_NPS1 | AMD_PARTITION_MODE_DPX_NPS2The AMD GPU partition mode for this node pool. Only applicable to AMD GPU…

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_add_node_pool",
  "arguments": {
    "cluster_id": "…",
    "size": "…",
    "name": "…",
    "count": 0
  }
}

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 add a node pool to a kubernetes cluster tool with cluster_id set to ….

More from DigitalOcean API