Home / Servers / DigitalOcean API / kubernetes_delete_node

Delete a Node in a Kubernetes Cluster

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

Delete a Node in a Kubernetes Cluster To delete a single node in a pool, send a DELETE request to /v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID/nodes/$NODE_ID. Appending the skip_drain=1 query parameter to the request… [DELETE /v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}/nodes/{node_id}]

Name on the gateway: digitalocean_api__kubernetes_delete_node · may change things.

Parameters

NameTypeDescription
cluster_id requiredstringA unique ID that can be used to reference a Kubernetes…
node_pool_id requiredstringA unique ID that can be used to reference a Kubernetes…
node_id requiredstringA unique ID that can be used to reference a node in a…
skip_drainintegerSpecifies whether or not to drain workloads from a node before it is deleted.…
replaceintegerSpecifies whether or not to replace a node after it has been deleted. Setting…

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_delete_node",
  "arguments": {
    "cluster_id": "…",
    "node_pool_id": "…",
    "node_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 delete a node in a kubernetes cluster tool with cluster_id set to ….

More from DigitalOcean API