Kubernetes
Summary
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.
Available Actions(30)
Cluster Health Check
Check the overall health status of the Kubernetes cluster.
List Pods
Retrieve and display all pods in the default namespace.
Check Failing Pods
Identify any pods that are failing in the default namespace.
Resource Usage
Determine which resources are consuming the most in the cluster.
Complete Health Check
Provide a comprehensive health check of the entire cluster.
Check Node Status
Identify any nodes in the cluster that are not in a Ready state.
Long-Running Pods
Show pods in the default namespace that have been running for more than 7 days.
High Restart Count Pods
Identify pods in the default namespace that have high restart counts.
View Service Logs
Display logs for a specific service, such as the payment service.
List Ingresses
Retrieve and display all ingresses configured in the cluster.
List Services and Endpoints
Show all services along with their corresponding endpoints.
Check Service Endpoints
Check whether a specific service, like 'api-gateway', has any endpoints.
List Exposed Services
Retrieve all exposed services along with their external IPs.
List Persistent Volumes
Display all persistent volumes available in the cluster.
Show Unbound Storage Claims
List all storage claims that are currently unbound.
Available Storage Classes
Retrieve information about the available storage classes in the cluster.
Pods Using Persistent Storage
Identify which pods are utilizing persistent storage.
Storage Volumes Capacity Check
Check if there are any storage volumes that are nearing capacity.
List Running Jobs
Retrieve and display all jobs that are currently running in the batch namespace.
Show Failed Jobs
Display jobs that have failed in the last 24 hours.
Upcoming CronJobs
List CronJobs that are scheduled to run in the next hour.
Job Execution History
Show the execution history of a specific job, like the 'backup' job.
List Helm Releases
Retrieve and display all Helm releases in the cluster.
Upgrade Helm Chart
Upgrade a specified Helm chart, for example, the MongoDB chart to version 12.1.0.
Helm Release Configuration
Retrieve the configuration values for a specified Helm release, such as Prometheus.
Rollback Helm Release
Rollback a specified Helm release that has failed.
Helm Revision History
Show the revision history for a specified Helm release, like Prometheus.
Compare Helm Values
Compare configuration values between different Helm releases.
Check Outdated Helm Charts
Identify any outdated Helm charts in the cluster.
Helm Chart Dependencies
Retrieve information about the dependencies for a specified Helm chart, such as Elasticsearch.
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation