List all pods in a namespace with their status, ready state, restarts, and age
Get detailed information about a specific pod
Create a new pod with specified configuration
Delete a pod from the cluster
List all deployments in a namespace with their ready state, up-to-date, available, and age
Create a new deployment with specified configuration
Scale a deployment to a specified number of replicas
Delete a deployment from the cluster
List all services in a namespace with their type, cluster-IP, external-IP, ports, and age
Create a new service with specified configuration
Delete a service from the cluster
List all namespaces in the cluster with their status and age
Create a new namespace in the cluster
Delete a namespace and all its resources from the cluster
List all nodes in the cluster with their status, roles, version, and age
Get detailed information about a specific node
Get logs from a pod for debugging
List all ConfigMaps in a namespace
Create a new ConfigMap with specified data
Get the contents of a ConfigMap
Delete a ConfigMap from the cluster
List all Helm releases in a namespace
Install a Helm chart with specified values
Uninstall a Helm release
Upgrade an existing Helm release
Kubernetes Management provides a seamless interface between AI assistants and Kubernetes clusters. It enables users to perform a wide range of Kubernetes operations through natural language, including pod management, deployment configuration, service creation, and Helm chart installation. This tool bridges the gap between complex Kubernetes commands and intuitive conversation, making cluster management more accessible.
Kubernetes Management allows you to interact with and manage your Kubernetes clusters directly through your AI assistant. This powerful integration enables you to perform common Kubernetes operations using natural language instead of remembering complex kubectl commands and syntax.
Before using this tool, ensure you have:
To use the Kubernetes Management MCP with Claude Desktop, add the following configuration to your Claude Desktop config file:
{
"mcpServers": {
"kubernetes": {
"command": "npx",
"args": ["mcp-server-kubernetes"]
}
}
}
The config file is typically located at:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
You can also use this tool with mcp-chat, a CLI chat client for MCP servers:
npx mcp-chat --server "npx mcp-server-kubernetes"
Or by referencing your existing Claude Desktop configuration:
# Mac
npx mcp-chat --config "~/Library/Application Support/Claude/claude_desktop_config.json"
# Windows
npx mcp-chat --config "%APPDATA%\Claude\claude_desktop_config.json"
After installation, you can verify your connection by asking your AI assistant to list your pods or namespaces. If you encounter any errors, try running kubectl get pods
in a terminal to check if you can connect to your cluster without credential issues.
Here are some examples of what you can ask your AI assistant to do with Kubernetes Management:
If you encounter issues:
kubectl config current-context
For more advanced usage and configuration options, refer to the project's GitHub repository.