Kubernetes AI Management System with an MCP server

Kubernetes AI Management System with an MCP server

k8s-ai•byhariohmprasath

An AI-powered Kubernetes management project whose MCP server exposes Kubernetes tools for natural-language cluster analysis and management through an MCP host.

License: MIT•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Enables natural-language queries about a Kubernetes cluster for diagnostics and resource monitoring.
  • •Provides cluster health and diagnostics capabilities such as pod status, failing pods, and node readiness checks.
  • •Supports storage management queries including persistent volumes, unbound claims, and storage classes.
  • •Supports Helm release management such as listing releases, upgrades, rollbacks, and revision history.

BEST FOR

  • •Engineers who want to diagnose and inspect Kubernetes clusters conversationally via an MCP host like Claude Desktop.
  • •Teams needing quick checks on cluster health, failing pods, and nodes not in Ready state.
  • •Operators managing Helm releases and storage resources through natural-language requests.

ABOUT K8S-AI

Kubernetes AI Management System with an MCP server is cataloged as an MCP server attributed to hariohmprasath. An AI-powered Kubernetes management project whose MCP server exposes Kubernetes tools for natural-language cluster analysis and management through an MCP host. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Kubernetes AI Management System with an MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the MCP server access my Kubernetes cluster?

It uses the kubeconfig file from ~/.kube/config, which must be properly configured.

Which Kubernetes tools does the system use?

It uses the project's tools module, containing Kubernetes tools for cluster analysis and management, used by both the agent and the mcp-server.

How does the system provide diagnostics?

It uses AI to analyze patterns in logs, events, and resource usage to provide intelligent diagnostics and recommendations.

Upstream README

View this exact version on GitHub

README.md · 6942254bf113 · Fetched 2026-11-13 10:05:37 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

🎯 Kubernetes AI Management System

Spring Boot Kubernetes Kotlin License

AI-Powered Kubernetes Management (MCP + Agent)

    ⎈ K8s AI Management
    ├── 🤖 MCP Server
    ├── 🔍 K8s Tools
    └── 🚀 Agent mode with Rest API

✨ Overview

This project combines the power of AI with Kubernetes management. Users can perform real-time diagnostics, resource monitoring, and smart log analysis. It simplifies Kubernetes management through conversational AI, providing a modern alternative.

💡 Just ask questions naturally - no need to memorize commands!

🏗️ Project Structure

The project is organized into the following modules:

  • agent: Agent mode backed by Rest API to analyze the cluster using natural language
  • mcp-server: MCP server backed by tools which can be integrated with MCP host (like Claude desktop) to provide a full experience
  • tools: Kubernetes tools for cluster analysis/management (used by both agent and mcp-server)

🎁 Features

This AI-powered system understands natural language queries about your Kubernetes cluster. Here are some of the capabilities provided by the system which can be queried using natural language:

🏥 Cluster Health and Diagnostics

  • "What's the status of my cluster?"
  • "Show me all pods in the default namespace"
  • "Are there any failing pods? in default namespace"
  • "What's using the most resources in my cluster?"
  • "Give me a complete health check of the cluster"
  • "Are there any nodes not in Ready state?"
  • "Show me pods in default namespace that have been running for more than 7 days"
  • "Identify any pods running in default namespace with high restart counts"

🌐 Network Analysis

  • "Show me the logs for the payment service"
  • "List all ingresses in the cluster"
  • "Show me all services and their endpoints"
  • "Check if my service 'api-gateway' has any endpoints"
  • "Show me all exposed services with external IPs"

💾 Storage Management

  • "List all persistent volumes in the cluster"
  • "Show me storage claims that are unbound"
  • "What storage classes are available in the cluster?"
  • "Which pods are using persistent storage?"
  • "Are there any storage volumes nearing capacity?"

⏱️ Job and CronJob Analysis

  • "List all running jobs in the batch namespace"
  • "Show me failed jobs from the last 24 hours"
  • "What CronJobs are scheduled to run in the next hour?"
  • "Show me the execution history of the 'backup' job"

⎈ Helm Release Management

  • "List all Helm releases"
  • "Upgrade the MongoDB chart to version 12.1.0"
  • "What values are configured for my Prometheus release?"
  • "Rollback the failed Elasticsearch release"
  • "Show me the revision history for my Prometheus release"
  • "Compare values between different Helm releases"
  • "Check for outdated Helm charts in my cluster"
  • "What are the dependencies for my Elasticsearch chart?"

Note: The system uses AI to analyze patterns in logs, events, and resource usage to provide intelligent diagnostics and recommendations.

🛠️ Prerequisites

RequirementVersion
☕ JDK17 or later
🧰 Maven3.8 or later
⎈ Minikube/Any Kubernetes clusterConfigured ~/.kube/config

Note: The system uses the kubeconfig file from ~/.kube/config, so make sure it is properly configured.


🏗️ 1. Project Build

# Build all modules
mvn clean package

# Run the MCP server
java -jar mcp-server/target/mcp-server-1.0-SNAPSHOT.jar

# Alternatively, run the agent directly
java -jar agent/target/agent-*-fat.jar

🛠️ 2. Minikube setup

Install minikube and create a nginx deployment:

# Install minikube
brew install minikube

# Start minikube
minikube start

# Make sure kubeconfig is set
kubectl config use-context minikube

# Deploy nginx
kubectl create deployment nginx --image=nginx:latest

# Check whether nginx is running
kubectl get pods

Note: You should see nginx pod in the output

🛠️ 3. Testing project

🤝 3.1 MCP Server integration with Claude Desktop

Refer to mcp-server/README.md for instructions on how to integrate with Claude Desktop

3.2. Agent Mode with Rest API

Refer to agent/README.md for instructions on how to run the agent


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Kubernetes AI Management System with an MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/k8s-ai)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps