Home / Servers / Linode API / post_lke_cluster_regenerate
Regenerate a Kubernetes cluster
An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.
Regenerate a Kubernetes cluster Regenerate the Kubeconfig file and/or the service account token for a Cluster. This is a helper operation that allows performing both the Delete a Kubeconfig and the Delete a service token… [POST /v4/lke/clusters/{clusterId}/regenerate]
Name on the gateway: linode_api__post_lke_cluster_regenerate · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
clusterId required | integer | ID of the target Kubernetes cluster. |
kubeconfig | boolean | Whether to delete and regenerate the Kubeconfig file for this Cluster. |
servicetoken | boolean | Whether to delete and regenerate the service access token for this Cluster. |
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": "linode_api__post_lke_cluster_regenerate",
"arguments": {
"clusterId": 0
}
}Or connect the Linode API server directly, which lists 439 tools including this one:
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the regenerate a kubernetes cluster tool with clusterId set to ….