Skip to main content

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

podsdeploymentsclusters

Tools (26)

get_podsget_namespacesget_servicesget_nodesget_configmapsget_secretsget_deploymentsget_logsget_eventsget_pod_eventscheck_pod_healthget_resource_usagehealth_checkcreate_deploymentdelete_resourcescale_deploymentport_forwardget_api_resourceskubectl_explainswitch_contextget_current_contextget_rbac_rolesget_cluster_rolesinstall_helm_chartupgrade_helm_chartuninstall_helm_chart

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.