MCP-K8s-Server is a Kotlin-based server that provides AI assistants with direct access to Kubernetes cluster management capabilities. Developed by Hari Ohm Prasath, it exposes a comprehensive set of tools for monitoring and managing Kubernetes resources including pods, deployments, services, storage, networking, and Helm releases. The server connects to Kubernetes clusters using the local kubeconfig file and leverages the official Kubernetes Java client to interact with the API server. Particularly valuable for DevOps engineers and platform administrators who need to diagnose cluster issues, analyze resource utilization, and manage deployments through natural language interactions without switching to kubectl or other management tools.
No reviews yet. Be the first to review!
Sign in to join the conversation
Get the current status of the Kubernetes cluster.
Show all pods in the specified namespace. Parameters: namespace (string)
Check for any failing pods in the specified namespace. Parameters: namespace (string)
Identify what is using the most resources in the cluster.
Perform a complete health check of the cluster.
Check for any nodes not in Ready state.
Show pods in the specified namespace that have been running for more than a specified number of days. Parameters: namespace (string), days (int)
Identify pods in the specified namespace with high restart counts. Parameters: namespace (string)
Show the logs for the payment service.
List all ingresses in the cluster.
Show all services and their endpoints.
Check if a specific service has any endpoints. Parameters: service_name (string)
Show all exposed services with external IPs.
List all persistent volumes in the cluster.
Show storage claims that are unbound.
List available storage classes in the cluster.
Identify which pods are using persistent storage.
Check for any storage volumes nearing capacity.
List all running jobs in the specified namespace. Parameters: namespace (string)
Show failed jobs from the last 24 hours.
List CronJobs scheduled to run in the next hour.
Show the execution history of a specific job. Parameters: job_name (string)
List all Helm releases in the cluster.
Upgrade a specific Helm chart to a specified version. Parameters: chart_name (string), version (string)
Show configured values for the Prometheus Helm release.
Rollback a failed Helm release. Parameters: release_name (string)
Show the revision history for the Prometheus Helm release.
Compare values between different Helm releases.
Check for outdated Helm charts in the cluster.
Show the dependencies for a specific Helm chart. Parameters: chart_name (string)