Kubernetes
🏗️ Infrastructure
Manage Kubernetes clusters in natural language: inspect, deploy, scale and troubleshoot through kubectl and Helm. Paste your kubeconfig; destructive tools can be switched off.
Tags
Tools (26)
Client configuration
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": [
"-y",
"mcp-server-kubernetes@4.1.6"
],
"env": {
"KUBECONFIG_YAML": "your-kubeconfig-yaml-here",
"K8S_CONTEXT": "your-k8s-context-here",
"ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "your-allow-only-non-destructive-tools-here"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"kubernetes": {
"command": "npx",
"args": [
"-y",
"mcp-server-kubernetes@4.1.6"
],
"env": {
"KUBECONFIG_YAML": "your-kubeconfig-yaml-here",
"K8S_CONTEXT": "your-k8s-context-here",
"ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS": "your-allow-only-non-destructive-tools-here"
},
"type": "stdio"
}
}
}Replace the placeholders before connecting. Authorize in your client when prompted.
The Cursor JSON also works in Claude Desktop's local MCP configuration. Install the required runtime and local software first.