What is MCP Server Kubernetes?
MCP Server Kubernetes is a Model Context Protocol server that connects to a Kubernetes cluster and allows AI assistants like Claude to manage it. It is designed for developers and operators who want to interact with their cluster via natural language.
How to use MCP Server Kubernetes?
Install and run via npx mcp-server-kubernetes and configure it in Claude Desktop by adding the command to mcpServers. The server automatically uses your current kubectl context. You can also use it with npx mcp-chat or run locally for development. Requires kubectl, a valid kubeconfig, and access to a cluster; Helm v3 is optional.
Key features of MCP Server Kubernetes
- List pods, services, deployments, and nodes
- Create, describe, and delete pods
- Create custom pod and deployment configs, update replicas
- Get logs from pods, deployments, jobs, and label selectors
- Full Helm v3 support: install, uninstall, upgrade releases
- kubectl explain and api-resources support
- Port forward to a pod or service
Use cases of MCP Server Kubernetes
- Manage Kubernetes resources through natural language in Claude Desktop
- Debug running applications by fetching logs and events
- Automate Helm chart installations and upgrades
- Safely explore a cluster with non-destructive read-only access
- Create and manage cronjobs for scheduled tasks
Comments