k8s-ai-agent
by selvanayaki678
Overview
An AI agent that allows users to query and manage their Kubernetes cluster using natural language questions.
Installation
python k8s-ai-agent.pyEnvironment Variables
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_REGION
- MCP_SERVER_MODE
Security Notes
The MCP Server deployment configuration (`deployment.yaml`) grants extremely broad ClusterRole permissions, including 'create', 'update', 'patch', 'delete' on core Kubernetes resources (pods, services, deployments, etc.) and 'get', 'list', 'watch' on ALL resources in ALL API groups. This level of access is explicitly noted as 'full read/write access for troubleshooting' but presents a critical security risk if the MCP server is compromised. Furthermore, the MCP server is exposed to the internet via a LoadBalancer service. The internal source code for the MCP server Docker image itself is not provided, preventing a full audit of its implementation and potential vulnerabilities that could exploit these excessive permissions.
Similar Servers
klavis
Develop and deploy AI agents that interact with a wide array of web services (e.g., Gmail, YouTube, LinkedIn, Supabase, Salesforce, Kubernetes) through a standardized Model Context Protocol (MCP), often orchestrated by an intelligent routing layer like Strata.
kubernetes-mcp-server
Facilitates AI agent interaction with Kubernetes and OpenShift clusters by exposing management and observability tools via the Model Context Protocol.
mcp_massive
An AI agent orchestration server, likely interacting with LLMs and managing multi-agent workflows.
AgentUp
A developer-first framework for building, deploying, and managing AI agents, bringing Docker-like consistency and operational ease to AI agent development.