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
Check the status of the Kubernetes cluster.
Show all pods in a specified namespace. Parameters: namespace (string, default 'default')
Identify any failing pods in a specified namespace. Parameters: namespace (string, default 'default')
Determine which resources are using the most in the cluster.
Provide a complete health check of the cluster.
Identify any nodes not in 'Ready' state.
Show pods in a specified namespace that have been running for more than a specified number of days. Parameters: namespace (string, default 'default'), days (integer, default 7)
Identify any pods in a specified namespace with high restart counts. Parameters: namespace (string, default 'default')
Show the logs for a specified service. Parameters: service_name (string)
List all ingresses in the cluster.
Show all services and their endpoints.
Check if a specified 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.
What storage classes are available in the cluster?
Determine which pods are using persistent storage.
Identify any storage volumes nearing capacity.
List all running jobs in the specified namespace. Parameters: namespace (string, default 'batch')
Show failed jobs from the last 24 hours.
What CronJobs are scheduled to run in the next hour?
Show the execution history of a specified job. Parameters: job_name (string)
List all Helm releases.
Upgrade a specified Helm chart to a given version. Parameters: chart_name (string), version (string)
What values are configured for a specified Helm release? Parameters: release_name (string)
Rollback a failed Helm release. Parameters: release_name (string)
Show the revision history for a specified Helm release. Parameters: release_name (string)
Compare values between different Helm releases. Parameters: release_name_1 (string), release_name_2 (string)
Check for outdated Helm charts in the cluster.
What are the dependencies for a specified Helm chart? Parameters: chart_name (string)